P2PServer: relaxed peer list request restriction

This commit is contained in:
SChernykh
2022-02-22 11:06:12 +01:00
parent a73b4616a4
commit 2209e0cc70
2 changed files with 15 additions and 7 deletions
+2 -1
View File
@@ -110,7 +110,8 @@ public:
bool m_handshakeInvalid;
int m_listenPort;
time_t m_prevIncomingPeerListRequest;
uint32_t m_fastPeerListRequestCount;
std::chrono::steady_clock::time_point m_prevIncomingPeerListRequest;
uint64_t m_nextOutgoingPeerListRequest;
std::chrono::high_resolution_clock::time_point m_lastPeerListRequestTime;
int m_peerListPendingRequests;