Versions in this module Expand all Collapse all v22 v22.4.2 Apr 28, 2022 Changes in this version + type Backend interface + BlockChain func() *core.BlockChain + ChainDb func() ethdb.Database + TxPool func() *core.TxPool + type Config struct + AllowedFutureBlockTime uint64 + Etherbase common.Address + ExtraData hexutil.Bytes + GasCeil uint64 + GasFloor uint64 + GasPrice *big.Int + Notify []string + Noverify bool + Recommit time.Duration + type Miner struct + func New(eth Backend, config *Config, chainConfig *params.ChainConfig, ...) *Miner + func (miner *Miner) Close() + func (miner *Miner) DisablePreseal() + func (miner *Miner) EnablePreseal() + func (miner *Miner) HashRate() uint64 + func (miner *Miner) Mining() bool + func (miner *Miner) PendingBlock() *types.Block + func (miner *Miner) SetEtherbase(addr common.Address) + func (miner *Miner) SetExtra(extra []byte) error + func (miner *Miner) SetRecommitInterval(interval time.Duration) + func (miner *Miner) Start(coinbase common.Address) + func (miner *Miner) Stop() + func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription + func (self *Miner) Pending(psi types.PrivateStateIdentifier) (*types.Block, *state.StateDB, *state.StateDB) Other modules containing this package github.com/baptiste-b-pegasys/quorum