snapshot


description: Catch the latest block faster by using our daily snapshots.

Snapshot

Comdex
Comdex

Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.

Snapshots are taken automatically every 12 hours

pruning: 107/0/13 | indexer: null | version tag: v15.1.0

BLOCK
AGE
DOWNLOAD

628406

27 hours

Instructions

Quick setup

One liner to get moving quickly

sudo systemctl stop comdex
cp .comdex/data/priv_validator_state.json .comdex/priv_validator_state.json.backup
rm -rf .comdex/data
curl -L https://snapshots.lavenderfive.com/testnet-snapshots/comdex/comdex_628406.tar.lz4 | tar -axf - -C .comdex
mv .comdex/priv_validator_state.json.backup .comdex/data/priv_validator_state.json
sudo systemctl start comdex && sudo journalctl -u comdex -f --no-hostname -o cat

Stop comdex and reset the data

sudo systemctl stop comdex
cp .comdex/data/priv_validator_state.json .comdex/priv_validator_state.json.backup
rm -rf .comdex/data

Download latest snapshot

curl -L https://snapshots.lavenderfive.com/testnet-snapshots/comdex/comdex_628406.tar.lz4 | tar -axf - -C .comdex
mv .comdex/priv_validator_state.json.backup .comdex/data/priv_validator_state.json

Restart comdex and check the log

sudo systemctl start comdex && sudo journalctl -u comdex -f --no-hostname -o cat

Last updated