Snapshot

Network: Testnet | Chain ID: crossfi-evm-testnet-1 | Version: v.0.46.13

State Synchronization allows a new node to join the network by retrieving a snapshot of the application state at its current height, instead of retrieving and replaying all historical blocks. Since application states are generally much smaller than blocks, and recovering them is much faster than replaying blocks, it can reduce the time to synchronize with the network from several days to a few minutes.

Install lz4

sudo apt install lz4 -y

Stop the service and reset the data

sudo systemctl stop crossfid
cp $HOME/.mineplex-chain/data/priv_validator_state.json $HOME/.mineplex-chain/priv_validator_state.json.backup
rm -rf $HOME/.mineplex-chain/data

Download latest snapshot

curl -L https://crossfi-snapshot.dexanode.com/snapshot/crossfi/crossfi-snapshot-20240323.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.mineplex-chain
mv $HOME/.mineplex-chain/priv_validator_state.json.backup $HOME/.mineplex-chain/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl start crossfid && sudo journalctl -u crossfid -f --no-hostname -o cat

Last updated