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

Method GetRawHeaderByHash

core/store/store.go:57–57  ·  view source on GitHub ↗
(blockHash common.Uint256)

Source from the content-addressed store, hash-verified

55 GetBlockHash(height uint32) common.Uint256
56 GetHeaderByHash(blockHash common.Uint256) (*types.Header, error)
57 GetRawHeaderByHash(blockHash common.Uint256) (*types.RawHeader, error)
58 GetHeaderByHeight(height uint32) (*types.Header, error)
59 GetBlockByHash(blockHash common.Uint256) (*types.Block, error)
60 GetBlockByHeight(height uint32) (*types.Block, error)

Callers 2

GetHeadersFromHashFunction · 0.65
GetRawHeaderByHashMethod · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by

no test coverage detected