1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Add info about which pool share became stale while resubmitting.

This commit is contained in:
Con Kolivas 2012-11-24 12:58:58 +11:00
parent ce7801beca
commit 850d07dffb

View File

@ -3305,7 +3305,7 @@ static void *submit_work_thread(void *userdata)
while (!submit_upstream_work(work, ce->curl, resubmit)) {
resubmit = true;
if (stale_work(work, true)) {
applog(LOG_NOTICE, "Share became stale while retrying submit, discarding");
applog(LOG_NOTICE, "Pool %d share became stale while retrying submit, discarding", work->pool->pool_no);
total_stale++;
pool->stale_shares++;
total_diff_stale += work->work_difficulty;