MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsNull

Method IsNull

src/script/script.h:586–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 CScriptWitness() = default;
585
586 bool IsNull() const { return stack.empty(); }
587
588 void SetNull() { stack.clear(); stack.shrink_to_fit(); }
589

Callers 15

OpenMethod · 0.45
CommitTransactionFunction · 0.45
AddInactiveHDChainMethod · 0.45
MigrateToDescriptorMethod · 0.45
FillPSBTMethod · 0.45
HasWalletDescriptorMethod · 0.45
FundTransactionFunction · 0.45
WriteBestBlockMethod · 0.45
LoadKeyFunction · 0.45
walletdb.cppFile · 0.45

Calls 1

emptyMethod · 0.45

Tested by 15

BOOST_FIXTURE_TEST_CASEFunction · 0.36
CreateSyncedWalletFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BatchWriteMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
SetupSnapshotMethod · 0.36
FUZZ_TARGETFunction · 0.36
TestCoinsViewFunction · 0.36