Snapshot

Instruction

If you didn't install lz4, let's do this first

sudo apt update
sudo apt install snapd -y
sudo snap install lz4

Download our snapshot

wget -O snapshot_c4e.tar.lz4 https://kalia.network/snapshots/snapshot_c4e.tar.lz4

After download the data

sudo systemctl stop c4ed

Make sure to backup your priv_validator_state.json

cp $HOME/.c4e-chain/data/priv_validator_state.json $HOME/.c4e-chain/priv_validator_state.json.backup

Decompress the snapshot and restart the service

rm -rf ~/.c4e-chain/data
lz4 -c -d snapshot_c4e.tar.lz4  | tar -x -C $HOME/.c4e-chain
cp ~/.c4e-chain/priv_validator_state.json.backup ~/.c4e-chain/data/priv_validator_state.json
sudo systemctl restart c4ed
sudo journalctl -u c4ed -f -o cat

Last updated