RPC, API, gRPC
gRPC:
quicksilver-testnet-grpc.itrocket.net:443
Peers, Seeds, Live Peers, Addrbook
peers:
2aed12a25bfa92e40ccb95c88692735a9488a17e@quicksilver-testnet-peer.itrocket.net:37656
seeds:
78283975c2bee9b95bbf9408cc974cbab7bfe8ef@quicksilver-testnet-seed.itrocket.net:37656
live peers: (0 active)
PEERS="2aed12a25bfa92e40ccb95c88692735a9488a17e@quicksilver-testnet-peer.itrocket.net:37656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.quicksilverd/config/config.toml
peers scanner:
PEERS="[email protected]:37656,2aed12a25bfa92e40ccb95c88692735a9488a17e@quicksilver-testnet-rpc.itrocket.net:37656,[email protected]:37656,5fc67b60aff6ce69e7b183cb35d045add8f3cf8e@quicksilver-testnet-rpc.stake-town.com:50656,cbf6e3e751d08af259b3181ecc142f57a7166662@quicksilver.rpc.t.anode.team:37656,[email protected]:63656,[email protected]:20026"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.quicksilverd/config/config.toml
addrbook: (upd 1h)
wget -O $HOME/.quicksilverd/config/addrbook.json https://server-4.itrocket.net/testnet/quicksilver/addrbook.json
genesis:
wget -O $HOME/.quicksilverd/config/genesis.json https://server-4.itrocket.net/testnet/quicksilver/genesis.json
Snapshot
prunedupdated every available 24/7 (every server stores last 2 snapshots)
height: Loading...0 blocks agoBdb:
sudo systemctl stop quicksilverd
cp $HOME/.quicksilverd/data/priv_validator_state.json $HOME/.quicksilverd/priv_validator_state.json.backup
rm -rf $HOME/.quicksilverd/data
curl https://server-4.itrocket.net/testnet/quicksilver/null | lz4 -dc - | tar -xf - -C $HOME/.quicksilverd
mv $HOME/.quicksilverd/priv_validator_state.json.backup $HOME/.quicksilverd/data/priv_validator_state.json
sudo systemctl restart quicksilverd && sudo journalctl -u quicksilverd -f
State Sync
If you don't want to wait for a long synchronization you can use:
sudo systemctl stop quicksilverd
cp $HOME/.quicksilverd/data/priv_validator_state.json $HOME/.quicksilverd/priv_validator_state.json.backup
quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd
peers="2aed12a25bfa92e40ccb95c88692735a9488a17e@quicksilver-testnet-peer.itrocket.net:37656"
SNAP_RPC="https://quicksilver-testnet-rpc.itrocket.net:443"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.quicksilverd/config/config.toml
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000));
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH && sleep 2
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ;
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ;
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ;
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ;
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.quicksilverd/config/config.toml
mv $HOME/.quicksilverd/priv_validator_state.json.backup $HOME/.quicksilverd/data/priv_validator_state.json
sudo systemctl restart quicksilverd && sudo journalctl -u quicksilverd -f
Wasm
Sorry, this project does not support WebAssembly.