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..."
This commit is contained in:
Clem Taylor 2018-02-03 04:08:04 -05:00
parent 85123be78d
commit c887f87d59

View File

@ -1431,7 +1431,7 @@ void CConnman::ThreadSocketHandler()
}
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;
}
}