If you didn't install lz4, let's do this first

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

Download our snapshot

wget -O snapshot_bitcanna.tar.lz4

After download the data

sudo systemctl stop bcnad

Make sure to backup your priv_validator_state.json

cp $HOME/.bcna/data/priv_validator_state.json $HOME/.bcna/priv_validator_state.json.backup

Decompress the snapshot and restart the service

rm -rf ~/.bcna/data
lz4 -c -d snapshot_bitcanna.tar.lz4  | tar -x -C $HOME/.bcna
cp ~/.bcna/priv_validator_state.json.backup ~/.bcna/data/priv_validator_state.json
sudo systemctl restart bcnad
sudo journalctl -u bcnad -f -o cat

Last updated