good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 7cf56d6f authored by Marius van der Wijden's avatar Marius van der Wijden Committed by GitHub
Browse files

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: default avatarFelix Lange <fjl@twurst.com>
parent d7f02b44
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment