forked from cerc-io/plugeth
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> |
||
|---|---|---|
| .. | ||
| miner_test.go | ||
| miner.go | ||
| stress_clique.go | ||
| stress_ethash.go | ||
| unconfirmed_test.go | ||
| unconfirmed.go | ||
| worker_test.go | ||
| worker.go | ||