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

Method BuildSkip

src/main.cpp:2054–2057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2052}
2053
2054void CBlockIndex::BuildSkip() {
2055 if (pprev)
2056 pskip = pprev->GetAncestor(GetSkipHeight(height));
2057}
2058
2059void PushGetBlocks(CNode *pNode, CBlockIndex *pIndexBegin, uint256 hashEnd) {
2060 // Ask this guy to fill in what we're missing

Callers 2

AddToBlockIndexFunction · 0.80
LoadBlockIndexDBFunction · 0.80

Calls 2

GetSkipHeightFunction · 0.85
GetAncestorMethod · 0.80

Tested by

no test coverage detected