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

Method GetCurrentHeaderHash

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

Source from the content-addressed store, hash-verified

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

Callers 4

checkTimeoutMethod · 0.65
syncHeaderMethod · 0.65
TestHeadersReqHandleFunction · 0.65
GetCurrentHeaderHashMethod · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by 1

TestHeadersReqHandleFunction · 0.52