Enable conservative out-of-bound snapshot cleaning (#8811)

* Enable conservative out-of-bound snapshot cleaning

* Add tests
This commit is contained in:
Ryo Onodera
2020-03-13 14:44:00 +09:00
committed by GitHub
parent 952cd38b7b
commit 4bbf09f582
2 changed files with 47 additions and 35 deletions

View File

@@ -555,10 +555,6 @@ impl Accounts {
.for_each(|(tx, result)| self.unlock_account(tx, result, &mut account_locks));
}
pub fn has_accounts(&self, slot: Slot) -> bool {
self.accounts_db.has_accounts(slot)
}
/// Store the accounts into the DB
pub fn store_accounts(
&self,