pub fn reserialize_bank_with_new_accounts_hash(
    bank_snapshots_dir: impl AsRef<Path>,
    slot: Slot,
    accounts_hash: &Hash,
    incremental_snapshot_persistence: Option<&BankIncrementalSnapshotPersistence>
) -> bool
Expand description

effectively updates the accounts hash in the serialized bank file on disk read serialized bank from pre file update accounts_hash write serialized bank to post file return true if pre file found