* Add snapshot hash of full accounts state
* Use normal hashing for the accounts delta state
* Add merkle
(cherry picked from commit 947a339714
)
Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
@@ -338,6 +338,7 @@ pub fn add_snapshot<P: AsRef<Path>>(
|
||||
snapshot_storages: &[SnapshotStorage],
|
||||
) -> Result<SlotSnapshotPaths> {
|
||||
bank.purge_zero_lamport_accounts();
|
||||
bank.update_accounts_hash();
|
||||
let slot = bank.slot();
|
||||
// snapshot_path/slot
|
||||
let slot_snapshot_dir = get_bank_snapshot_dir(snapshot_path, slot);
|
||||
|
Reference in New Issue
Block a user