aboutsummaryrefslogtreecommitdiff
path: root/sha256_generic.c
AgeCommit message (Collapse)Author
2011-10-01Rip out sha256 algosArt Forz
2011-03-20Ensure cpuminer-config.h is universally included, in *.c and *.h alike.Jeff Garzik
In miner.h, this fixes an alloca-definition-related warning. For the other files, this is simply future-proofing/precaution.
2011-03-17Introduce ability to interrupt hash scanners in the middle of scanning.Jeff Garzik
2011-03-14sha256_*.c: trim trailing whitespaceJeff Garzik
2011-02-17Mark hash success as unlikely, using __builtin_expect() intrinsicJeff Garzik
2011-02-04sha*.c: remove debug statement, which is redundant to hashmeter outputJeff Garzik
2011-02-03Continue scanhash, even if high 32 bits are zero.Jeff Garzik
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.
2011-02-02Display proof-of-work hash when one is discoveredJeff Garzik
2011-01-29Pass max-nonce as arg to each sha256 algo.Jeff Garzik
Should be an equivalent transformation, with no behavior changes.
2010-11-27Move sha256_generic into its own .o build output. Const-ify midstate param.Jeff Garzik
2010-11-25sha256: Remove unused include arpa/inet.hJeff Garzik
2010-11-24sha256: note about bitcoin input dataJeff Garzik
2010-11-24sha256: Assume that input is already big endian.Jeff Garzik
2010-11-23Initial revision of CPU miner.Jeff Garzik
NOTE: non-functional (incorrectly thinks it finds solution, too quickly)