solana_runtime

Module snapshot_package

Source

Structs§

AccountsPackage
This struct packages up fields to send from AccountsBackgroundService to AccountsHashVerifier
SnapshotPackage
This struct packages up fields to send from AccountsHashVerifier to SnapshotPackagerService
SupplementalSnapshotInfo
Supplemental information needed for snapshots

Enums§

AccountsPackageKind
Accounts packages are sent to the Accounts Hash Verifier for processing. There are multiple types of accounts packages, which are specified as variants in this enum. All accounts packages do share some processing: such as calculating the accounts hash.
SnapshotKind
Snapshots come in two kinds, Full and Incremental. The IncrementalSnapshot has a Slot field, which is the incremental snapshot base slot.

Functions§

cmp_accounts_package_kinds_by_priority
Compare accounts package kinds by priority
cmp_accounts_packages_by_priority
Compare accounts packages by priority; first by type, then by slot
cmp_snapshot_kinds_by_priority
Compare snapshot kinds by priority
cmp_snapshot_packages_by_priority
Compare snapshot packages by priority; first by type, then by slot