Rename snapshot.tar.bz2 to snapshot-<slot>-<hash>.tar.bz2 (bp #8482) (#8500)

automerge
This commit is contained in:
mergify[bot]
2020-02-27 00:04:14 -08:00
committed by GitHub
parent eb3b5d7382
commit 85637e8f63
13 changed files with 305 additions and 176 deletions

View File

@@ -496,6 +496,14 @@ impl Bank {
*self.hash.read().unwrap()
}
pub fn get_accounts_hash(&self) -> Hash {
self.hash()
}
pub fn update_accounts_hash(&self) -> Hash {
self.hash()
}
pub fn is_frozen(&self) -> bool {
*self.hash.read().unwrap() != Hash::default()
}