Jeff Garzik
7a87bee999
Add long polling support
14 years ago
Jeff Garzik
33e5b54928
miner.h: pad out work_restart to max likely cache line size
14 years ago
Jeff Garzik
2d49a9a5d7
Introduce ability to interrupt hash scanners in the middle of scanning.
14 years ago
Jeff Garzik
0258fae450
Fix Windows build, that broke with yasm integration
14 years ago
Jeff Garzik
4f7a51e9ed
Move all RPC I/O to separate thread.
14 years ago
Jeff Garzik
6b19b15aa9
Fix warnings in sse2_64 implementation.
14 years ago
Mark Crichton
96d2287c72
X86_64 SSE2 support for Linux
14 years ago
Jeff Garzik
1083e15c47
Mark hash success as unlikely, using __builtin_expect() intrinsic
14 years ago
Jeff Garzik
9f3472ad19
Use bswap_32 from byteswap.h, if __builtin_bswap() is not available
14 years ago
Jeff Garzik
c0935a9489
Re-use CURL object, thereby caching DNS and HTTP connections where possible.
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
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
970e74c07d
Move 32-bit swap code into miner.h, for sharing.
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
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
Jeff Garzik
339ddf4d75
Move sha256_generic into its own .o build output. Const-ify midstate param.
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
35ea649d97
Improve hash performance statistics.
14 years ago
Jeff Garzik
c639149977
Add tcatm's 4way SSE2 sha256 implementation.
14 years ago
Jeff Garzik
b7cc9b68ad
Replace argp with getopt_long
14 years ago
Jeff Garzik
945be82ea1
Move utility routines to util.c.
14 years ago