Preparing Your System - Install lz4 Compression Tool

sudo apt update
sudo apt install lz4

Downloading the Snapshot

Use wget to download the snapshot file:

wget -O jackal_snapshot.tar.lz4 https://snapshot.huginn.tech/mainnet/humans/humans_1089-1_2024-01-04.tar.lz4

Stop Your Node

sudo service canined stop

Backup Important Files (If running a validator)

Backup your priv_validator_key.json:

cp ~/.canined/data/priv_validator_state.json ~/.canined/priv_validator_state.json

Reset Your Node

canined tendermint unsafe-reset-all --home $HOME/.canined --keep-addr-book

Decompress the Snapshot

Decompress and extract the snapshot to your data directory:

lz4 -c -d jackal_snapshot.tar.lz4 | tar -x -C $HOME/.canined

Restore the Validator File (If applicable)

If you're a validator, restore your priv_validator_state.json:

cp ~/.canined/priv_validator_state.json ~/.canined/data/priv_validator_state.json

Restart Your Node

  • sudo service canined start

Remove the Downloaded Snapshot

To free up space, delete the snapshot file:

rm -v jackal_snapshot.tar.lz4

Check Node Status

Check if your node is running correctly:

sudo service canined status
sudo journalctl -u canined -f

Last updated