Tanguy Pruvot
dcaf083ccf
decred: handle new block header stake version in coinb2
2017-04-23 19:49:41 +02:00
Tanguy Pruvot
a88c1e0b43
handle lbry algo and protocol
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-19 23:14:34 +02:00
Tanguy Pruvot
74b80292a6
stratum/decred: link new db coin rpc fields
...
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
52e99b4d77
rpc/curl: retry getwork if no data was received
...
seems to happen with a high number of workers... (overflow)
2016-02-20 14:30:36 +01:00
Tanguy Pruvot
9cbd9bf5e3
stratum: prepare real decred stratum
...
not finished, commited to test on another server
but, remains the problem of decred custom header fields... stakeroot etc
which should be passed to the miner..
2016-02-15 08:19:12 +01:00
Tanguy Pruvot
49a5d8068c
stratum: getwork sleep typo + new time funcs
2016-02-13 13:30:27 +01:00
Tanguy Pruvot
984cb266cf
decred: prevent auto_ready reset on gbt error
2016-02-13 10:22:37 +01:00
Tanguy Pruvot
55ada4b908
decred: prepare a usegetwork setting
2016-02-13 07:38:38 +01:00
Tanguy Pruvot
97e8dea474
decred: use getwork... sigh
2016-02-12 22:09:06 +01:00
Tanguy Pruvot
5ef293e938
decred stratum hack with extranonce field
...
override the coinbase field with the static part of the decred header...
2016-02-12 14:49:18 +01:00
Tanguy Pruvot
b47be3a075
stratum: fix the template warning
2016-02-04 06:00:08 +01:00
Tanguy Pruvot
a24bf3dd3c
stratum: allow to use curl (optional) for HTTP/1.1 chunks
...
Todo: SSL RPC connections... user/pw vars may be required...
Also, update the make files and handle better the getwork client requests..
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-04 04:23:06 +01:00
Tanguy Pruvot
c615d086b4
stratum: workaround for HTTP/1.1 chunked data (decred gbt)
...
fallback to HTTP 1.0 if a wallet send chunked data transfers
Else show a message if Content-Length header is not returned (gbt)
But... decred gbt format remains too much different...
Store default account (its not the empty one "" in decred)
Note: This commit also fix some possible segfaults when the wallet
doesn't return what is expected...
2016-02-03 09:20:04 +01:00
Tanguy Pruvot
fa47829c4e
stratum: attempt to reduce memory leaks
2016-01-20 14:49:58 +01:00
Tanguy Pruvot
6fb14b3346
stratum: handle coins with a diff under stratum conf
...
sometimes the nbits value can be under the minimum allowed by the pool
in this case, force it to the minimum (instead of 0).
2016-01-12 15:21:15 +01:00
Tanguy Pruvot
9d4c4d41c7
stratum: reduce defines, prepare the autoexchange variable
...
also improve the user wallet addresses checks
and allow to mine aux coins in normal (gbt) + aux at the same time
2015-09-26 06:51:14 +02:00
Tanguy Pruvot
f249ec0140
add drop algo, and hash debug flag
2015-07-23 05:56:45 +02:00
root
cc92c825ef
stratum code
2015-07-02 20:58:24 +02:00