To help validators to deploy or recover quickly,
we provide daily archives of the Blockchain from high-performance infrastructure.
File | Date | Size | Height | Binary | Download |
---|
systemctl stop xpla.service
cp $HOME/.xpla/data/priv_validator_state.json $HOME/.xpla/priv_validator_state.json.backup
mv $HOME/.xpla/data $HOME/.xpla/data.backup
curl -L ... | tar -Ilz4 -xf - -C $HOME/.xpla
cp $HOME/.xpla/priv_validator_state.json.backup $HOME/.xpla/data/priv_validator_state.json
systemctl start xpla.service
sudo apt install curl tar jq lz4 -y2. Stop the node
systemctl stop xpla.service3. Remove old data
4. Download snapshot# Always backup priv_validator_state.json on validator node, to avoid double-sign
cp $HOME/.xpla/data/priv_validator_state.json $HOME/.xpla/priv_validator_state.json.backupIf possible, keep this backup until your node is running
mv $HOME/.xpla/data $HOME/.xpla/data.backup
curl -L ... | tar -Ilz4 -xf - -C $HOME/.xpla
# Always restore priv_validator_state.json on validator node, to avoid double-sign
cp $HOME/.xpla/priv_validator_state.json.backup $HOME/.xpla/data/priv_validator_state.json
5. Start the nodesystemctl start xpla.service6. Monitor your node
journalctl -u xpla
# Is your node catching up?
curl http://localhost:26657/status | jq .result.sync_info
7. Clean-uprm -rf $HOME/.xpla/data.backup
BlueStake contribute to XPLA by offering several tools and services,
tailored for users, developers, and node operators.