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

Method Engine

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

Engine retrieves the chain's consensus engine.

()

Source from the content-addressed store, hash-verified

30type ChainContext interface {
31 // Engine retrieves the chain's consensus engine.
32 Engine() consensus.Engine
33
34 // GetHeader returns the hash corresponding to their hash.
35 GetHeader(common.Hash, uint64) *types.Header

Callers 3

NewEVMContextFunction · 0.65
ProcessMethod · 0.65
DporPeersMethod · 0.65

Implementers 2

HeaderChaincore/headerchain.go
BlockChaincore/blockchain.go

Calls

no outgoing calls

Tested by

no test coverage detected