mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
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:
parent
85123be78d
commit
c887f87d59
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue