Skip to main content

La Tanda Snapshot

Loading snapshot status...

Update & install aria2, zstd

sudo apt update && sudo apt install aria2 zstd -y

Stop latanda service, backup the validator state & reset

sudo service latanda stop
cp $HOME/.latanda/data/priv_validator_state.json $HOME/.latanda/priv_validator_state.json.backup
latandad tendermint unsafe-reset-all --home $HOME/.latanda --keep-addr-book

Set the node's database backend to the snapshot's (not known right now: replace the placeholder with pebbledb or goleveldb). The data only opens with that backend, and your node binary must be built with support for it.

sed -i -E 's/^db_backend *=.*/db_backend = "<pebbledb|goleveldb>"/' $HOME/.latanda/config/config.toml
sed -i -E 's/^app-db-backend *=.*/app-db-backend = "<pebbledb|goleveldb>"/' $HOME/.latanda/config/app.toml

Download the snapshot, extract it, and restore the validator state. If curl downloads are slow, consider using aria2 for faster speeds.

Loading the current snapshot...

Start latanda service & monitor logs

sudo service latanda start && sudo journalctl -fu latanda -o cat