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. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.
Snapshots are taken automatically every 2 hours starting at 00:00 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | v6.0.0 |
Block | Age | Download |
---|---|---|
114934110 | 6 days | snapshot (12.98 GB) with sha256sum 33bb75 |
Stop the service
sudo systemctl stop sei.service
Reset the data and save validator state
cp $HOME/.sei/data/priv_validator_state.json $HOME/.sei/priv_validator_state.json.backup
rm -rf $HOME/.sei/data
Make sure SeiDB is enabled
sed -i \
-e 's|^sc-enable *=.*|sc-enable = true|' \
-e 's|^ss-enable *=.*|ss-enable = true|' \
$HOME/.sei/config/app.toml
Download latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/sei/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.sei
mv $HOME/.sei/priv_validator_state.json.backup $HOME/.sei/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start sei.service && sudo journalctl -fu sei.service -o cat