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

View File

@@ -20,7 +20,6 @@
#include "uv_util.h"
#include <map>
#include <thread>
#include <chrono>
#ifndef _WIN32
#include <sched.h>