P2PServer: ban peers only after handshake finished and failed

This commit is contained in:
SChernykh
2021-08-29 17:26:30 +02:00
parent 541b3c653d
commit 456f5d356f
2 changed files with 20 additions and 4 deletions

View File

@@ -103,6 +103,7 @@ public:
uint64_t m_handshakeChallenge;
bool m_handshakeSolutionSent;
bool m_handshakeComplete;
bool m_handshakeInvalid;
int m_listenPort;
time_t m_lastPeerListRequest;
time_t m_lastAlive;