mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Ledger loading cleanups:
* Fix close time settings for ledger load * More info in ledger_request and inbound ledger JSON replies
This commit is contained in:
committed by
Nik Bougalis
parent
9dc32cb791
commit
adce6ae851
@@ -1241,6 +1241,9 @@ Json::Value InboundLedger::getJson (int)
|
||||
{
|
||||
ret["have_state"] = mHaveState;
|
||||
ret["have_transactions"] = mHaveTransactions;
|
||||
if (!mHaveState)
|
||||
ret["state_nodes"] = static_cast<Json::Value::UInt>
|
||||
(mLedger->peekAccountStateMap()->size());
|
||||
}
|
||||
|
||||
if (mAborted)
|
||||
|
||||
Reference in New Issue
Block a user