pub fn reserialize_bank_with_new_accounts_hash(
    bank_snapshot_dir: impl AsRef<Path>,
    slot: Slot,
    accounts_hash: &AccountsHash,
    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