lighthouse/consensus/fork_choice
Jimmy Chen 36d8849813 Add commmand for pruning states (#4835)
## Issue Addressed

Closes #4481. 

(Continuation of #4648)

## Proposed Changes

- [x] Add `lighthouse db prune-states`
- [x] Make it work
- [x] Ensure block roots are handled correctly (to be addressed in 4735)
- [x] Check perf on mainnet/Goerli/Gnosis (takes a few seconds max)
- [x] Run block root healing logic (#4875 ) at the beginning
- [x] Add some tests
- [x] Update docs
- [x] Add `--freezer` flag and other improvements to `lighthouse db inspect`

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
Co-authored-by: Michael Sproul <micsproul@gmail.com>
2023-11-03 00:12:19 +00:00
..
src Update Deneb to 1.4.0-beta.2 (devnet-9) (#4735) 2023-09-25 15:05:31 +10:00
tests Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
Cargo.toml Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00