git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
a82b485
)
Forgot to correct interval calculation :(
author
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 2 Oct 2015 08:26:57 +0000 (
01:26
-0700)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 2 Oct 2015 08:26:57 +0000 (
01:26
-0700)
src/kernel.cpp
patch
|
blob
|
history
diff --git
a/src/kernel.cpp
b/src/kernel.cpp
index
55904e1
..
7d8a66a
100644
(file)
--- a/
src/kernel.cpp
+++ b/
src/kernel.cpp
@@
-523,7
+523,7
@@
bool ScanMidstateForward(SHA256_CTX &ctx, uint32_t nBits, uint32_t nInputTxTime,
uint32_t nBegin = SearchInterval.first;
uint32_t nEnd = SearchInterval.second;
- uint32_t nPart = (nEnd - nBegin) / 4;
+ uint32_t nPart = (nEnd - nBegin) / nThreads;
ScanMidstateWorker *workers = new ScanMidstateWorker[nThreads];