lighthouse/beacon_node/store/src
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
..
impls Rename eip4844 to deneb (#4129) 2023-03-26 11:49:16 -04:00
chunk_writer.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
chunked_iter.rs Fix bug in block root storage (#4663) 2023-08-28 05:34:28 +00:00
chunked_vector.rs rust 1.72 lints (#4659) 2023-08-24 14:33:24 -04:00
config.rs Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
errors.rs Fix block backfill with genesis skip slots (#4820) 2023-10-27 05:08:49 +00:00
forwards_iter.rs Merge unstable 20230911 into deneb-free-blobs. 2023-09-11 12:09:58 +10:00
garbage_collection.rs merge upstream, add back get_blobs logic 2023-02-13 16:29:21 -05:00
hot_cold_store.rs Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
impls.rs Separate execution payloads in the DB (#3157) 2022-05-12 00:42:17 +00:00
iter.rs Fix lints for Rust 1.63 (#3459) 2022-08-12 00:56:39 +00:00
leveldb_store.rs Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
lib.rs Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
memory_store.rs Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
metadata.rs Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
metrics.rs More deneb cleanup (#4640) 2023-08-20 21:17:17 -04:00
partial_beacon_state.rs Merge branch 'remove-into-gossip-verified-block' of https://github.com/realbigsean/lighthouse into merge-unstable-deneb-june-6th 2023-07-06 16:51:35 -04:00
reconstruct.rs Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00