aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-02-06 12:19:15 +0100
committerWladimir J. van der Laan <[email protected]>2018-02-06 12:20:38 +0100
commiteaeaa2d0b4e8344044c9a566f76f2792c74ca445 (patch)
treeb24cbe97c4ea7f3960e1ffef3617fa91e7127476
parentMerge #12330: Reduce scope of cs_main and cs_wallet locks in listtransactions (diff)
parentExtend #11583 to include the most common message generated by non-contributin... (diff)
downloaddiscoin-eaeaa2d0b4e8344044c9a566f76f2792c74ca445.tar.xz
discoin-eaeaa2d0b4e8344044c9a566f76f2792c74ca445.zip
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
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 5f4c0eeca..b5d0b7de9 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;
}
}