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 kind
pub fn get_highest_bank_snapshot(
bank_snapshots_dir: impl AsRef<Path>,
) -> Option<BankSnapshotInfo>
Get the bank snapshot with the highest slot in a directory
This function gets the highest bank snapshot of any kind