pub fn purge_old_bank_snapshots_at_startup(bank_snapshots_dir: impl AsRef<Path>)
Expand description

At startup, purge old (i.e. unusable) bank snapshots

Only a single bank snapshot could be needed at startup (when using fast boot), so retain the highest bank snapshot “post”, and purge the rest.