MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / FetchLightHeaders

Function FetchLightHeaders

stateproof/stateproofMessageGenerator.go:123–135  ·  view source on GitHub ↗

FetchLightHeaders returns the headers of the blocks in the interval

(l BlockHeaderFetcher, stateProofInterval uint64, latestRound basics.Round)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestGetBlockProof200Function · 0.92
TestGenerateBlockProofFunction · 0.85
createHeaderCommitmentFunction · 0.85

Calls 3

RoundTypeAlias · 0.92
ToLightBlockHeaderMethod · 0.80
BlockHdrMethod · 0.65

Tested by 3

TestGetBlockProof200Function · 0.74
TestGenerateBlockProofFunction · 0.68