Snapshot

Address Book Updates every 5 hour

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

Snapshot

# Back up priv_validator_state.json if needed
cp ~/.bcna/data/priv_validator_state.json  ~/.bcna/priv_validator_state.json

# 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/mainnet/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