21 bool isStaking =
false;
22 bool isExchange =
false;
28 bool isShielded =
false;
52 if (dest1)
return true;
60 return boost::get<libzcash::SaplingPaymentAddress>(&dest);
65 return boost::get<CTxDestination>(&dest);
82 return (regDest) ? boost::get<CKeyID>(regDest) :
nullptr;
A reference to a CKey: the Hash160 of its serialized public key.
Wrapper class for every supported address.
const CKeyID * getKeyID()
Destination & operator=(const Destination &from)
std::string ToString() const
boost::variant< CTxDestination, libzcash::SaplingPaymentAddress > CWDestination
std::string EncodePaymentAddress(const libzcash::PaymentAddress &zaddr)
Optional< libzcash::SaplingPaymentAddress > DecodeSaplingPaymentAddress(const std::string &strAddress)
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.