Brannon King
b8ffcc1d4b
restored default segwit on, worked on stratum support of lbry
2021-07-30 12:23:57 -04:00
pooler
b5071a8cc6
Merge pull request #206 from EchterAgo/hex2bin_speedup
...
Speed up `hex2bin` function
2020-11-10 14:18:35 +00:00
Axel Gembe
efbceb7bc9
Speed up hex2bin
function
...
The existing function uses `strtol`, which is not very fast.
This replaces the function with a custom hex decoder.
2020-11-10 18:42:38 +07:00
Axel Gembe
5e1a3b1254
JSONRPC: Preallocate receive buffer based on Content-Length header
...
Decreases the amount of reallocations needed to receive the response.
2020-11-10 18:35:52 +07:00
Axel Gembe
cdb1c92c82
JSONRPC: Increase network performance by reducing the reallocation count
...
The `all_data_cb` callback was called by `libcurl` with small buffers
causing frequent reallocations, which killed network performance on large
block templates.
The new code decouples content length from allocation size. It starts out
by allocating a minimum of 16 KiB and doubles the buffer size every time
the allocation gets too small. The maximum allowed increase after doubling
is capped to 8 MiB.
2020-11-10 18:35:49 +07:00
pooler
41c4e35677
Use CURLOPT_POSTFIELDS in json_rpc_call()
2020-07-25 15:35:13 +00:00
pooler
8da0556cec
Version 2.5.1
2020-06-25 15:02:57 +00:00
pooler
af2501c2c7
Use CURLINFO_ACTIVESOCKET where available
...
Closes #159 .
2020-06-24 17:22:36 +00:00
pooler
7e8960212f
Add support for bech32 addresses (BIP 173)
2019-01-08 17:38:06 +01:00
pooler
46e919f93c
Add basic Segwit support
2017-04-28 12:49:35 +02:00
pooler
02262ded0c
Use SSL certificate with Stratum when provided
2015-04-16 12:59:40 +02:00
pooler
ef6f5beeae
Add support for Stratum over TLS
2015-04-07 10:41:04 +02:00
pooler
3c01c36707
Version 2.4.1
2015-02-25 23:57:04 +01:00
pooler
9681504048
Check for negative extranonce2_size
2014-08-08 15:04:14 +02:00
pooler
ab6d34e043
Do not use the non-standard typeof operator
2014-05-16 11:13:31 +02:00
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