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>
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...
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