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 | v0.31.9 |
Block | Age | Download |
---|---|---|
508253 | 4 hours | snapshot (1.4 GB) with sha256sum 1b74d3 |
Stop the service and reset the data
sudo systemctl stop namada-testnet.service
cp $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/cometbft/data/priv_validator_state.json $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/priv_validator_state.json.backup
rm -rf $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/cometbft/data $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/db
Download latest snapshot
curl -L https://snapshots.kjnodes.com/namada-testnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.local/share/namada
mv $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/priv_validator_state.json.backup $HOME/.local/share/namada/tududes-fragile.ba8b841cd08325/cometbft/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start namada-testnet.service && sudo journalctl -u namada-testnet.service -f --no-hostname -o cat