pub fn bank_to_full_snapshot_archive(
    bank_snapshots_dir: impl AsRef<Path>,
    bank: &Bank,
    snapshot_version: Option<SnapshotVersion>,
    snapshot_archives_dir: impl AsRef<Path>,
    archive_format: ArchiveFormat,
    maximum_full_snapshot_archives_to_retain: usize,
    maximum_incremental_snapshot_archives_to_retain: usize
) -> Result<FullSnapshotArchiveInfo>
Expand description

Convenience function to create a full snapshot archive out of any Bank, regardless of state. The Bank will be frozen during the process.

Requires: - bank is complete