Snapshot

The snapshot is designed for node operators to run an efficient validator service on Osmosis chain

Snapshots
Quadblock
soon

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

wget -O planq_2916360.tar.lz4 https://snapshots.polkachu.com/snapshots/planq/planq_2916360.tar.lz4 --inet4-only

systemctl stop planqd
planqd tendermint unsafe-reset-all --home $HOME/.planqd --keep-addr-book

lz4 -c -d planq_2916360.tar.lz4  | tar -x -C $HOME/.planqd
systemctl start planqd

rm -v planq_2916360.tar.lz4
sudo service planq status
sudo journalctl -u planq -f

Nodejumper
sudo systemctl stop gitopiad

cp $HOME/.gitopia/data/priv_validator_state.json $HOME/.gitopia/priv_validator_state.json.backup 

gitopiad tendermint unsafe-reset-all --home $HOME/.gitopia --keep-addr-book 
curl https://snapshots2.nodejumper.io/gitopia/gitopia_2023-05-20.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.gitopia

mv $HOME/.gitopia/priv_validator_state.json.backup $HOME/.gitopia/data/priv_validator_state.json 

sudo systemctl restart gitopiad
sudo journalctl -u gitopiad -f --no-hostname -o cat

Other Sources
sudo apt update

sudo apt-get install snapd lz4 -y

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.planqd/config/config.toml
sudo systemctl stop planqd

rm -rf ~/.planqd/data

planqd tendermint unsafe-reset-all --home ~/.planqd/

SNAP_NAME=$(curl -s https://snapshots.nodestake.top/planq/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://snapshots.nodestake.top/planq/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.planqd

sudo systemctl restart planqd

journalctl -f -u planqd

Last updated