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
453101d9e9
Remove "PROOF OF WORK FOUND?" debug output; redundant.
14 years ago
Jeff Garzik
a816470950
Release version 0.6.
14 years ago
Jeff Garzik
f889476bbd
Dynamically adjust time spent hashing current work unit, to meet target
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
f570ffcf75
Code movement: move second hash time sampling to main miner loop
14 years ago
Jeff Garzik
a296799358
Replace ___constant_swab32() with gcc's __builtin_bswap32
...
http://www.bitcoin.org/smf/index.php?topic=1925.msg34827#msg34827
Credit: lfm
14 years ago
Jeff Garzik
8504cf4803
sha256_4way minor optimizations
...
http://www.bitcoin.org/smf/index.php?topic=820.msg40022#msg40022
Credit: BeeCee1
14 years ago
Jeff Garzik
e41171424a
Fix non-working short options -q and -r N, by listing them in optstring.
14 years ago
Jeff Garzik
fd19172c50
README: mention CFLAGS on *nix builds
14 years ago
Jeff Garzik
fc4ed179e8
Release version 0.5.
14 years ago
Jeff Garzik
16006f9037
Rather than sleep-loop, main thread waits for all threads to exit.
14 years ago
Jeff Garzik
2f9a6deef9
Improve CURL HTTP request error diagnostics.
14 years ago
Jeff Garzik
9e5a173c38
Improve JSON-RPC result/error checking, and improve error diagnostic output.
14 years ago
Jeff Garzik
872211caad
Add --quiet option, to disable hashmeter output.
14 years ago
Jeff Garzik
724fe3742c
Release version 0.3.3.
14 years ago
Jeff Garzik
21e56a25c4
sha256_cryptopp asm: byteswap input words
14 years ago
Jeff Garzik
970e74c07d
Move 32-bit swap code into miner.h, for sharing.
14 years ago
Jeff Garzik
ae4cc6fc39
Release version 0.3.2.
14 years ago
Jeff Garzik
d88648dd39
sha256_via: ensure that found nonce is copied back into output data buffer
...
Also, some minor cleanups, removing unused args.
14 years ago
Jeff Garzik
309d1bdc16
Release version 0.3.1.
14 years ago
Jeff Garzik
d363a1d68d
sha256_via: ensure proper data area is fully checksummed
14 years ago
Jeff Garzik
ee592d0a60
Handle temporary JSON failures (due to server reboot, etc.)
14 years ago
Jeff Garzik
4c8d703551
README: update win32 build insns
14 years ago
Jeff Garzik
857ba8f6cc
Release version 0.3.
14 years ago
Jeff Garzik
0ee24c00ce
sha256_4way: work around gcc 4.5.x bug by always inlining ROTR and SHR
14 years ago
Jeff Garzik
ce1c9a8aca
Display version on minerd --help usage output.
14 years ago
Jeff Garzik
f1fcd76ba7
sha256_cryptopp: Add crypto++ 32-bit assembly implementation
14 years ago
Jeff Garzik
1a1a018627
Release version 0.2.2.
...
Remove 'experimental' marker from VIA padlock implementation.
14 years ago
Jeff Garzik
8ca6ffa8a9
sha256_4way: do not include unnecessary headers, when !4way
...
Reported by lfm
14 years ago
Jeff Garzik
6b5fb469cc
sha256_via: align tmp_hash1 to 128, to avoid stack clobber
...
Reported by lfm
14 years ago
Jeff Garzik
276dcdbcec
Avoid null deref in command line arg processing.
...
Reported by lfm.
14 years ago
Jeff Garzik
18d3ab876c
Release version 0.2.1.
14 years ago
Jeff Garzik
145e5fe141
submit_work: increase string buffer, to avoid overflow
14 years ago
Jeff Garzik
74bb196296
Add Crypto++ sha256 implementation (C only, ASM elided for now)
14 years ago
Jeff Garzik
339ddf4d75
Move sha256_generic into its own .o build output. Const-ify midstate param.
14 years ago
Jeff Garzik
ad3fda8aba
Release version 0.2.
14 years ago
Jeff Garzik
4c47553c85
Clean up multi-algorithm selection and display
14 years ago
Jeff Garzik
6288d943ab
sha256_4way: patch proper nonce into data block
14 years ago
Jeff Garzik
eeea340b17
sha256_via: add further comments on byte-swapping work
14 years ago
Jeff Garzik
4da2e4fbe2
miner.h: include sys/time.h for struct timeval definition
14 years ago
Jeff Garzik
e2eeaaf75b
Add experimental (read: probably broken) VIA padlock support.
14 years ago
Jeff Garzik
86eb37d631
Improve and modularize compile-time CPU detection.
...
Ideally, we should move this to autoconf.
14 years ago
Jeff Garzik
500759cea1
s/__SSE__/__SSE2__/
14 years ago
Jeff Garzik
a7518360ad
Windows build tweaks.
14 years ago
Jeff Garzik
2f2bf745c4
Note that 4way is experimental
14 years ago
Jeff Garzik
eed9b3c7df
sha256_4way: perform 16m hashes, not 64k, per invocation
14 years ago
Jeff Garzik
35ea649d97
Improve hash performance statistics.
14 years ago
Jeff Garzik
a50201eb21
Improve --help output. Mention --help in README.
14 years ago