This commit is contained in:
Jay D Dee
2020-02-04 01:31:59 -05:00
parent 0681ca996d
commit 1b76cee239
106 changed files with 1695 additions and 4481 deletions

5
util.c
View File

@@ -1777,8 +1777,9 @@ bool rpc2_job_decode(const json_t *job, struct work *work)
double diff = trunc( ( ((double)0xffffffff) / target ) );
if ( !opt_quiet )
// xmr pool diff can change a lot...
applog(LOG_WARNING, "Stratum difficulty set to %g", diff);
stratum_diff = diff;
applog(LOG_BLUE, "Stratum difficulty set to %g", diff);
work->stratum_diff = diff;
stratum_diff = diff;
rpc2_target = target;
}