Versions in this module Expand all Collapse all v0 v0.2.7 Jul 12, 2021 Changes in this version type Config + NotifyFull bool type Miner + func (miner *Miner) DisablePreseal() + func (miner *Miner) EnablePreseal() + func (miner *Miner) Hashrate() uint64 + func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription v0.1.4 Mar 6, 2020 Changes in this version + type Backend interface + BlockChain func() *core.BlockChain + TxPool func() *core.TxPool + type Config struct + 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 (self *Miner) Close() + func (self *Miner) HashRate() uint64 + 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()