Snapshots
When a new node joins a network, it can use a snapshot — a compressed backup of the chain's data — to quickly synchronize with the current state. Snapshots expedite the process, reducing the need to download and verify every transaction from the beginning.
📘How to Use
Select a snapshot from the list to view the relevant configuration commands.
# Stop the service
sudo systemctl stop celestia.service
# Reset the data and save validator state
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
# Download the latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/celestia/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
# Restart the service and check the log
sudo systemctl start celestia.service && sudo journalctl -fu celestia.service -o cat