selfchain-icon

Node Snapshot Testnet Selfchain

You can use the node snapshot below to get the block height according to the latest snapshot file we uploaded, we usually update the snapshot every 12/24 hours "UTC". With node snapshots, you can save storage space and time to sync your nodes.

Our Prune Configuration

                    
pruning = "custom"

# applied pruning strategy
pruning-keep-recent = "100"
pruning-interval = "10"

                    
                

Snapshot Info

location: -
file name:
block height:
snapshot size:
timestamp:
Download

Instructions with terminal

Note*

- If snapshot info doesn't show data, it means our server is down.
- Contact us if you need help / report.
- Ignore red text if you are not a validator.
- If you are a validator that uses a single node, make sure to back up priv_validator_key.json and priv_validator_state.json. Security reason
  • Install requirement if don't have:
    sudo apt install lz4 -y
  • Stop node :
    sudo systemctl stop selfchaind
    Some also use this :
    systemctl --user stop selfchaind
  • For Validator node

  • Back up priv_validator_key.json in safe place:
                                
    # default path
    # $HOME/.selfchain/config/priv_validator_key.json
                            
  • Back up priv_validator_state.json:
    cp $HOME/.selfchain/data/priv_validator_state.json $HOME/.selfchain/priv_validator_state.json.bak
  • Reset chain data:
    selfchaind tendermint unsafe-reset-all --home $HOME/.selfchain --keep-addr-book
  • Download Snapshot Data :
    curl -o - -L https://testnet-snapshot.genznodes.dev/selfchain/Not-Available | lz4 -c -d - | tar -x -C $HOME/.selfchain
  • Validator node move priv_validator_state.json that was backed up earlier:
    mv $HOME/.selfchain/priv_validator_state.json.bak $HOME/.selfchain/data/priv_validator_state.json
  • Restart node:
    sudo systemctl restart selfchaind
    journalctl -fu selfchaind -o cat
    Some also use this :
    systemctl --user restart selfchaind
    journalctl --user -fu selfchaind -o cat