Versions in this module Expand all Collapse all v1 v1.1.12 Jun 6, 2022 v1.1.11 Jun 6, 2022 Changes in this version + type ChainContext struct + Coinbase common.Address + func NewChainContext() *ChainContext + func (cc *ChainContext) APIs(_ ethcons.ChainHeaderReader) []ethrpc.API + func (cc *ChainContext) Author(_ *ethtypes.Header) (common.Address, error) + func (cc *ChainContext) CalcDifficulty(_ ethcons.ChainHeaderReader, _ uint64, _ *ethtypes.Header) *big.Int + func (cc *ChainContext) Close() error + func (cc *ChainContext) Engine() ethcons.Engine + func (cc *ChainContext) Finalize(_ ethcons.ChainHeaderReader, _ *ethtypes.Header, _ *ethstate.StateDB, ...) + func (cc *ChainContext) FinalizeAndAssemble(_ ethcons.ChainHeaderReader, _ *ethtypes.Header, _ *ethstate.StateDB, ...) (*ethtypes.Block, error) + func (cc *ChainContext) GetHeader(_ common.Hash, number uint64) *ethtypes.Header + func (cc *ChainContext) Prepare(_ ethcons.ChainHeaderReader, _ *ethtypes.Header) error + func (cc *ChainContext) Seal(_ ethcons.ChainHeaderReader, _ *ethtypes.Block, _ chan<- *ethtypes.Block, ...) error + func (cc *ChainContext) SealHash(header *ethtypes.Header) common.Hash + func (cc *ChainContext) SetHeader(number uint64, header *ethtypes.Header) + func (cc *ChainContext) VerifyHeader(_ ethcons.ChainHeaderReader, _ *ethtypes.Header, _ bool) error + func (cc *ChainContext) VerifyHeaders(_ ethcons.ChainHeaderReader, _ []*ethtypes.Header, _ []bool) (chan<- struct{}, <-chan error) + func (cc *ChainContext) VerifySeal(_ ethcons.ChainHeaderReader, _ *ethtypes.Header) error + func (cc *ChainContext) VerifyUncles(_ ethcons.ChainReader, _ *ethtypes.Block) error