Paweł Bylica
8 years ago
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with
1 additions and
1 deletions
-
libethcore/EthashCUDAMiner.cpp
|
@ -196,7 +196,7 @@ void EthashCUDAMiner::workLoop() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
uint64_t upper64OfBoundary = (uint64_t)(u64)((u256)w.boundary >> 192); |
|
|
uint64_t upper64OfBoundary = (uint64_t)(u64)((u256)w.boundary >> 192); |
|
|
uint64_t startN; |
|
|
uint64_t startN = w.startNonce; |
|
|
if (w.exSizeBits >= 0) |
|
|
if (w.exSizeBits >= 0) |
|
|
startN = w.startNonce | ((uint64_t)index() << (64 - 4 - w.exSizeBits)); // this can support up to 16 devices
|
|
|
startN = w.startNonce | ((uint64_t)index() << (64 - 4 - w.exSizeBits)); // this can support up to 16 devices
|
|
|
m_miner->search(w.headerHash.data(), upper64OfBoundary, *m_hook, (w.exSizeBits >= 0), startN); |
|
|
m_miner->search(w.headerHash.data(), upper64OfBoundary, *m_hook, (w.exSizeBits >= 0), startN); |
|
|