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

automerge
This commit is contained in:
mergify[bot]
2020-02-26 23:31:44 -08:00
committed by GitHub
parent 0198f9e8af
commit a64b8a2705
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()
}