Versions in this module Expand all Collapse all v0 v0.5.6 Jul 16, 2024 v0.0.1 Jun 28, 2024 Changes in this version + type Backend interface + BlockChain func() *core.BlockChain + TxPool func() *txpool.TxPool + type Config struct + Etherbase common.Address + type Miner struct + func New(eth Backend, config *Config, chainConfig *params.ChainConfig, ...) *Miner + func (miner *Miner) GenerateBlock(predicateContext *precompileconfig.PredicateContext) (*types.Block, error) + func (miner *Miner) SetEtherbase(addr common.Address) + func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription