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

Method SetNull

src/primitives/block.h:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 void SetNull()
101 {
102 CBlockHeader::SetNull();
103 vtx.clear();
104 fChecked = false;
105 m_checked_witness_commitment = false;
106 m_checked_merkle_root = false;
107 }
108
109 std::string ToString() const;
110};

Callers 15

BuildTxsFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
SignatureHashOldFunction · 0.45
CreateCreditAndSpendFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
TestBasicMiningMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BlockMethod · 0.45
block.cppFile · 0.45
FUZZ_TARGETFunction · 0.45
script.cppFile · 0.45

Calls 1

clearMethod · 0.45

Tested by 14

BuildTxsFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
SignatureHashOldFunction · 0.36
CreateCreditAndSpendFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
TestBasicMiningMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BlockMethod · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36