Versions in this module Expand all Collapse all v0 v0.0.1 Oct 11, 2024 Changes in this version + var DefaultConfig = Config + type Backend interface + BlockChain func() *core.BlockChain + TxPool func() *txpool.TxPool + type BuildPayloadArgs struct + BeaconRoot *common.Hash + FeeRecipient common.Address + Parent common.Hash + Random common.Hash + Timestamp uint64 + Version engine.PayloadVersion + Withdrawals types.Withdrawals + func (args *BuildPayloadArgs) Id() engine.PayloadID + type Config struct + Etherbase common.Address + ExtraData hexutil.Bytes + GasCeil uint64 + GasPrice *big.Int + PendingFeeRecipient common.Address + Recommit time.Duration + type Miner struct + func New(eth Backend, config Config, engine consensus.Engine) *Miner + func (miner *Miner) BuildPayload(args *BuildPayloadArgs, witness bool) (*Payload, error) + func (miner *Miner) Pending() (*types.Block, types.Receipts, *state.StateDB) + func (miner *Miner) SetExtra(extra []byte) error + func (miner *Miner) SetGasCeil(ceil uint64) + func (miner *Miner) SetGasTip(tip *big.Int) error + type Payload struct + func (payload *Payload) Resolve() *engine.ExecutionPayloadEnvelope + func (payload *Payload) ResolveEmpty() *engine.ExecutionPayloadEnvelope + func (payload *Payload) ResolveFull() *engine.ExecutionPayloadEnvelope