TENET SNAPSHOT SETUP
# INSTALL LZ4
sudo apt update
sudo apt install lz4 -y
# STOP HUMANS NODE
sudo systemctl stop tenetd
# KEYS BACKUP
# If you are a Validator remember to backup your keys
# If you are a Validator remember to backup your keys
priv_validator_key.json
and node_key.json
mkdir $HOME/backup
cp $HOME/.tenetd/config/priv_validator_key.json $HOME/backup
cp $HOME/.tenetd/config/node_key.json $HOME/backup
# RESET TENETD
tenetd tendermint unsafe-reset-all --home $HOME/.tenetd
</code/
# DOWNLOAD AND EXTRACT SNAPSHOT AND ADDRBOOK.JSON
wget https://snapshot.safeblock.space/tenet/addrbook.json -P $HOME/.tenetd/config
wget https://snapshot.safeblock.space/tenet/tenet-snapshot_03-12-2023.tar.lz4
lz4 -c -d tenet-snapshot_03-12-2023.tar.lz4 | tar -x -C $HOME/.tenetd
rm tenet-snapshot_03-12-2023.tar.lz4
# START TENET NODE
# CHECK IF NODE HAS STARTED
# (Ctrl+C To Exit)
# (Ctrl+C To Exit)
If response is “true”, you not are synched, wait…. When response is “false”, your node are synched to Tenet Network.
sudo systemctl start tenetd
# CHECK IF NODE HAS STARTED
sudo journalctl -fu tenetd -o cat
# (Ctrl+C To Exit)
sudo journalctl -fu tenetd -o cat | grep index
# (Ctrl+C To Exit)
http://0.0.0.0:26657/status | jq -r .result.sync_info.catching_up
If response is “true”, you not are synched, wait…. When response is “false”, your node are synched to Tenet Network.