Snapshots
How to download a snapshot
These are not official scripts and commands
Python snapshot finder script
Install:
git clone https://github.com/c29r3/snapshot-finder.git &&
cd ~/snapshot-finder && python3 -m venv venv && source ./venv/bin/activate && pip3 install -r requirements.txtUse:
python3 snapshot-finder.py --snapshot_path /PATH/TO/LEDGER -r http://api.mainnet-beta.solana.comShell script
curl -fsSL https://raw.githubusercontent.com/marat586l/solana-snap/main/snap.sh | bash -s <PUBLIC_RPC_IDENTITY> <LEDGER_PATH>How to disable snapshots
Add this to the solana.service
--full-snapshot-interval-slots 0 \
--incremental-snapshot-interval-slots 0 \
--maximum-full-snapshots-to-retain 1 \
--maximum-incremental-snapshots-to-retain 1 \Last updated