cpu-miner.c


Log

Author Commit Date CI Message
Jeff Garzik 276dcdbc 2010-12-05T23:18:18 Avoid null deref in command line arg processing. Reported by lfm.
Jeff Garzik 145e5fe1 2010-11-29T12:21:03 submit_work: increase string buffer, to avoid overflow
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 4c47553c 2010-11-27T03:50:52 Clean up multi-algorithm selection and display
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 500759ce 2010-11-27T00:12:28 s/__SSE__/__SSE2__/
Jeff Garzik 2f2bf745 2010-11-26T23:16:38 Note that 4way is experimental
Jeff Garzik 35ea649d 2010-11-26T23:12:24 Improve hash performance statistics.
Jeff Garzik a50201eb 2010-11-26T20:15:07 Improve --help output. Mention --help in README.
Jeff Garzik 1f507438 2010-11-26T19:12:22 Correct -a command line help.
Jeff Garzik c6391499 2010-11-26T19:04:48 Add tcatm's 4way SSE2 sha256 implementation.
Jeff Garzik 0a333110 2010-11-26T16:28:12 Build on Windows using mingw32.
Jeff Garzik 352bab21 2010-11-26T15:50:36 Introduce compat.h, for Win32 builds
Jeff Garzik b7cc9b68 2010-11-26T15:46:11 Replace argp with getopt_long
Jeff Garzik 59f1fb2e 2010-11-26T15:20:54 Link with pthreads lib, if present. Remove GNU-specific asprintf usage.
Jeff Garzik 5d1a4529 2010-11-25T04:04:30 code movement: move submit_work() above hot path
Jeff Garzik 945be82e 2010-11-25T04:03:59 Move utility routines to util.c.
Jeff Garzik e4c4b3fe 2010-11-25T01:27:19 scanhash micro-optimizations * don't bother returning nonce, we only need success/fail boolean * don't needlessly read nonce pointer data, for each loop
Jeff Garzik 1032fec1 2010-11-25T01:16:34 Allocate work struct once, on stack, rather than alloc+free for each getwork.
Jeff Garzik a614823f 2010-11-25T01:02:53 Remove unused OpenSSL dependency. Also, turn a few strings into #define'd constants.
Jeff Garzik 23cd22a5 2010-11-25T00:49:39 RPC URL, username and password become arguments, rather than compile-time constants.
Jeff Garzik 67d3c913 2010-11-25T00:36:40 Small cleanups and comment additions. Don't sleep after proof of work found.
Jeff Garzik ea6c1126 2010-11-24T19:50:46 Add GPLv2 header.
Jeff Garzik 702e2ac8 2010-11-24T19:31:12 Convert over to autotools. Release version 0.1.
Jeff Garzik 19b51e36 2010-11-24T18:25:06 Clean up protocol debugging output, and other cleanups.
Jeff Garzik 5b0ab3cf 2010-11-24T15:39:37 Remove byte reversing in submit_work()
Jeff Garzik 89a05600 2010-11-24T05:55:56 Code movement. Update stats counter more frequently.
Jeff Garzik 5b6e9a92 2010-11-24T03:36:53 Add command line parsing, and multiple threads.
Jeff Garzik 45a29ac9 2010-11-24T02:11:59 Add timing info. Remove BIGNUM PoW checks.
Jeff Garzik 666af320 2010-11-24T01:19:47 Clean up proof-of-work checking, attempting to address find-solution-too-fast problem.
Jeff Garzik 16b535e2 2010-11-23T23:54:37 Add some code comments.
Jeff Garzik 9bc3649e 2010-11-23T23:43:45 Add README and license info.
Jeff Garzik 9599867d 2010-11-23T23:33:20 Initial revision of CPU miner. NOTE: non-functional (incorrectly thinks it finds solution, too quickly)