|
|
@ -859,7 +859,7 @@ static bool submit_upstream_work(CURL *curl, struct work *work) |
|
|
|
applog(LOG_DEBUG, "share diff: %.5f (x %.1f)", |
|
|
|
applog(LOG_DEBUG, "share diff: %.5f (x %.1f)", |
|
|
|
stratum.sharediff, work->shareratio); |
|
|
|
stratum.sharediff, work->shareratio); |
|
|
|
|
|
|
|
|
|
|
|
if (nvote) { // ALGO_HEAVY ALGO_DECRED
|
|
|
|
if (opt_vote) { // ALGO_HEAVY ALGO_DECRED
|
|
|
|
nvotestr = bin2hex((const uchar*)(&nvote), 2); |
|
|
|
nvotestr = bin2hex((const uchar*)(&nvote), 2); |
|
|
|
sprintf(s, "{\"method\": \"mining.submit\", \"params\": [" |
|
|
|
sprintf(s, "{\"method\": \"mining.submit\", \"params\": [" |
|
|
|
"\"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\"], \"id\":4}", |
|
|
|
"\"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\"], \"id\":4}", |
|
|
|