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 union
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
rm -rf $HOME/.union/data

Download snapshot

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

Download Wasm

Download the latest wasm file
rm -rf $HOME/.union/wasm/*
curl -L https://snap.nodex.one/union-testnet/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.union

Backup state data

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

Restart node

Restart your nodes after download a snapshot
sudo systemctl restart union