Versions in this module Expand all Collapse all v1 v1.2.0 Jun 19, 2022 v1.1.0 Jun 19, 2022 Changes in this version + type Backend interface + BlockChain func() *core.BlockChain + TxPool func() *core.TxPool + type Config struct + Etherbase common.Address + type Miner struct + func New(eth Backend, config *Config, chainConfig *params.ChainConfig, ...) *Miner + func (miner *Miner) GenerateBlock() (*types.Block, error) + func (miner *Miner) SetEtherbase(addr common.Address) + func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription