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 zetacored

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

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

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

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

A list of Snapshots you can use:

ITRocket:

https://mainnet-files.itrocket.net/zetachain/snap_zetachain.tar.lz4

Lavender.Five:

https://snapshots.lavenderfive.com/snapshots/zetachain/zetachain_3068013.tar.lz4 

NodeJumper:

https://snapshots.nodejumper.io/zetachain/zetachain_latest.tar.lz4