go-ethereum/consensus
Marius van der Wijden d8e0807da2
miner: refactor the miner, make the pending block on demand (#28623)
* miner: untangle miner

* miner: use common.hash instead of *types.header

* cmd/geth: deprecate --mine

* eth: get rid of most miner api

* console: get rid of coinbase in welcome message

* miner/stress: get rid of the miner stress test

* eth: get rid of miner.setEtherbase

* ethstats: remove miner and hashrate flags

* ethstats: remove miner and hashrate flags

* cmd: rename pendingBlockProducer to miner.pending.feeRecipient flag

* miner: use pendingFeeRecipient instead of etherbase

* miner: add mutex to protect the pending block

* miner: add mutex to protect the pending block

* eth: get rid of etherbase mentions

* miner: no need to lock the coinbase

* eth, miner: fix linter

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-03-06 14:45:03 +02:00
..
beacon all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
clique all: remove redundant import aliases (#29144) 2024-03-02 22:42:50 +02:00
ethash all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
misc all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
consensus.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
errors.go consensus/beacon: check that only the latest pow block is valid ttd block (#25187) 2022-06-29 15:13:19 +03:00