Snapshot

Snapshot(every six hours)

Pruning: custom/100/0/10 - Indexer: kv

Automatically

#Download bcna_snapshot.sh
wget https://snapshot-bcna.kjinc.io/bcna_snapshot.sh

#Make bcna_snapshot executable
chmod +x bcna_snapshot.sh

#Execute bcna_snapshot.sh
./bcna_snapshot.sh

#Delete the snapshot script
rm -v bcna_snapshot.sh

Manually

Block num refer to https://snapshot-bcna.kjinc.io/

#Install lz4
sudo apt update
sudo apt install snapd -y
sudo snap install lz4

#Download snapshot
wget https://snapshot-bcna.kjinc.io/bcna_[block_num].tar.lz4

#Stop and reset your node
systemctl stop bcnad && bcnad tendermint unsafe-reset-all --home $HOME/.bcna --keep-addr-book

#Decompress snapshot
lz4 -c -d bcna_[block_num].tar.lz4  | tar -x -C $HOME/.bcna

#Restart your node and monitor
systemctl restart bcnad && journalctl -fu bcnad -o cat

#Remove the snapshot
rm -v bcna_[block_num].tar.lz4

Last updated