Skip to content
Height48,494,692 Producing blocks Chain IDblockx_19191-1 Version3.0

BlockX snapshot

Our latest BlockX snapshot, and the steps to restore it into a node that is already set up.

Height
48,488,005
Taken
Size
142.7 MB
Database
pebbledb

Step 1: Install aria2 and zstd

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

Step 2: Stop the node, back up the validator state and reset

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

Step 3: Set the database backend

The data opens only with the backend it was written with, pebbledb. Your node binary must be built with support for it.

sed -i -E 's/^db_backend *=.*/db_backend = "pebbledb"/' $HOME/.blockxd/config/config.toml
sed -i -E 's/^app-db-backend *=.*/app-db-backend = "pebbledb"/' $HOME/.blockxd/config/app.toml

Step 4: Download and extract

The commands name the current archive; copy them again for a newer snapshot.

Download with

Streams the archive into the node's folder; needs no free disk space for it.

Reading the current snapshot…

Step 5: Start the node and follow the logs

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