wallet::WalletBatch::WriteName

Writes the address book label for an address.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteName(
    std::string const& strAddress,
    std::string const& strName);

Return Value

true if the record was written.

Parameters

NameDescription
strAddressThe address the label applies to.
strNameThe label to store.