Upgrade proposal detected

Jackal Jackal

Jackal Protocol is the purpose-built blockchain for the everyday user. No more choosing between security or user-experience. With Jackal, protecting your valuable data has never been easier.

State sync

Basic information

RPC server:

https://jackal-rpc.brocha.in:443

Peer:

94b63fddfc78230f51aeb7ac34b9fb86bd042a77@jackal-state-sync.p2p.brocha.in:30561

Stop the service and reset the data

sudo systemctl stop canined
cp $HOME/.canine/data/priv_validator_state.json $HOME/.canine/priv_validator_state.json.backup
rm -rf $HOME/.canine/data/*
mv $HOME/.canine/priv_validator_state.json.backup $HOME/.canine/data/priv_validator_state.json

Get and configure the state sync information

STATE_SYNC_RPC=https://jackal-rpc.brocha.in:443
STATE_SYNC_PEER=94b63fddfc78230f51aeb7ac34b9fb86bd042a77@jackal-state-sync.p2p.brocha.in:30561
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000))
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.canine/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
  $HOME/.canine/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
  $HOME/.canine/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
  $HOME/.canine/config/config.toml
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \
  $HOME/.canine/config/config.toml

Restart the service and check the log

sudo systemctl restart canined
sudo journalctl -u canined -f --no-hostname -o cat