aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-08-06 10:03:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-08-11 17:29:34 +0200
commit7f1f8f5edf36b0885b0f2b746e28a2f9bde8f4f0 (patch)
treed434f7499eb84cb41f1f4f880c93fa7dba6491dc /src/main.cpp
parent66daed5e1be7932e08896794ca016ff31c71a1d4 (diff)
downloadbitcoin-7f1f8f5edf36b0885b0f2b746e28a2f9bde8f4f0.tar.xz
Move mempool rejections to new debug category
Move mempool rejections to debug category `mempoolrej`, to make it possible to show them without enabling the entire category `mempool` which is high volume.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5d9247e4b0..bb0ca9db54 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4342,7 +4342,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
int nDoS = 0;
if (state.IsInvalid(nDoS))
{
- LogPrint("mempool", "%s from peer=%d %s was not accepted into the memory pool: %s\n", tx.GetHash().ToString(),
+ LogPrint("mempoolrej", "%s from peer=%d %s was not accepted into the memory pool: %s\n", tx.GetHash().ToString(),
pfrom->id, pfrom->cleanSubVer,
FormatStateMessage(state));
if (state.GetRejectCode() < REJECT_INTERNAL) // Never send AcceptToMemoryPool's internal codes over P2P