Commit 850d07dffbfadfb830c2c4ea6628b1e30cf83496

Con Kolivas 2012-11-24T12:58:58

Add info about which pool share became stale while resubmitting.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 85abbb5..ee948cf 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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;