Paxi Snapshot
ℹ️ Snapshot Info
All snapshot-related information — including the latest block height, file size, MD5/SHA256 checksums, last updated time, and download links — is now available at:
Snapshots are maintained by LinkNode, our infrastructure division supporting blockchain networks with snapshots, RPC, API, and gRPC endpoints.
Prerequisites
Before you begin, ensure you have the following:
- The
paxid
binary is installed. lz4
is installed. If not, run:sudo apt-get install lz4 -y
.
- Download Snapshot
bash
mkdir -p ~/snapshot
cd ~/snapshot
SNAPSHOT_URL="https://vault2.astrostake.xyz/mainnet/paxi/paxi_snapshot.tar.lz4"
SNAPSHOT_FILE=$(basename "$SNAPSHOT_URL")
if [ ! -f "$SNAPSHOT_FILE" ]; then
echo "Downloading $SNAPSHOT_FILE..."
wget "$SNAPSHOT_URL"
else
echo "$SNAPSHOT_FILE already exists. Skipping download."
fi
- Stop Service
bash
sudo systemctl stop paxid.service
- Backup & Delete Old Data
bash
cp $HOME/.paxi/paxi/data/priv_validator_state.json $HOME/.paxi/priv_validator_state.json.backup
bash
rm -rf $HOME/.paxi/paxi/data
- Extract & Restore
bash
lz4 -c -d paxi_snapshot.tar.lz4 | tar -x -C $HOME/.paxi/paxi
bash
mv $HOME/.paxi/priv_validator_state.json.backup $HOME/.paxi/paxi/data/priv_validator_state.json
- Restart Service
bash
sudo systemctl restart paxid
sudo journalctl -u paxid -f -o cat