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

Function IsValidDestination

src/script/standard.cpp:366–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366bool IsValidDestination(const CTxDestination& dest) {
367 return dest.index() != 0;
368}
369
370/*static*/ TaprootBuilder::NodeInfo TaprootBuilder::Combine(NodeInfo&& a, NodeInfo&& b)
371{

Callers 15

MutateTxAddOutAddrFunction · 0.85
IsValidDestinationStringFunction · 0.85
ImportScriptPubKeysMethod · 0.85
setlabelFunction · 0.85
getaddressinfoFunction · 0.85
walletdisplayaddressFunction · 0.85
importaddressFunction · 0.85
dumpprivkeyFunction · 0.85
ProcessImportLegacyFunction · 0.85
importblindingkeyFunction · 0.85
dumpblindingkeyFunction · 0.85
coins.cppFile · 0.85

Calls 1

indexMethod · 0.45

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68
generatetoaddressFunction · 0.68