|
|
@ -2594,6 +2594,7 @@ int stratifier(proc_instance_t *pi) |
|
|
|
buf = send_recv_proc(ckp->generator, "ping"); |
|
|
|
buf = send_recv_proc(ckp->generator, "ping"); |
|
|
|
} while (!buf); |
|
|
|
} while (!buf); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!ckp->proxy) { |
|
|
|
if (!test_address(ckp, ckp->btcaddress)) { |
|
|
|
if (!test_address(ckp, ckp->btcaddress)) { |
|
|
|
LOGEMERG("Fatal: btcaddress invalid according to bitcoind"); |
|
|
|
LOGEMERG("Fatal: btcaddress invalid according to bitcoind"); |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
@ -2607,6 +2608,7 @@ int stratifier(proc_instance_t *pi) |
|
|
|
ckp->donvalid = true; |
|
|
|
ckp->donvalid = true; |
|
|
|
address_to_pubkeytxn(donkeytxnbin, ckp->donaddress); |
|
|
|
address_to_pubkeytxn(donkeytxnbin, ckp->donaddress); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Set the initial id to time as high bits so as to not send the same
|
|
|
|
/* Set the initial id to time as high bits so as to not send the same
|
|
|
|
* id on restarts */ |
|
|
|
* id on restarts */ |
|
|
|