P2PServer: added more protocol checks

This commit is contained in:
SChernykh
2022-02-21 16:54:53 +01:00
parent 03f829e18c
commit 752e2381d6
2 changed files with 55 additions and 6 deletions

View File

@@ -110,11 +110,14 @@ public:
bool m_handshakeInvalid;
int m_listenPort;
time_t m_nextPeerListRequest;
time_t m_prevIncomingPeerListRequest;
time_t m_nextOutgoingPeerListRequest;
std::chrono::system_clock::time_point m_lastPeerListRequestTime;
int m_peerListPendingRequests;
int64_t m_pingTime;
int m_blockPendingRequests;
time_t m_lastAlive;
time_t m_lastBroadcastTimestamp;
time_t m_lastBlockrequestTimestamp;