Commit graph

6 commits

Author SHA1 Message Date
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
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
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
2738fe1439 stratum: attempt to support skeincoin wallet
accountaddress doesnt return an array but a simple string....
2015-07-23 05:56:46 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00