Skip to content

Commit eaeaa2d

Browse files
committed
Merge #12342: Extend #11583 to include "version handshake timeout" message
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
2 parents 2a30e67 + c887f87 commit eaeaa2d

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)