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

Method BuildSkip

src/chain.cpp:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void CBlockIndex::BuildSkip()
109{
110 if (pprev)
111 pskip = pprev->GetAncestor(GetSkipHeight(nHeight));
112}

Callers 5

AddToBlockIndexFunction · 0.80
LoadBlockIndexDBFunction · 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