pub fn get_highest_loadable_bank_snapshot(
snapshot_config: &SnapshotConfig,
) -> Option<BankSnapshotInfo>
Expand description
Gets the highest, loadable, bank snapshot
The highest bank snapshot is the one with the highest slot. To be loadable, the bank snapshot must be a BankSnapshotKind::Post. And if we’re generating snapshots (e.g. running a normal validator), then the full snapshot file’s slot must match the highest full snapshot archive’s.