lotus
lotus copied to clipboard
feat(index): add lotus shed commands to prune all indexes
Related Issues
Fixes: #12377
Proposed Changes
-
Add a
lotus-shed
command to prune the indexes, other- Add a
prune-txhash
command to prune tx hash index - Add a
prune-events
command - refactor
prune-msgindex
command to prune the msg index - Add
prune-all-indexes
command to prune all the indexes (msg, events, tx hash)at once
- Add a
-
Use
older-than
flag to get the height to start pruning indexes older than the provided height