Commit graph

9 commits

Author SHA1 Message Date
protopool.net
8c85b95220 stratum: debuglog on/off without code recompile
+ drop log CFLAGS comments in Makefile and old defines comments
2018-03-06 13:03:37 +01:00
Tanguy Pruvot
6d3dd22082 stratum: add a flag indicating we need exit
can be useful to filter real valgrind leaks on exit and trap reboot signal

also protect against db queries after close
2016-06-03 17:05:36 +02:00
Tanguy Pruvot
b6045518ed getwork: fix result bool value 2016-02-12 22:37:40 +01:00
Tanguy Pruvot
97e8dea474 decred: use getwork... sigh 2016-02-12 22:09:06 +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
09d4a1f1f7 stratum: small issue seen on bitcoin wallet 2016-01-27 16:57:10 +01: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