Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory.
The instructions assume an initialized node, at least following namadac join-network
.
Snapshots are taken automatically every 6 hours starting at 01:15 UTC
Pruning | Indexer | Version Tag |
---|---|---|
n/a | null | v1.0.0 |
Block | Age | Download |
---|---|---|
333196 | 4 hours | snapshot (16.42 GB) with sha256sum 8444ba |
Stop the service and reset the data
sudo systemctl stop namada.service
cp $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/cometbft/data/priv_validator_state.json $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/priv_validator_state.json.backup
rm -rf $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/cometbft/data $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/db
Download latest snapshot
curl -L https://snapshots.kjnodes.com/namada/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.local/share/namada
mv $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/priv_validator_state.json.backup $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/cometbft/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start namada.service && sudo journalctl -u namada.service -f --no-hostname -o cat