diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-07 00:17:24 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-07 00:17:24 -0800 |
commit | 6b2b1d6368f5164b5354cd5826edd09c4de00cad (patch) | |
tree | 52228a91aa90fc9faba8eda3d5930b4037355455 | |
parent | Merge pull request #6184 (diff) | |
parent | miner: use verification mode for low diff one block nonce searches (diff) | |
download | monero-6b2b1d6368f5164b5354cd5826edd09c4de00cad.tar.xz |
Merge pull request #6048
c2095fc2 miner: use verification mode for low diff one block nonce searches (moneromooo-monero)
-rw-r--r-- | src/cryptonote_basic/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index 688aeaea3..c1e8365ac 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -476,7 +476,7 @@ namespace cryptonote for(; bl.nonce != std::numeric_limits<uint32_t>::max(); bl.nonce++) { crypto::hash h; - gbh(bl, height, tools::get_max_concurrency(), h); + gbh(bl, height, diffic <= 100 ? 0 : tools::get_max_concurrency(), h); if(check_hash(h, diffic)) { |