P2PServer: added 1 second grace time for stale shares

Only for shares that lag 1 Monero block behind
This commit is contained in:
SChernykh
2021-08-31 09:58:57 +02:00
parent bb8ff24db8
commit 4757cdb8e2
5 changed files with 13 additions and 4 deletions
+1
View File
@@ -176,6 +176,7 @@ void p2pool::handle_miner_data(MinerData& data)
}
data.tx_backlog.clear();
data.time_received = std::chrono::system_clock::now();
m_minerData = data;
m_updateSeed = true;
update_median_timestamp();