solana_runtime::snapshot_utils

Function get_highest_incremental_snapshot_archive_slot

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

Get the highest slot of the incremental snapshot archives in a directory, for a given full snapshot slot