- <init>
Creates a new instance of the LogMetadata class.
- addLedger
Creates a new instance of the LogMetadata class which contains an additional
ledger.
- getEpoch
- getLedger
Gets the LedgerMetadata for the ledger with given ledger Id.
- getLedgers
- getNextAddress
Gets the Ledger Address immediately following the given address.
- getTruncationAddress
- getUpdateVersion
Gets a value indicating the current version of the Metadata (this changes upon
every successful meta
- removeEmptyLedgers
Removes LedgerMetadata instances for those Ledgers that are known to be empty.
- truncate
Creates a new instance of the LogMetadata class which contains all the ledgers
after (and including)
- updateLedgerStatus
Updates the LastAddConfirmed on individual LedgerMetadata instances based on the
provided argument.
- withUpdateVersion
Updates the current version of the metadata.