This documentation under development by nodex.one team! πŸ‘·β€β™‚οΈπŸ‘‹
Networks
Testnet
πŸ”₯ Snapshot

Snapshot

Jump faster to the latest block with our fresh snapshot.

Snapshot Information

πŸ“’

Every 12 hours, snapshots are taken automatically!


Reset blockchain data

Make sure backup your priv_validator_state.json before reset
sudo systemctl stop oglabs
cp $HOME/.0gchain/data/priv_validator_state.json $HOME/.0gchain/priv_validator_state.json.backup
rm -rf $HOME/.0gchain/data

Download snapshot

Download the latest snapshot
curl -L https://snap.nodex.one/oglabs-testnet/oglabs-latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.0gchain

Backup state data

Return state file to the previous location
mv $HOME/.0gchain/priv_validator_state.json.backup $HOME/.0gchain/data/priv_validator_state.json

Restart node

Restart your nodes after download a snapshot
sudo systemctl restart oglabs