Skip to content

Commit c22169d

Browse files
authored
Reduce non-debug PS log output (#3076)
1 parent 41ae1c7 commit c22169d

File tree

6 files changed

+95
-95
lines changed

6 files changed

+95
-95
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
21142114
return false;
21152115
}
21162116

2117-
LogPrintf("DSTX -- Got Masternode transaction %s\n", hashTx.ToString());
2117+
LogPrint(BCLog::PRIVATESEND, "DSTX -- Got Masternode transaction %s\n", hashTx.ToString());
21182118
mempool.PrioritiseTransaction(hashTx, 0.1*COIN);
21192119
mmetaman.DisallowMixing(dmn->proTxHash);
21202120
}
@@ -2127,7 +2127,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
21272127
if (!AlreadyHave(inv) && AcceptToMemoryPool(mempool, state, ptx, true, &fMissingInputs)) {
21282128
// Process custom txes, this changes AlreadyHave to "true"
21292129
if (nInvType == MSG_DSTX) {
2130-
LogPrintf("DSTX -- Masternode transaction accepted, txid=%s, peer=%d\n",
2130+
LogPrint(BCLog::PRIVATESEND, "DSTX -- Masternode transaction accepted, txid=%s, peer=%d\n",
21312131
tx.GetHash().ToString(), pfrom->GetId());
21322132
CPrivateSend::AddDSTX(dstx);
21332133
}

0 commit comments

Comments
 (0)