mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Move the logging a bit earlier.
This commit is contained in:
@@ -1113,6 +1113,15 @@ void LedgerConsensus::accept(SHAMap::ref set)
|
|||||||
newLCL->setAccepted(closeTime, mCloseResolution, closeTimeCorrect);
|
newLCL->setAccepted(closeTime, mCloseResolution, closeTimeCorrect);
|
||||||
newLCL->updateHash();
|
newLCL->updateHash();
|
||||||
uint256 newLCLHash = newLCL->getHash();
|
uint256 newLCLHash = newLCL->getHash();
|
||||||
|
|
||||||
|
if (sLog(lsTRACE))
|
||||||
|
{
|
||||||
|
Log(lsTRACE) << "newLCL";
|
||||||
|
Json::Value p;
|
||||||
|
newLCL->addJson(p, LEDGER_JSON_DUMP_TXNS | LEDGER_JSON_DUMP_STATE);
|
||||||
|
Log(lsTRACE) << p;
|
||||||
|
}
|
||||||
|
|
||||||
statusChange(ripple::neACCEPTED_LEDGER, *newLCL);
|
statusChange(ripple::neACCEPTED_LEDGER, *newLCL);
|
||||||
if (mValidating)
|
if (mValidating)
|
||||||
{
|
{
|
||||||
@@ -1180,13 +1189,6 @@ void LedgerConsensus::accept(SHAMap::ref set)
|
|||||||
theApp->getOPs().closeTimeOffset(offset);
|
theApp->getOPs().closeTimeOffset(offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sLog(lsTRACE))
|
|
||||||
{
|
|
||||||
Log(lsTRACE) << "newLCL";
|
|
||||||
Json::Value p;
|
|
||||||
newLCL->addJson(p, LEDGER_JSON_DUMP_TXNS | LEDGER_JSON_DUMP_STATE);
|
|
||||||
Log(lsTRACE) << p;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LedgerConsensus::endConsensus()
|
void LedgerConsensus::endConsensus()
|
||||||
|
|||||||
Reference in New Issue
Block a user