MCPcopy Create free account
hub / github.com/CPChain/chain / GetHeader

Method GetHeader

core/evm.go:35–35  ·  view source on GitHub ↗

GetHeader returns the hash corresponding to their hash.

(common.Hash, uint64)

Source from the content-addressed store, hash-verified

33
34 // GetHeader returns the hash corresponding to their hash.
35 GetHeader(common.Hash, uint64) *types.Header
36}
37
38// NewEVMContext creates a new context for use in the EVM.

Callers 3

GetHashFnFunction · 0.65
GetHeaderMethod · 0.65
handleSyncMsgMethod · 0.65

Implementers 2

HeaderChaincore/headerchain.go
BlockChaincore/blockchain.go

Calls

no outgoing calls

Tested by

no test coverage detected