Jackal
Stop canined
service and reset database:
sudo systemctl stop canined
canined tendermint unsafe-reset-all --home $HOME/.canine --keep-addr-book
PEER="aca915dcd2087459a5d3e400b707ce1932f91401@65.108.229.102:22656"
SNAP="https://rpc-jackal.huginn.tech:443"
LATEST_HEIGHT=$(curl -s $SNAP/block | jq -r .result.block.header.height)
TRUST_HEIGHT=$((LATEST_HEIGHT - 1000))
TRUST_HASH=$(curl -s "$SNAP/block?height=$TRUST_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP,$SNAP\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$TRUST_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.canine/config/config.toml
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEER\"/" $HOME/.canine/config/config.toml
2- Run canined
and check logs
canined
and check logssudo systemctl start canined
sudo journalctl -u canined -f -o cat
Last updated