solana_runtime::snapshot_package

Function cmp_snapshot_packages_by_priority

source
pub fn cmp_snapshot_packages_by_priority(
    a: &SnapshotPackage,
    b: &SnapshotPackage,
) -> Ordering
Expand description

Compare snapshot packages by priority; first by type, then by slot