Skip to main content

Snapshot

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.

info

Choose a snapshot from the list and run the commands below. Don't forget to change snapshot_url.

sudo systemctl stop sged

# make a backup
cp $HOME/.sge/data/priv_validator_state.json $HOME/.sge/priv_validator_state.json.backup

# reset your node and download a snapshot
sged tendermint unsafe-reset-all --home $HOME/.sge --keep-addr-book
wget <snapshot_url> | lz4 -dc - | tar -xf - -C $HOME/.sge

# replace the priv_validator_state.json you have backed up
mv $HOME/.sge/priv_validator_state.json.backup $HOME/.sge/data/priv_validator_state.json

sudo systemctl restart sged && sudo journalctl -u sged -f -o cat

A list of Snapshots you can use:

Anode:

https://anode.team/SGE/main/anode.team_sge.tar.lz4

Indonode:

https://snapshots.indonode.net/sge/sge-latest.tar.lz4

Nodeist:

https://ss.nodeist.net/sge/snapshot_latest.tar.lz4

Nodex:

https://snap.nodex.one/sge/sge-latest.tar.lz4

STAVR:

http://sge.snapshot.stavr.tech:1003/sge/sge-snap.tar.lz4