Services Dexanode
  • Mapping Networks
    • Mapping Networks
  • Mainnet
    • Planq Network
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Lambda Network
      • Installation
    • Ununifi
      • Installation
      • Manual Installation
    • Lambda Network
  • Testnet
    • CreditCoin (Polkadot)
    • BEVM Incentiviced Testnet Full Node
      • Binaries
      • Docker
    • Dymension Froopyland
      • Create Pull Request
      • Deploy NFT & Smart Contract
    • Noria
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Artela
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Empower
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Cross Finance
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • Tool and Services
    • Eclipse Testnet
      • Eclipse Testnet Bridge Quest
    • Polymer
      • Polymer With Docker
      • Polymer Challenge 4
      • Polymer Challenge 4 Gitpod
    • Risc Zero Contributed Phase 1
  • Page 2
  • Tooling Service
    • Create Custom Endpoint Cosmos
    • Create custom endpoint Initia Node
    • Create Snapshoot
  • Page
Powered by GitBook
On this page
  1. Testnet
  2. Cross Finance

Snapshot

PreviousUpgradeNextStatesync

Last updated 1 year ago

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