miner.h


Log

Author Commit Date CI Message
Jeff Garzik 1083e15c 2011-02-17T01:22:55 Mark hash success as unlikely, using __builtin_expect() intrinsic
Jeff Garzik 9f3472ad 2011-02-10T00:52:22 Use bswap_32 from byteswap.h, if __builtin_bswap() is not available
Jeff Garzik c0935a94 2011-02-10T00:41:44 Re-use CURL object, thereby caching DNS and HTTP connections where possible.
Jeff Garzik 714c0fd7 2011-02-03T00:46:55 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.
Jeff Garzik c68ffb30 2011-02-02T18:47:04 Display proof-of-work hash when one is discovered
Jeff Garzik 0b677407 2011-01-29T00:56:24 Pass max-nonce as arg to each sha256 algo. Should be an equivalent transformation, with no behavior changes.
Jeff Garzik a2967993 2011-01-29T00:41:27 Replace ___constant_swab32() with gcc's __builtin_bswap32 http://www.bitcoin.org/smf/index.php?topic=1925.msg34827#msg34827 Credit: lfm
Jeff Garzik 970e74c0 2010-12-26T23:37:58 Move 32-bit swap code into miner.h, for sharing.
Jeff Garzik d88648dd 2010-12-23T20:21:00 sha256_via: ensure that found nonce is copied back into output data buffer Also, some minor cleanups, removing unused args.
Jeff Garzik f1fcd76b 2010-12-06T20:14:58 sha256_cryptopp: Add crypto++ 32-bit assembly implementation
Jeff Garzik 74bb1962 2010-11-28T20:16:22 Add Crypto++ sha256 implementation (C only, ASM elided for now)
Jeff Garzik 339ddf4d 2010-11-27T04:31:32 Move sha256_generic into its own .o build output. Const-ify midstate param.
Jeff Garzik 4da2e4fb 2010-11-27T01:59:03 miner.h: include sys/time.h for struct timeval definition
Jeff Garzik e2eeaaf7 2010-11-27T01:29:56 Add experimental (read: probably broken) VIA padlock support.
Jeff Garzik 86eb37d6 2010-11-27T00:46:59 Improve and modularize compile-time CPU detection. Ideally, we should move this to autoconf.
Jeff Garzik 35ea649d 2010-11-26T23:12:24 Improve hash performance statistics.
Jeff Garzik c6391499 2010-11-26T19:04:48 Add tcatm's 4way SSE2 sha256 implementation.
Jeff Garzik b7cc9b68 2010-11-26T15:46:11 Replace argp with getopt_long
Jeff Garzik 945be82e 2010-11-25T04:03:59 Move utility routines to util.c.