solana_runtime::snapshot_utils

Function get_highest_incremental_snapshot_archive_info

source
pub fn get_highest_incremental_snapshot_archive_info(
    incremental_snapshot_archives_dir: impl AsRef<Path>,
    full_snapshot_slot: Slot,
) -> Option<IncrementalSnapshotArchiveInfo>
Expand description

Get the path for the incremental snapshot archive with the highest slot, for a given full snapshot slot, in a directory