sha256_generic.c


Log

Author Commit Date CI Message
Jeff Garzik 23e9cf91 2011-03-20T22:44:25 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.
Jeff Garzik 2d49a9a5 2011-03-17T22:02:28 Introduce ability to interrupt hash scanners in the middle of scanning.
Jeff Garzik cdb4cd9c 2011-03-14T21:48:15 sha256_*.c: trim trailing whitespace
Jeff Garzik 1083e15c 2011-02-17T01:22:55 Mark hash success as unlikely, using __builtin_expect() intrinsic
Jeff Garzik 98de7514 2011-02-04T02:55:55 sha*.c: remove debug statement, which is redundant to hashmeter output
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 339ddf4d 2010-11-27T04:31:32 Move sha256_generic into its own .o build output. Const-ify midstate param.
Jeff Garzik 822cf2cc 2010-11-25T03:51:04 sha256: Remove unused include arpa/inet.h
Jeff Garzik e33abcdb 2010-11-24T18:45:56 sha256: note about bitcoin input data
Jeff Garzik b7201e9d 2010-11-24T18:24:12 sha256: Assume that input is already big endian.
Jeff Garzik 9599867d 2010-11-23T23:33:20 Initial revision of CPU miner. NOTE: non-functional (incorrectly thinks it finds solution, too quickly)