aboutsummaryrefslogtreecommitdiff
path: root/cpu-miner.c
AgeCommit message (Collapse)Author
2011-02-04Fix max-nonce auto-adjustment logic to actually workJeff Garzik
2011-02-03Add --retry-pause, to set length of pause time between failure retriesJeff 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-01-29Remove "PROOF OF WORK FOUND?" debug output; redundant.Jeff Garzik
2011-01-29Dynamically adjust time spent hashing current work unit, to meet targetJeff Garzik
2011-01-29Pass max-nonce as arg to each sha256 algo.Jeff Garzik
Should be an equivalent transformation, with no behavior changes.
2011-01-29Code movement: move second hash time sampling to main miner loopJeff Garzik
2011-01-29Fix non-working short options -q and -r N, by listing them in optstring.Jeff Garzik
2010-12-28Release version 0.5.v0.5Jeff Garzik
2010-12-28Rather than sleep-loop, main thread waits for all threads to exit.Jeff Garzik
2010-12-27Add --quiet option, to disable hashmeter output.Jeff Garzik
2010-12-23sha256_via: ensure that found nonce is copied back into output data bufferJeff Garzik
Also, some minor cleanups, removing unused args.
2010-12-19sha256_via: ensure proper data area is fully checksummedJeff Garzik
2010-12-18Handle temporary JSON failures (due to server reboot, etc.)Jeff Garzik
2010-12-18Release version 0.3.v0.3Jeff Garzik
2010-12-06Display version on minerd --help usage output.Jeff Garzik
2010-12-06sha256_cryptopp: Add crypto++ 32-bit assembly implementationJeff Garzik
2010-12-06Release version 0.2.2.v0.2.2Jeff Garzik
Remove 'experimental' marker from VIA padlock implementation.
2010-12-05Avoid null deref in command line arg processing.Jeff Garzik
Reported by lfm.
2010-11-29submit_work: increase string buffer, to avoid overflowJeff Garzik
2010-11-28Add Crypto++ sha256 implementation (C only, ASM elided for now)Jeff Garzik
2010-11-27Move sha256_generic into its own .o build output. Const-ify midstate param.Jeff Garzik
2010-11-27Clean up multi-algorithm selection and displayJeff Garzik
2010-11-27Add experimental (read: probably broken) VIA padlock support.Jeff Garzik
2010-11-27Improve and modularize compile-time CPU detection.Jeff Garzik
Ideally, we should move this to autoconf.
2010-11-27s/__SSE__/__SSE2__/Jeff Garzik
2010-11-26Note that 4way is experimentalJeff Garzik
2010-11-26Improve hash performance statistics.Jeff Garzik
2010-11-26Improve --help output. Mention --help in README.Jeff Garzik
2010-11-26Correct -a command line help.Jeff Garzik
2010-11-26Add tcatm's 4way SSE2 sha256 implementation.Jeff Garzik
2010-11-26Build on Windows using mingw32.Jeff Garzik
2010-11-26Introduce compat.h, for Win32 buildsJeff Garzik
2010-11-26Replace argp with getopt_longJeff Garzik
2010-11-26Link with pthreads lib, if present. Remove GNU-specific asprintf usage.Jeff Garzik
2010-11-25code movement: move submit_work() above hot pathJeff Garzik
2010-11-25Move utility routines to util.c.Jeff Garzik
2010-11-25scanhash micro-optimizationsJeff Garzik
* don't bother returning nonce, we only need success/fail boolean * don't needlessly read nonce pointer data, for each loop
2010-11-25Allocate work struct once, on stack, rather than alloc+free for each getwork.Jeff Garzik
2010-11-25Remove unused OpenSSL dependency.Jeff Garzik
Also, turn a few strings into #define'd constants.
2010-11-25RPC URL, username and password become arguments,Jeff Garzik
rather than compile-time constants.
2010-11-25Small cleanups and comment additions. Don't sleep after proof of work found.Jeff Garzik
2010-11-24Add GPLv2 header.Jeff Garzik
2010-11-24Convert over to autotools. Release version 0.1.v0.1Jeff Garzik
2010-11-24Clean up protocol debugging output, and other cleanups.Jeff Garzik
2010-11-24Remove byte reversing in submit_work()Jeff Garzik
2010-11-24Code movement. Update stats counter more frequently.Jeff Garzik
2010-11-24Add command line parsing, and multiple threads.Jeff Garzik
2010-11-24Add timing info. Remove BIGNUM PoW checks.Jeff Garzik
2010-11-24Clean up proof-of-work checking,Jeff Garzik
attempting to address find-solution-too-fast problem.