mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-31 15:59:27 +00:00
StratumServer: reset cumulative hashes too
This commit is contained in:
parent
72d70eba16
commit
8f1f81749d
1 changed files with 1 additions and 0 deletions
|
@ -499,6 +499,7 @@ void StratumServer::show_workers()
|
||||||
|
|
||||||
void StratumServer::reset_share_counters()
|
void StratumServer::reset_share_counters()
|
||||||
{
|
{
|
||||||
|
m_cumulativeHashes = 0;
|
||||||
m_cumulativeHashesAtLastShare = 0;
|
m_cumulativeHashesAtLastShare = 0;
|
||||||
m_cumulativeFoundSharesDiff = 0.0;
|
m_cumulativeFoundSharesDiff = 0.0;
|
||||||
m_totalFoundShares = 0;
|
m_totalFoundShares = 0;
|
||||||
|
|
Loading…
Reference in a new issue