Set the address book label and purpose for a destination.
Declared in <wallet/wallet.h>
bool
SetAddressBook(
CTxDestination const& address,
std::string const& strName,
std::optional<AddressPurpose> const& purpose);
true if the entry was written.
| Name | Description |
|---|---|
| address | The destination to update. |
| strName | The label to assign. |
| purpose | Optional purpose to record for the address. |