Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2024 v0.0.1 Jun 25, 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() (*types.Block, error) + func (miner *Miner) SetEtherbase(addr common.Address) + func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription