Changeset View
Changeset View
Standalone View
Standalone View
src/dstencode.cpp
Show All 23 Lines | CTxDestination DecodeDestination(const std::string &addr, | ||||
} | } | ||||
return DecodeLegacyAddr(addr, params); | return DecodeLegacyAddr(addr, params); | ||||
} | } | ||||
bool IsValidDestinationString(const std::string &addr, | bool IsValidDestinationString(const std::string &addr, | ||||
const CChainParams ¶ms) { | const CChainParams ¶ms) { | ||||
return IsValidDestination(DecodeDestination(addr, params)); | return IsValidDestination(DecodeDestination(addr, params)); | ||||
} | } | ||||
std::string EncodeDestination(const CTxDestination &dst) { | |||||
return EncodeDestination(dst, GetConfig()); | |||||
} |