diff options
| author | Pieter Wuille <[email protected]> | 2016-07-30 02:20:15 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-07-30 02:22:01 +0200 |
| commit | ebefe7a00b46579cdd1e033a8c7fd8ce9aa578e4 (patch) | |
| tree | 382a39172cd06a6993970866d26e01a2081838ec /src/main.cpp | |
| parent | Merge #8417: [QA] Add walletdump RPC test (including HD- & encryption-tests) (diff) | |
| parent | net: Ignore `notfound` P2P messages (diff) | |
| download | discoin-ebefe7a00b46579cdd1e033a8c7fd8ce9aa578e4.tar.xz discoin-ebefe7a00b46579cdd1e033a8c7fd8ce9aa578e4.zip | |
Merge #8427: net: Ignore `notfound` P2P messages
5c9e49d net: Ignore `notfound` P2P messages (Wladimir J. van der Laan)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 622ec5142..81f09515f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6145,6 +6145,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, } } + else if (strCommand == NetMsgType::NOTFOUND) { + // We do not care about the NOTFOUND message, but logging an Unknown Command + // message would be undesirable as we transmit it ourselves. + } + else { // Ignore unknown commands for extensibility LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id); |