solana_runtime

Module snapshot_bank_utils

Source

Structs§

BankFromArchivesTimings
BankFromDirTimings

Constants§

DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS
DEFAULT_INCREMENTAL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS
DISABLED_SNAPSHOT_ARCHIVE_INTERVAL

Functions§

bank_fields_from_snapshot_archives
Utility for parsing out bank specific information from a snapshot archive. This utility can be used to parse out bank specific information like the leader schedule, epoch schedule, etc.
bank_from_latest_snapshot_archives
Rebuild bank from snapshot archives
bank_from_latest_snapshot_dir
follow the prototype of fn bank_from_latest_snapshot_archives, implement the from_dir case
bank_from_snapshot_archives
Rebuild bank from snapshot archives. Handles either just a full snapshot, or both a full snapshot and an incremental snapshot.
bank_from_snapshot_dir
Build bank from a snapshot (a snapshot directory, not a snapshot archive)
bank_to_full_snapshot_archive
Convenience function to create a full snapshot archive out of any Bank, regardless of state. The Bank will be frozen during the process. This is only called from ledger-tool or tests. Warping is a special case as well.
bank_to_incremental_snapshot_archive
Convenience function to create an incremental snapshot archive out of any Bank, regardless of state. The Bank will be frozen during the process. This is only called from ledger-tool or tests. Warping is a special case as well.
get_snapshot_storages
Get the snapshot storages for this bank
serialize_status_cache