Manual compaction endpoint (#7072)

* manual compaction endpoint

* linting

---------

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Eitan Seri-Levi
2025-03-03 21:44:50 -07:00
committed by GitHub
parent feedf5d662
commit 1b585978c1
3 changed files with 46 additions and 0 deletions

View File

@@ -1709,6 +1709,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
}
}
pub fn manually_compact_database(&self) {
self.store_migrator.process_manual_compaction();
}
pub fn manually_finalize_state(
&self,
state_root: Hash256,