mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Add pool number to stale share message.
This commit is contained in:
parent
4da6758f43
commit
669b0deda3
@ -2083,11 +2083,14 @@ static void *submit_work_thread(void *userdata)
|
|||||||
|
|
||||||
if (stale_work(work, true)) {
|
if (stale_work(work, true)) {
|
||||||
if (pool->submit_old)
|
if (pool->submit_old)
|
||||||
applog(LOG_NOTICE, "Stale share detected, submitting as pool requested");
|
applog(LOG_NOTICE, "Stale share detected, submitting as pool %d requested",
|
||||||
|
pool->pool_no);
|
||||||
else if (opt_submit_stale)
|
else if (opt_submit_stale)
|
||||||
applog(LOG_NOTICE, "Stale share detected, submitting as user requested");
|
applog(LOG_NOTICE, "Stale share detected from pool %d, submitting as user requested",
|
||||||
|
pool->pool_no);
|
||||||
else {
|
else {
|
||||||
applog(LOG_NOTICE, "Stale share detected, discarding");
|
applog(LOG_NOTICE, "Stale share detected from pool %d, discarding",
|
||||||
|
pool->pool_no);
|
||||||
sharelog("discard", work);
|
sharelog("discard", work);
|
||||||
total_stale++;
|
total_stale++;
|
||||||
pool->stale_shares++;
|
pool->stale_shares++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user