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

Method BuildSkip

src/chain.cpp:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void CBlockIndex::BuildSkip()
115{
116 if (pprev)
117 pskip = pprev->GetAncestor(GetSkipHeight(nHeight));
118}
119
120arith_uint256 GetBitsProof(uint32_t bits)
121{

Callers 8

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
TestBasicMiningMethod · 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.45

Tested by 5

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