wallet::PurposeToString

Convert an address purpose to its serialized string form.

Synopsis

Declared in <wallet/wallet.h>

std::string
PurposeToString(AddressPurpose p);

Return Value

The string name of the purpose.

Parameters

NameDescription
pThe address purpose to convert.