lighthouse/beacon_node
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
..
beacon_chain Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
beacon_processor Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00
builder_client Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00
client fix typos (#4838) 2023-10-19 22:05:15 +00:00
eth1 fix typos (#4838) 2023-10-19 22:05:15 +00:00
execution_layer Block v3 endpoint (#4629) 2023-11-03 00:12:18 +00:00
genesis Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
http_api Block v3 endpoint (#4629) 2023-11-03 00:12:18 +00:00
http_metrics Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lighthouse_network Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
network fix deneb sync bug (#4869) 2023-10-31 21:04:18 +00:00
operation_pool Enable BLS portable feature on all CI tests (#4868) 2023-10-20 07:30:27 +00:00
src Upgrade to v1.4.0-beta.3 (#4862) 2023-10-21 13:49:27 +00:00
store Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
Cargo.toml Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00