mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
Don't log a transaction receipt for each peer we get it from.
This commit is contained in:
@@ -866,7 +866,6 @@ static void checkTransaction(Job&, int flags, SerializedTransaction::pointer stx
|
|||||||
|
|
||||||
void Peer::recvTransaction(ripple::TMTransaction& packet)
|
void Peer::recvTransaction(ripple::TMTransaction& packet)
|
||||||
{
|
{
|
||||||
cLog(lsDEBUG) << "Got transaction from peer";
|
|
||||||
|
|
||||||
Transaction::pointer tx;
|
Transaction::pointer tx;
|
||||||
#ifndef TRUST_NETWORK
|
#ifndef TRUST_NETWORK
|
||||||
@@ -890,6 +889,8 @@ void Peer::recvTransaction(ripple::TMTransaction& packet)
|
|||||||
if ((flags & SF_RETRY) == 0)
|
if ((flags & SF_RETRY) == 0)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
cLog(lsDEBUG) << "Got new transaction from peer";
|
||||||
|
|
||||||
if (mCluster)
|
if (mCluster)
|
||||||
flags |= SF_TRUSTED | SF_SIGGOOD;
|
flags |= SF_TRUSTED | SF_SIGGOOD;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user