bitcanna-icon

Node Snapshot Testnet Bitcanna

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:
Size:
Time:
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 bcnad
    Some also use this :
    systemctl --user stop bcnad
  • For Validator node

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