diff --git a/src/xrpld/app/ledger/LedgerMaster.h b/src/xrpld/app/ledger/LedgerMaster.h index 27bd2cdb9e..ff12e8a314 100644 --- a/src/xrpld/app/ledger/LedgerMaster.h +++ b/src/xrpld/app/ledger/LedgerMaster.h @@ -50,9 +50,9 @@ class Transaction; * Four ledgers are tracked, and they can all differ: * * current open ledger new transactions go into (owned by OpenLedger) - * closed most recently closed ledger, not yet fully validated + * closed most recently closed ledger; may already be validated * validated highest ledger with a quorum of trusted validations - * published highest ledger handed to subscribed clients; lags validated + * published highest ledger handed to subscribed clients; can lag validated * * RCLConsensus ──switchLCL/consensusBuilt──> LedgerMaster * PeerImp ──────gotFetchPack/makeFetchPack─> │ @@ -577,7 +577,7 @@ public: * @return true if able to fulfill request. */ bool - newOrderBookDB(); // Returns true if able to fulfill request. + newOrderBookDB(); /** * Corrects the cached sequence-to-hash mapping for one ledger. diff --git a/src/xrpld/app/ledger/detail/LedgerMaster.cpp b/src/xrpld/app/ledger/detail/LedgerMaster.cpp index 06e1b0af57..d38a2ad110 100644 --- a/src/xrpld/app/ledger/detail/LedgerMaster.cpp +++ b/src/xrpld/app/ledger/detail/LedgerMaster.cpp @@ -1153,7 +1153,7 @@ LedgerMaster::consensusBuilt( * * One tally per ledger hash, built while scanning the current trusted * validations. A validation names a hash but not always a usable sequence, - * so the first sequence seen for a hash is kept and later ones ignored. + * so the first nonzero sequence seen for a hash is kept. * * @note Not thread-safe, and not intended to be: instances live only inside * the loop below, which holds no lock.