Jeff Garzik
6a3b05e650
jansson 2.x compatibility
2011-05-09 22:10:16 -04:00
Jeff Garzik
7ff1280bbb
util: correct off-by-one in month display
2011-04-11 17:32:25 -04:00
Jeff Garzik
a7d9f31747
Add User-Agent header to each HTTP request
2011-03-22 13:58:32 -04:00
Jeff Garzik
2fd9d54443
Convert remaining [f]print to applog().
...
Also, remove a few superfluous printouts.
2011-03-21 04:02:13 -04:00
Jeff Garzik
24afd61775
Introduce more standardized logging (incl. optional syslog).
...
Also, improve portability of alloca.
2011-03-18 17:24:16 -04:00
Jeff Garzik
7a87bee999
Add long polling support
2011-03-18 02:53:13 -04:00
Jeff Garzik
0258fae450
Fix Windows build, that broke with yasm integration
2011-03-14 23:36:28 -04:00
Jeff Garzik
4f7a51e9ed
Move all RPC I/O to separate thread.
2011-03-14 23:17:34 -04:00
Jeff Garzik
d4ddd315b1
Make CURL follow redirects.
...
Suggested by prcarter.
2011-03-02 22:06:25 -05:00
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