[email protected]:26656
[email protected]:26656
[email protected]:52656
(16 active)
PEERS="[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:22425,[email protected]:32425,[email protected]:22425,[email protected]:26646,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:20038,[email protected]:20038,[email protected]:20038,[email protected]:26656,[email protected]:10056"sed -i "s/^\([[:space:]]*\)persistent_peers[[:space:]]*=.*/\1persistent_peers = \"$PEERS\"/" $HOME/.story/story/config/config.toml
story tendermint unsafe-reset-all --home $HOME/.storySTATYSYNC_RPC=https://story-rpc.stakeme.pro:443LATEST_HEIGHT=$(curl -s $STATYSYNC_RPC/block | jq -r .result.block.header.height);BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000));TRUST_HASH=$(curl -s "$STATYSYNC_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)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/.story/story/config/config.toml