Snapshot

In order to increase the synchronization speed of block nodes, we provide the latest snapshot every day.

curl -C - -OL https://snapshot.kubenode.xyz/testnet/airchains/airchains_latest.tar.lz4

Wait for the snapshot to download and then stop the node.

sudo systemctl stop junctiond

Next we need to clear the old data of the node. We recommend that you back up ~/.junction/config/priv_validator_key.json and make sure no other running nodes use this file, otherwise it may cause double signing and your validator will be jailed permanently.

mkdir -p /backup/junction/
cp ~/.junction/config/priv_validator_key.json /backup/junction/

junctiond tendermint unsafe-reset-all --home ~/.junction --keep-addr-book

Decompress the snapshot to the junction directory.

lz4 -c -d airchains_latest.tar.lz4  | tar -x -C $HOME/.junction

After everything is done, restart the node and check whether the log is normal.

Last updated