Module snapshot_bank_utils

Module snapshot_bank_utils 

Source

Structs§

BankFromArchivesTimings
BankFromDirTimings

Functions§

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.