MCPcopy Create free account
hub / github.com/BitcoinUnlimited/BitcoinUnlimited / IsValidDestinationString

Function IsValidDestinationString

src/dstencode.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40bool IsValidDestinationString(const std::string &addr, const CChainParams &params, bool *tokenAwareAddressOut)
41{
42 return IsValidDestination(DecodeDestination(addr, params, tokenAwareAddressOut));
43}
44
45std::string EncodeDestination(const CTxDestination &dst, bool tokenAwareAddress)
46{

Callers 9

BOOST_AUTO_TEST_CASEFunction · 0.85
validateAddressMethod · 0.85
validateMethod · 0.85
ToCurrentEncodingFunction · 0.85
ipcCanParseCashAddrURIFunction · 0.85
ipcCanParseLegacyURIFunction · 0.85
handleURIMethod · 0.85
MakeAddrInvalidFunction · 0.85
dummyAddressTestMethod · 0.85

Calls 3

IsValidDestinationFunction · 0.85
DecodeDestinationFunction · 0.70
ParamsClass · 0.70

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
dummyAddressTestMethod · 0.68