MCPcopy Create free account
hub / github.com/cruzbit/cruzbit / getChainTipHeader

Function getChainTipHeader

processor.go:975–991  ·  view source on GitHub ↗

Convenience method to get the current main chain's tip ID, header, and storage time.

(ledger Ledger, blockStore BlockStorage)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

IsInitialBlockDownloadFunction · 0.85
runMethod · 0.85
onGetTipHeaderMethod · 0.85
onGetWorkMethod · 0.85
runMethod · 0.85
acceptBlockContinueMethod · 0.85

Calls 2

GetChainTipMethod · 0.65
GetBlockHeaderMethod · 0.65

Tested by

no test coverage detected