QuickSilver
Stop quicksilverd
service and reset database:
sudo systemctl stop quicksilverd
quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd --keep-addr-book
PEER="abae769721029d56a2f62e7b0af034e9e25c845f@65.108.229.102:25656"
SNAP="https://rpc-quicksilver.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/.quicksilverd/config/config.toml
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEER\"/" $HOME/.quicksilverd/config/config.toml
2- Run quicksilverd
and check logs
quicksilverd
and check logssudo systemctl start quicksilverd
sudo journalctl -u quicksilverd-f -o cat
Last updated