erigon-pulse/miner
Marius van der Wijden ca6b1bcea5 miner: use channels instead of atomics in update loop (#21536)
This PR changes several different things:

- Adds test cases for the miner loop
- Stops the worker if it wasn't already stopped in worker.Close()
- Uses channels instead of atomics in the miner.update() loop

Co-authored-by: Felix Lange <fjl@twurst.com>
# Conflicts:
#	miner/miner.go
2020-10-06 14:12:09 +02:00
..
stresstest Remove fdlimit - ramping up open file handles limit (#1011) 2020-08-30 09:01:39 +01:00
environment.go Mining data races (#361) 2020-02-10 21:28:30 +07:00
miner_test.go miner: use channels instead of atomics in update loop (#21536) 2020-10-06 14:12:09 +02:00
miner.go miner: use channels instead of atomics in update loop (#21536) 2020-10-06 14:12:09 +02:00
uncles.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
worker_test.go geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
worker.go miner: use channels instead of atomics in update loop (#21536) 2020-10-06 14:12:09 +02:00