go-ethereum/cmd
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
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen all: replace log15 with slog (#28187) 2023-11-29 08:33:50 +01:00
bootnode cmd/evm, cmd/clef, cmd/bootnode: fix / unify logging (#28696) 2023-12-18 14:11:27 +01:00
clef cmd/clef: add spaces in README.md table (#29077) 2024-02-26 11:03:59 +01:00
devp2p cmd/devp2p: fix commandHasFlag (#29091) 2024-03-04 14:07:41 +01:00
era all: replace fmt.Errorf() with errors.New() if no param required (#29126) 2024-02-29 11:56:46 +02:00
ethkey cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
evm core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
geth miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
p2psim all: replace some cases of strings.SplitN with strings.Cut (#28446) 2023-11-15 14:42:33 +01:00
rlpdump cmd/rlpdump: add -pos flag, displaying byte positions (#28785) 2024-01-14 12:32:48 +01:00
utils miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00