aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorClem Taylor <clem@ossifrage.com>2018-02-03 04:08:04 -0500
committerClem Taylor <clem@ossifrage.com>2018-02-03 04:08:04 -0500
commitc887f87d5960d85299e24f533e22112dcb062e74 (patch)
treee4894a087362c440bc8f62068da327744270e0f0 /src/net.cpp
parent85123be78df5a4e9447e70f9ee727416d45843d7 (diff)
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..."
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 5f4c0eecab..b5d0b7de95 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -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;
}
}