Snapshot

Catch the latest block faster by using our daily snapshots.

Snapshot

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 24 hours

https://snapshots.stakeandrelax.net/c4e/snapshot/_latest.tar.lz4

Instructions

Stop the service and reset the data

sudo systemctl stop c4ed
cp $HOME/.c4e/data/priv_validator_state.json $HOME/.c4e/priv_validator_state.json.backup
rm -rf $HOME/.c4e/data

Download latest snapshot

curl -L https://snapshots.stakeandrelax.net/c4e/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.c4e
mv $HOME/.c4e/priv_validator_state.json.backup $HOME/.c4e/data/priv_validator_state.json

Add seeds

sed -i -e "s|^seeds *=.*|seeds = \"[email protected]\"|" $HOME/.c4e/config/config.toml

Restart the service and check the log

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

Last updated