pooler
30fae0c342
Minimal getblocktemplate support
2014-05-09 10:33:06 +02:00
pooler
f167b2b07b
Allow environment-defined tunnelling HTTP proxies
2014-04-16 10:58:05 +02:00
pooler
42a002c741
Add an option to ignore redirection requests
2014-04-16 10:58:05 +02:00
pooler
94fd77f3f5
Allow tunnelling Stratum through an HTTP proxy
2014-04-15 19:59:17 +02:00
pooler
9aa776cf94
Add a flags argument to json_rpc_call()
2014-04-14 14:23:47 +02:00
pooler
d5e5505b19
Print an error message if mining.subscribe fails
2014-03-31 14:29:19 +02:00
pooler
65e196a932
Version 2.3.3
2014-02-27 22:23:51 +01:00
pooler
464dd1d483
Do not switch to Stratum if using an HTTP proxy
2014-01-18 22:55:27 +01:00
pooler
93120a697d
Include inttypes.h instead of stdint.h
...
stdint.h is unavailable on some systems, such as Solaris 8
2013-07-12 18:41:47 +02:00
pooler
44d4815b01
Explicitly flush stderr in applog()
2013-07-04 15:23:10 +02:00
pooler
d43247beba
Accept any non-false result for mining.authorize
2013-06-17 12:38:02 +02:00
pooler
bb4b48bb95
Fix hash endianness for SHA-256d
2013-06-16 00:00:55 +02:00
pooler
805ea94a4d
Merge commit 'b6f26e1' from martinwguy/master
...
Add "cert" option for rpc server's self-signed SSL certificate
2013-06-13 21:50:47 +02:00
pooler
f80163ec4c
Replace sscanf() with strtol() in hex2bin()
2013-06-09 16:07:51 +02:00
pooler
ee7b535ea6
Add Stratum support
2013-06-09 01:13:28 +02:00
Martin Guy
b6f26e1acc
Add "cert" option for rpc server's self-signed SSL certificate
...
When minerd is used across the internet, the server's rpc userpass
travel unexcrypted, allowing anyone en route to copy them and
empty the server's wallet. Using https: would prevent this
but minerd's SSL connection fails on self-signed certificates.
This change adds a "-cert file" option (cert:"file" in minerd.conf)
to tell minerd the filename of the server's self-signed certificate.
2013-06-08 15:56:28 +02:00
pooler
6f6b99c0e7
Tweak the User-Agent header to comply with RFC 2616
2013-03-24 15:34:21 +01:00
pooler
8d7a870479
Add support for the X-Reject-Reason extension
2012-06-13 01:08:20 +02:00
pooler
364051e8f3
Allow libcurl to rewind the upload buffer
2012-06-11 18:42:12 +02:00
pooler
ff69f18995
Rename time_lock to avoid name conflict on AIX
2012-04-16 00:37:09 +02:00
pooler
654a23904b
Use syslog() instead of vsyslog()
...
vsyslog() is not available on AIX and other platforms.
2012-04-08 20:32:44 +02:00
pooler
7dd70bc05f
Change the default timeout to 270 seconds
2012-03-30 16:26:24 +02:00
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