go-ethereum/console
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
..
prompt all: use strings.EqualFold for string comparison (#24890) 2022-05-17 13:56:52 +02:00
testdata cmd/geth: drop geth js command (#25000) 2022-06-21 12:16:05 +03:00
bridge_test.go console: handle undefined + null in console funcs (#21160) 2020-06-02 18:06:22 +02:00
bridge.go accounts,cmd,console,les,metrics: refactor some errors checked by (ST1005) go-staticcheck (#28532) 2023-11-15 14:36:57 +02:00
console_test.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
console.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00