pub trait SnapshotSourceWithArchive {
// Required method
fn get_including_archived(
&self,
key: &Rc<LedgerKey>,
) -> Result<Option<EntryWithLiveUntil>, HostError>;
}
Expand description
Read-only ledger snapshot accessor that also has access to archived entries.
Unlike SnapshotSource
trait that must only return live entries,
this should return both live and archived ledger entries.