Snapshot

Updates every 4 hours

Install dependencies, if needed

sudo apt update
sudo apt install lz4 -y

Sync from Snapshot

Height
Size
Pruning
Indexer
Creation Time (UTC+3)

14946159

0.55GB

custom/100/0/10

null

2024-07-24T20:10:38

sudo systemctl stop bcnad

cp $HOME/.bcna/data/priv_validator_state.json $HOME/.bcna/priv_validator_state.json.backup
${BINARY_NAME} tendermint unsafe-reset-all --home $HOME/.bcna --keep-addr-book

rm -rf $HOME/.bcna/data 

SNAP_NAME=$(curl -s https://snapshots.l0vd.com/mainnets/bitcanna/bitcanna-1/ | egrep -o ">bitcanna-1.*\.tar.lz4" | tr -d ">")
curl https://snapshots.l0vd.com/mainnets/bitcanna/bitcanna-1/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/.bcna/data

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

sudo systemctl restart bcnad
sudo journalctl -u bcnad -f --no-hostname -o cat

Last updated