Indonode
Explorer
  • Home
  • Mainnet
    • Planq
      • Node Installation
      • Snapshot
      • Upgrade
      • CLI Cheatsheet
    • Chain4Energy
      • Node Installation
      • Upgrade
      • CLI Cheatsheet
    • Bitcanna
      • Node Installation
      • Snapshot
      • Statesync
      • Upgrade
      • CLI Cheatsheet
    • Band
      • Node Installation
      • Yoda Configuration
      • Snapshot
      • Upgrade
      • CLI Cheatsheet
    • Source
      • Node Installation
      • Snapshot
      • Statesync
      • Upgrade
      • CLI Cheatsheet
    • SGE
      • Node Installation
      • Snapshot
      • Statesync
      • Upgrade
      • CLI Cheatsheet
  • Testnet
    • Chain4Energy
      • Node Installation
      • Upgrade
      • CLI Cheatsheet
    • Selfchain
      • Node Installation
      • Upgrade
      • CLI Cheatsheet
    • Entangle
      • Node Installation
      • Snapshot
      • Upgrade
      • CLI Cheatsheet
    • Mantra
      • Node Installation
      • Snapshot
      • Upgrade
      • CLI Cheatsheet
    • Entrypoint
      • Node Installation
      • Snapshot
      • Statesync
      • Upgrade
      • CLI Cheatsheet
    • Nulink
      • Worker Installation
      • Bond Worker
      • Update Worker
    • Namada
      • Node Installation
      • Useful Commands
  • Other
Powered by GitBook
On this page
  • Snapshot Guide
  • Setup Server
PreviousNode InstallationNextStatesync

Last updated 1 year ago


Latest Version
Chain-id
Wasm

v1.1.0

sgenet-1

DISABLED

Snapshot Guide

Setup Server

# Install Necessary package
sudo apt update
sudo apt-get install snapd lz4 -y

Turn off state-sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.sge/config/config.toml
# Stop the service and reset the data
sudo systemctl stop sged
cp $HOME/.sge/data/priv_validator_state.json $HOME/.sge/priv_validator_state.json.backup
rm -rf $HOME/.sge/data
# Download Latest Snapshot
curl -L https://snapshots.indonode.net/sge/sge-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.sge
mv $HOME/.sge/priv_validator_state.json.backup $HOME/.sge/data/priv_validator_state.json
# Restart Service
sudo systemctl restart sged && sudo journalctl -fu sged -o cat