ledgerwatch / erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
3.03k stars 1.04k forks source link

`snapshots rm-state-snapshots --latest` command #10742

Closed awskii closed 1 week ago

awskii commented 1 week ago

Allows to skip checking latest actual file range and parse it automatically. Parsed max step require user prompt to delete:

remove latest snapshot files with stepFrom=14?
1) Remove
2) Exit
 (pick number): 1