Skip to main content

Shentu Sync

Chain ID: shentu-2.2 | Node Version: v2.18.0

Snapshot​

Install Dependencies​

sudo apt install lz4 && sudo apt install aria2

Stop Service​

sudo systemctl stop shentud

Backup priv_validator_state.json​

cp $HOME/.shentud/data/priv_validator_state.json $HOME/.shentud/priv_validator_state.json.backup

Reset Chain Data​

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

Download Snapshot​

aria2c -x 8 -s 8 https://snapshot.shazoes.xyz/mainnets/snapshot-shentu.tar.lz4 && lz4 -c -d snapshot-shentu.tar.lz4 | tar -x -C $HOME/.shentud && rm snapshot-shentu.tar.lz4

Restore Backup​

mv $HOME/.shentud/priv_validator_state.json.backup $HOME/.shentud/data/priv_validator_state.json

Restart Service​

sudo systemctl restart shentud && sudo journalctl -fu shentud -o cat