Skip to content

Commit c887f87

Browse files
committed
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..."
1 parent 85123be commit c887f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ void CConnman::ThreadSocketHandler()
14311431
}
14321432
else if (!pnode->fSuccessfullyConnected)
14331433
{
1434-
LogPrintf("version handshake timeout from %d\n", pnode->GetId());
1434+
LogPrint(BCLog::NET, "version handshake timeout from %d\n", pnode->GetId());
14351435
pnode->fDisconnect = true;
14361436
}
14371437
}

0 commit comments

Comments
 (0)