Commit graph

32 commits

Author SHA1 Message Date
pooler
40fc3d06f9 Minor cleanups 2012-03-10 23:29:11 +01:00
pooler
c96b468d1c Keep work data in host byte order 2012-03-10 13:37:33 +01:00
pooler
1f15a1f672 Add proxy support 2012-02-26 01:34:58 +01:00
pooler
0ce674668c Add TCP keepalive to long polling connections 2012-02-25 22:22:45 +01:00
pooler
922ce0b92e Version 2.1.3 2012-02-12 23:47:20 +01:00
pooler
131d5a2374 Add smart handling of long polling failures
Switch to short scan time if long polling fails, and try
to reactivate it only if the server continues to advertise
the feature in HTTP headers.
2012-02-12 03:23:06 +01:00
pooler
80412755bd Handle empty responses properly 2012-02-03 23:47:04 +01:00
pooler
9ce0db5100 Add "X-Mining-Extensions: midstate" to HTTP headers
Drop support for the the deprecated "midstate" and "hash1" fields.
2012-02-01 03:59:08 +01:00
pooler
d26b0d8b81 Version 2.1.2
- Do not submit work that is known to be stale
- Allow miner threads to ask for new work if the current one is at least
  45 seconds old and long polling is enabled
- Refresh work when long polling times out
- Modify x86-64 code to make it compatible with older versions of
  binutils
2012-01-26 14:31:07 +01:00
pooler
14f953e0f8 Handle network errors properly 2012-01-21 00:31:51 +01:00
pooler
36225b4206 Some more optimization 2011-12-24 12:22:06 +01:00
pooler
963efb9546 Fix minor bugs
Change default port to 9332 and remove default credentials
Add share summary output
2011-12-21 04:31:56 +01:00
pooler
e245bc2d9e Fix timeout bug 2011-12-16 18:01:45 +01:00
pooler
45024f12f1 Add configurable timeout 2011-12-04 22:55:30 +01:00
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