
Snapshot
Stop node
Reminder: The service file name you're using could be one of the following: 0gd.service/ 0gchaind.service/ ogd.service. Please make sure you're using the correct service file name based on your configuration.
sudo systemctl stop 0gd.serviceBackup priv_validator_state.json & reset data:
priv_validator_state.json & reset data:cp ~/.0gchain/data/priv_validator_state.json ~/.0gchain/priv_validator_state.json.backupReset DB:
0gchaind tendermint unsafe-reset-all --home $HOME/.0gchain --keep-addr-bookInstall tool:
sudo apt-get install wget lz4 aria2 pv -yDownload Snapshot :
Latest snapshot: Block 1206800
Due to the large file size, it is recommended to run the download and extract process within a tmux or screen session to avoid interruptions that could result in file corruption
cd $HOME
rm -f 0gchain_snapshot.lz4
wget --show-progress https://josephtran.co/0gchain_snapshot.lz4Extract Snapshot:
Move priv_validator_state.json back:
priv_validator_state.json back:Restart node:
Last updated