5 #ifndef PIVX_DESTINATION_IO_H
6 #define PIVX_DESTINATION_IO_H
12 typedef boost::variant<CTxDestination, libzcash::SaplingPaymentAddress>
CWDestination;
A reference to a CKey: the Hash160 of its serialized public key.
Wrapper class for every supported address.
Destination(const libzcash::SaplingPaymentAddress &_dest)
const CKeyID * getKeyID()
Destination(const CTxDestination &_dest, bool _isP2CS)
Destination & operator=(const Destination &from)
Destination(const CTxDestination &_dest, bool _isP2CS, bool _isEXCHANGE=false)
std::string ToString() const
boost::variant< CTxDestination, libzcash::SaplingPaymentAddress > CWDestination
const CTxDestination * GetTransparentDestination(const CWDestination &dest)
bool IsValidDestination(const CWDestination &address)
std::string EncodeDestination(const CWDestination &address, const CChainParams::Base58Type addrType)
CWDestination DecodeDestination(const std::string &strAddress)
const libzcash::SaplingPaymentAddress * GetShieldedDestination(const CWDestination &dest)
boost::variant< CNoDestination, CKeyID, CScriptID, CExchangeKeyID > CTxDestination
A txout script template with a specific destination.