diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2019-06-21 13:27:00 -0400 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2019-06-23 20:51:02 -0400 |
commit | 3b9bf0eb0e0d69f112ce905078018d8351c73e26 (patch) | |
tree | 5c2511317309107e9851edde11690aeaf37802f2 /src/test/key_tests.cpp | |
parent | 32e94538185b61fe64bd16de2459e763ec46b4da (diff) |
rpc: Allow shutdown while in generateblocks
By checking the shutdown flag every loop we can use the entire nonce space
instead of breaking every 16 bits to check the shutdown flag.
This has been possible since the shutdown flag was switched to an atomic,
before that change it was controlled by a condition variable and lock.
Diffstat (limited to 'src/test/key_tests.cpp')
0 files changed, 0 insertions, 0 deletions