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

Method BuildSkip

src/chain.cpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void CBlockIndex::BuildSkip()
116{
117 if (pprev)
118 pskip = pprev->GetAncestor(GetSkipHeight(nHeight));
119}
120
121arith_uint256 GetBlockProof(const CBlockIndex& block)
122{

Callers 5

AddToBlockIndexMethod · 0.80
LoadBlockIndexMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
VersionBitsTesterClass · 0.80

Calls 2

GetSkipHeightFunction · 0.85
GetAncestorMethod · 0.80

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64