mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Count each stratum notify as a getwork equivalent.
This commit is contained in:
parent
6593b89328
commit
9180a557c3
3
util.c
3
util.c
@ -1032,6 +1032,9 @@ static bool parse_notify(struct pool *pool, json_t *val)
|
|||||||
applog(LOG_DEBUG, "clean: %s", clean ? "yes" : "no");
|
applog(LOG_DEBUG, "clean: %s", clean ? "yes" : "no");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* A notify message is the closest stratum gets to a getwork */
|
||||||
|
pool->getwork_requested++;
|
||||||
|
total_getworks++;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user