go-ethereum/miner
Marius van der Wijden ee120ef865
miner: fix data race during shutdown (#23435)
This fixes a data race on worker.current by moving the call to StopPrefetcher
into the main loop.

The commit also contains fixes for two other races in unit tests of unrelated packages.
2021-10-08 20:12:52 +02:00
..
stress cmd, core, eth, miner: deprecate miner.gastarget flag (#23213) 2021-08-10 11:28:33 +03:00
miner.go eth: close miner on exit (instead of just stopping) (#21992) 2021-10-08 18:36:58 +02:00
miner_test.go trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246) 2021-02-02 13:09:23 +01:00
unconfirmed.go all: replace RWMutex with Mutex in places where RLock is not used (#21622) 2020-10-13 10:58:41 +02:00
unconfirmed_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
worker.go miner: fix data race during shutdown (#23435) 2021-10-08 20:12:52 +02:00
worker_test.go consensus/clique: prevent 0 len extradata from panicing (#23538) 2021-09-21 10:46:08 +02:00