mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-21 22:31:21 +02:00
c887f87 Extend #11583 to include the most common message generated by non-contributing peers (port scanners?) 37% of the log default log entries for a node that has been up for ~24hrs was "version handshake timeout..." (Clem Taylor) Pull request description: 37% of the default log entries for a node that has been up for ~24hrs was "version handshake timeout..." Tree-SHA512: dceeee5d55a9ff7570174aeb63faac9beda239087220522adefef7ed11e0eeffa008ca28726011247c8834c1a222d37817baf895635ab874a95ebc435959070e
This commit is contained in:
commit
eaeaa2d0b4
@ -1431,7 +1431,7 @@ void CConnman::ThreadSocketHandler()
|
|||||||
}
|
}
|
||||||
else if (!pnode->fSuccessfullyConnected)
|
else if (!pnode->fSuccessfullyConnected)
|
||||||
{
|
{
|
||||||
LogPrintf("version handshake timeout from %d\n", pnode->GetId());
|
LogPrint(BCLog::NET, "version handshake timeout from %d\n", pnode->GetId());
|
||||||
pnode->fDisconnect = true;
|
pnode->fDisconnect = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user