wallet::CWallet::FindAddressBookEntry

Look up an address book entry for a destination.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f2e1e597708), requires_capability(0x7f2e11aa84c8), requires_capability(0x7f2e169fe2b8), requires_capability(0x7f2e15f2d758), requires_capability(0x7f2e12c6c3e8)]]
CAddressBookData const*
FindAddressBookEntry(
    CTxDestination const& dest,
    bool allow_change = false) const;

Return Value

The entry, or nullptr if none matches.

Parameters

NameDescription
destThe destination to look up.
allow_changeWhether to also return change (unlabeled) entries.