go-ethereum/miner
meows 6d365c2851
miner: fix waitForMiningState precision
This helper function would return an affirmation
on the first positive match on a desired bool.

This was imprecise; it return false positives
by not waiting initially for an 'updated' value.

This fix causes TestMiner_2 to fail, which is
expected.

Signed-off-by: meows <b5c6@protonmail.com>
2020-10-05 08:44:00 -05:00
..
miner.go Revert "miner: exit loop when downloader Done or Failed" 2020-10-05 08:36:05 -05:00
miner_test.go miner: fix waitForMiningState precision 2020-10-05 08:44:00 -05:00
stress_clique.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
stress_ethash.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
unconfirmed.go all: fix various comment typos (#17748) 2018-09-25 12:26:35 +02:00
unconfirmed_test.go miner: differentiate between uncle and lost block 2018-08-23 15:44:27 +03:00
worker.go miner: use channels instead of atomics in update loop (#21536) 2020-09-10 19:27:42 +02:00
worker_test.go eth/downloader: fix spuriously failing tests (#21149) 2020-06-09 11:39:19 +02:00