File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,11 @@ sudo journalctl -u realio-networkd -f -o cat
98
98
State Sync:
99
99
````
100
100
sudo systemctl stop realio-networkd
101
+
101
102
cp $HOME/.realio-network/data/priv_validator_state.json $HOME/.realio-network/priv_validator_state.json.backup
103
+
102
104
realio-networkd tendermint unsafe-reset-all --home $HOME/.realio-network --keep-addr-book
105
+
103
106
SNAP_RPC="http://realio.srgts.xyz:37657"
104
107
105
108
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
@@ -114,5 +117,6 @@ s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
114
117
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.realio-network/config/config.toml
115
118
116
119
mv $HOME/.realio-network/priv_validator_state.json.backup $HOME/.realio-network/data/priv_validator_state.json
120
+
117
121
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f -o cat
118
122
````
You can’t perform that action at this time.
0 commit comments