go-ethereum/eth
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
..
catalyst all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
downloader Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
ethconfig eth/gasprice: feeHistory improvements (#23422) 2021-08-23 23:50:24 +02:00
fetcher eth/fetcher, trie: unit test reliability fixes (#23020) 2021-06-30 22:24:17 +02:00
filters eth/filters: fix TestPendingLogsSubscription (#23619) 2021-10-04 14:09:51 +02:00
gasprice miner: fix data race during shutdown (#23435) 2021-10-08 20:12:52 +02:00
protocols eth/protocols/eth: replace array with counter in txn broadcaster (#23656) 2021-10-04 16:10:51 +02:00
tracers eth/tracers: fix callTracer fault handling (#23667) 2021-10-01 13:03:24 +02:00
api.go internal/ethapi: use correct signer when serving old blocks (#23683) 2021-10-07 15:51:14 +02:00
api_backend.go core/rawdb: avoid unnecessary receipt processing for log filtering (#23147) 2021-09-28 12:54:49 +02:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
backend.go eth: close miner on exit (instead of just stopping) (#21992) 2021-10-08 18:36:58 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
handler_eth.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_eth_test.go miner: fix data race during shutdown (#23435) 2021-10-08 20:12:52 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
peer.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
peerset.go eth: don't wait for snap registration if we're not running snap (#22272) 2021-02-05 14:15:22 +01:00
state_accessor.go eth/tracers: avoid unsyncronized mutations on trie database (#23632) 2021-09-28 13:06:19 +02:00
sync.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00
sync_test.go Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)" (#23456) 2021-08-24 21:52:58 +03:00