[#wallet-CWallet-ListAddrBookFunc]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::ListAddrBookFunc
:relfileprefix: ../../
:mrdocs:

Walk&hyphen;through the address book entries&period; Stops when the provided &apos;ListAddrBookFunc&apos; returns false&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using ListAddrBookFunc = std::function&lt;void(xref:CTxDestination.adoc[CTxDestination] const&, std::string const&, bool, std::optional&lt;AddressPurpose&gt; const)&gt;;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
