mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01: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
@ -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…
Reference in New Issue
Block a user