diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-02-06 12:19:15 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-02-06 12:20:38 +0100 |
commit | eaeaa2d0b4e8344044c9a566f76f2792c74ca445 (patch) | |
tree | b24cbe97c4ea7f3960e1ffef3617fa91e7127476 /src | |
parent | 2a30e67d20f76bbcd9a7d445f616f005316e0a1a (diff) | |
parent | c887f87d5960d85299e24f533e22112dcb062e74 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 2 |
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; } } |