Con Kolivas
1480ade278
Cryptopp asm32 was not correctly updated to the incremental nonce code so the hash counter was bogus.
13 years ago
Con Kolivas
0c49935250
Fix CPU mining with other algorithms not working.
14 years ago
Con Kolivas
9950aa3927
Fix 32 bit builds.
14 years ago
Con Kolivas
5007805d1f
Update CPU reentrant scan code to work properly for extended periods up to scantime and adjust rate properly.
...
Simplify locking in hashmeter since it's called relatively infrequently anyway.
Set gpuminer hashmeter interval update to log interval / 5 as well.
14 years ago
Ycros
9fe2106467
Fixed up using config.h instead of cpuminer-config.h.
14 years ago
Jeff Garzik
2fd9d54443
Convert remaining [f]print to applog().
...
Also, remove a few superfluous printouts.
14 years ago
Jeff Garzik
23e9cf91f0
Ensure cpuminer-config.h is universally included, in *.c and *.h alike.
...
In miner.h, this fixes an alloca-definition-related warning.
For the other files, this is simply future-proofing/precaution.
14 years ago
Jeff Garzik
2d49a9a5d7
Introduce ability to interrupt hash scanners in the middle of scanning.
14 years ago
Jeff Garzik
cdb4cd9c8b
sha256_*.c: trim trailing whitespace
14 years ago
Jeff Garzik
1083e15c47
Mark hash success as unlikely, using __builtin_expect() intrinsic
14 years ago
Jeff Garzik
98de751416
sha*.c: remove debug statement, which is redundant to hashmeter output
14 years ago
Jeff Garzik
714c0fd7c9
Continue scanhash, even if high 32 bits are zero.
...
Previously, we would stop the scan if the high 32 bits of the hash were zero,
as a quick shortcut for testing the full hash. If this quick test succeeded,
we would pass the work to the server for full validation.
Change this logic to perform full validation inside minerd, so that work may
be resumed more quickly if hash > target.
14 years ago
Jeff Garzik
c68ffb30dd
Display proof-of-work hash when one is discovered
14 years ago
Jeff Garzik
0b67740707
Pass max-nonce as arg to each sha256 algo.
...
Should be an equivalent transformation, with no behavior changes.
14 years ago
Jeff Garzik
21e56a25c4
sha256_cryptopp asm: byteswap input words
14 years ago
Jeff Garzik
f1fcd76ba7
sha256_cryptopp: Add crypto++ 32-bit assembly implementation
14 years ago
Jeff Garzik
74bb196296
Add Crypto++ sha256 implementation (C only, ASM elided for now)
14 years ago