MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsValidDestinationString

Function IsValidDestinationString

src/key_io.cpp:475–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475bool IsValidDestinationString(const std::string& str, const CChainParams& params)
476{
477 std::string error_msg;
478 return IsValidDestination(DecodeDestination(str, params, false, error_msg, nullptr));
479}
480
481bool IsValidDestinationString(const std::string& str)
482{

Callers 6

transactions.cppFile · 0.85
FUZZ_TARGET_INITFunction · 0.85
validateAddressMethod · 0.85
validateMethod · 0.85
ipcParseCommandLineMethod · 0.85
DummyAddressFunction · 0.85

Calls 3

IsValidDestinationFunction · 0.85
DecodeDestinationFunction · 0.85
ParamsClass · 0.70

Tested by 1

FUZZ_TARGET_INITFunction · 0.68