♻️ Snapshot
Info
Updated every 6 hours. Pruning: custom | 100/0/10 | indexer: null
echo "Lumera Snapshot Height: $(curl -s https://files.mictonode.com/lumera/snapshot/block-height.txt)"
sudo systemctl stop lumerad
cp $HOME/.lumera/data/priv_validator_state.json $HOME/.lumera/priv_validator_state.json.backup
rm -rf $HOME/.lumera/data
SNAPSHOT_URL="https://testnet-snapshot.ibs.team/Lumera/goleveldb/Lumera_goleveldb_block-2956698.tar.zst"
if curl -s --head "$SNAPSHOT_URL" | head -n 1 | grep "200" > /dev/null; then
curl -L "$SNAPSHOT_URL" | zstd -dc | tar -xf - -C $HOME/.lumera
mv $HOME/.lumera/priv_validator_state.json.backup $HOME/.lumera/data/priv_validator_state.json
sudo systemctl restart lumerad && sudo journalctl -fu lumerad -o cat
else
echo "Snapshot URL'ye erişilemiyor"
fi