Commit graph

9 commits

Author SHA1 Message Date
Jeff Garzik
b2372e70f0 Turn off target testing for release, as some strange results appeared. 2011-02-12 19:57:50 -05:00
Jeff Garzik
c0935a9489 Re-use CURL object, thereby caching DNS and HTTP connections where possible. 2011-02-10 00:41:44 -05:00
Jeff Garzik
51eb1b4ef9 Move verbose proof-of-work/target comparison display into -D (debug) 2011-02-04 11:53:51 -05:00
Jeff Garzik
714c0fd7c9 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.
2011-02-03 00:46:55 -05:00
Jeff Garzik
c68ffb30dd Display proof-of-work hash when one is discovered 2011-02-02 18:47:04 -05:00
Jeff Garzik
2f9a6deef9 Improve CURL HTTP request error diagnostics. 2010-12-28 17:13:59 -05:00
Jeff Garzik
9e5a173c38 Improve JSON-RPC result/error checking, and improve error diagnostic output. 2010-12-28 15:22:53 -05:00
Jeff Garzik
35ea649d97 Improve hash performance statistics. 2010-11-26 23:12:24 -05:00
Jeff Garzik
945be82ea1 Move utility routines to util.c. 2010-11-25 04:03:59 -05:00