Commit graph

9 commits

Author SHA1 Message Date
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
48964e8393 stratum: allow to bypass blocknotify requests
for decred, to detect new blocks faster and store finder infos
2016-02-17 17:30:24 +01:00
Tanguy Pruvot
55ada4b908 decred: prepare a usegetwork setting 2016-02-13 07:38:38 +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
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
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +02:00
Tanguy Pruvot
46b188dfc9 stratum: link hasmasternodes new db field
and fix possible segfault if "payee" string does not exists for masternodes

Also handle MDT masternodes amounts
2015-07-23 05:56:48 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00