mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
More logging
This commit is contained in:
@@ -294,6 +294,7 @@ void NetworkOPs::runTransactionQueue ()
|
|||||||
|
|
||||||
if (theApp->getHashRouter ().swapSet (txn->getID (), peers, SF_RELAYED))
|
if (theApp->getHashRouter ().swapSet (txn->getID (), peers, SF_RELAYED))
|
||||||
{
|
{
|
||||||
|
WriteLog (lsDEBUG, NetworkOPs) << "relaying";
|
||||||
protocol::TMTransaction tx;
|
protocol::TMTransaction tx;
|
||||||
Serializer s;
|
Serializer s;
|
||||||
dbtx->getSTransaction ()->add (s);
|
dbtx->getSTransaction ()->add (s);
|
||||||
@@ -304,6 +305,8 @@ void NetworkOPs::runTransactionQueue ()
|
|||||||
PackedMessage::pointer packet = boost::make_shared<PackedMessage> (tx, protocol::mtTRANSACTION);
|
PackedMessage::pointer packet = boost::make_shared<PackedMessage> (tx, protocol::mtTRANSACTION);
|
||||||
theApp->getPeers ().relayMessageBut (peers, packet);
|
theApp->getPeers ().relayMessageBut (peers, packet);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
WriteLog(lsDEBUG, NetworkOPs) << "recently relayed";
|
||||||
}
|
}
|
||||||
|
|
||||||
txn->doCallbacks (r);
|
txn->doCallbacks (r);
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ TER TransactionEngine::applyTransaction (const SerializedTransaction& txn, Trans
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
WriteLog (lsDEBUG, TransactionEngine) << "Not applying transaction";
|
WriteLog (lsDEBUG, TransactionEngine) << "Not applying transaction " << txID;
|
||||||
|
|
||||||
if (didApply)
|
if (didApply)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user