pub fn cmp_accounts_package_kinds_by_priority(
    a: &AccountsPackageKind,
    b: &AccountsPackageKind
) -> Ordering
Expand description

Compare accounts package kinds by priority

Priority, from highest to lowest:

  • Epoch Accounts Hash
  • Full Snapshot
  • Incremental Snapshot
  • Accounts Hash Verifier

If two Snapshots are compared, their snapshot kinds are the tiebreaker.