solana_runtime::snapshot_utils

Function get_highest_bank_snapshot

source
pub fn get_highest_bank_snapshot(
    bank_snapshots_dir: impl AsRef<Path>,
) -> Option<BankSnapshotInfo>
Expand description

Get the bank snapshot with the highest slot in a directory

This function gets the highest bank snapshot of any type