Opens the ledger at path read-only for the scope, or gives none when
no file is there; creates nothing, stamps nothing and never takes the
write lock. A ledger stamped newer than knownLedgerVersion (1) fails
with StoreVersionNewer, and one stamped below 0 with LedgerError,
before any row is read.
Opens the ledger at
pathread-only for the scope, or gives none when no file is there; creates nothing, stamps nothing and never takes the write lock. A ledger stamped newer thanknownLedgerVersion(1) fails withStoreVersionNewer, and one stamped below 0 withLedgerError, before any row is read.