wallet::WalletBatch::WritePurpose

Writes the purpose string for an address.

Synopsis

Declared in <wallet/walletdb.h>

bool
WritePurpose(
    std::string const& strAddress,
    std::string const& purpose);

Return Value

true if the record was written.

Parameters

NameDescription
strAddressThe address the purpose applies to.
purposeThe purpose to store.