5 #ifndef PIVX_ADDRESSBOOK_H
6 #define PIVX_ADDRESSBOOK_H
13 namespace AddressBookPurpose {
14 extern const std::string
UNKNOWN;
15 extern const std::string
RECEIVE;
16 extern const std::string
SEND;
41 typedef std::map<std::string, std::string>
StringMap;
bool isSendColdStakingPurpose() const
std::map< std::string, std::string > StringMap
bool isReceivePurpose() const
bool isSendPurpose() const
bool isShieldedReceivePurpose() const
const std::string EXCHANGE_ADDRESS
const std::string DELEGABLE
const std::string COLD_STAKING_SEND
const std::string DELEGATOR
const std::string SHIELDED_RECEIVE
const std::string SHIELDED_SEND
const std::string RECEIVE
const std::string UNKNOWN
const std::string COLD_STAKING
bool IsShieldedPurpose(const std::string &purpose)
bool IsExchangePurpose(const std::string &purpose)
bool IsColdStakingPurpose(const std::string &purpose)