From 2a82aaa9ef33b3a9a7c8bae0fc237663ac934219 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 14 May 2013 11:00:41 -0700 Subject: [PATCH] Don't log a transaction receipt for each peer we get it from. --- src/cpp/ripple/Peer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/Peer.cpp b/src/cpp/ripple/Peer.cpp index 98c7cbd38e..8474db6de1 100644 --- a/src/cpp/ripple/Peer.cpp +++ b/src/cpp/ripple/Peer.cpp @@ -866,7 +866,6 @@ static void checkTransaction(Job&, int flags, SerializedTransaction::pointer stx void Peer::recvTransaction(ripple::TMTransaction& packet) { - cLog(lsDEBUG) << "Got transaction from peer"; Transaction::pointer tx; #ifndef TRUST_NETWORK @@ -890,6 +889,8 @@ void Peer::recvTransaction(ripple::TMTransaction& packet) if ((flags & SF_RETRY) == 0) return; } + cLog(lsDEBUG) << "Got new transaction from peer"; + if (mCluster) flags |= SF_TRUSTED | SF_SIGGOOD;