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

Method BuildSkip

src/chain.cpp:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void CBlockIndex::BuildSkip()
146{
147 if (pprev)
148 pskip = pprev->GetAncestor(GetSkipHeight(nHeight));
149}
150
151arith_uint256 GetBlockProof(const CBlockIndex& block)
152{

Callers 7

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
VersionBitsTesterClass · 0.80
FUZZ_TARGETFunction · 0.80
mine_blockMethod · 0.80
AddToBlockIndexMethod · 0.80
LoadBlockIndexMethod · 0.80

Calls 2

GetSkipHeightFunction · 0.85
GetAncestorMethod · 0.80

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64
mine_blockMethod · 0.64