Function solana_runtime::snapshot_utils::add_bank_snapshot
source · pub fn add_bank_snapshot<P: AsRef<Path>>(
bank_snapshots_dir: P,
bank: &Bank,
snapshot_storages: &[SnapshotStorage],
snapshot_version: SnapshotVersion
) -> Result<BankSnapshotInfo>
Expand description
Serialize a bank to a snapshot