solana_runtime::snapshot_package

Function cmp_accounts_packages_by_priority

Source
pub fn cmp_accounts_packages_by_priority(
    a: &AccountsPackage,
    b: &AccountsPackage,
) -> Ordering
Expand description

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