Snapshot

Address Book Updates every 5 hour

wget -O $HOME/.bcna/config/addrbook.json https://files.nodeshub.online/testnet/bitcanna/addrbook.json

Snapshot

sudo systemctl stop bitcanna
# Back up priv_validator_state.json if needed
cp ~/.bcna/data/priv_validator_state.json  ~/.bcna/priv_validator_state.json.backup

# On some tendermint chains
bcnad unsafe-reset-all --home $HOME/.bcna --keep-addr-book

# On other tendermint chains
bcnad tendermint unsafe-reset-all --home $HOME/.bcna --keep-addr-book

curl https://files.nodeshub.online/testnet/bitcanna/snapshot/snap_bitcanna.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.bcna

mv $HOME/.bcna/priv_validator_state.json.backup $HOME/.bcna/data/priv_validator_state.json
sudo systemctl restart bitcanna && sudo journalctl -u bitcanna -f -o cat

Last updated