Versions in this module Expand all Collapse all v4 v4.2.0 Apr 5, 2023 v4.1.0 Jul 13, 2022 Changes in this version + type Backend interface + BlockChain func() *core.BlockChain + TxPool func() *core.TxPool + type Miner struct + func New(eth Backend, config *params.ChainConfig, mux *core.InterfaceFeed, ...) *Miner + func (self *Miner) Close() + func (self *Miner) Mining() bool + func (self *Miner) Pending() (*types.Block, *state.StateDB) + func (self *Miner) PendingBlock() *types.Block + func (self *Miner) SetEtherbase(addr common.Address) + func (self *Miner) SetExtra(extra []byte) error + func (self *Miner) SetRecommitInterval(interval time.Duration) + func (self *Miner) Start(coinbase common.Address) + func (self *Miner) Stop() Other modules containing this package github.com/gochain/gochain github.com/gochain/gochain/v3