MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetCurrentHeaderHeight

Method GetCurrentHeaderHeight

core/store/store.go:53–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 GetCurrentBlockHash() common.Uint256
52 GetCurrentBlockHeight() uint32
53 GetCurrentHeaderHeight() uint32
54 GetCurrentHeaderHash() common.Uint256
55 GetBlockHash(height uint32) common.Uint256
56 GetHeaderByHash(blockHash common.Uint256) (*types.Header, error)

Callers 8

WaitForSyncBlkFinishMethod · 0.65
checkTimeoutMethod · 0.65
syncHeaderMethod · 0.65
syncBlockMethod · 0.65
OnHeaderReceiveMethod · 0.65
OnBlockReceiveMethod · 0.65
GetHeadersFromHashFunction · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by

no test coverage detected