Skip to content

Commit 6779b96

Browse files
authored
Update readme.md
1 parent cf40c4d commit 6779b96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

REALIO_NETWORK/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,11 @@ sudo journalctl -u realio-networkd -f -o cat
9898
State Sync:
9999
````
100100
sudo systemctl stop realio-networkd
101+
101102
cp $HOME/.realio-network/data/priv_validator_state.json $HOME/.realio-network/priv_validator_state.json.backup
103+
102104
realio-networkd tendermint unsafe-reset-all --home $HOME/.realio-network --keep-addr-book
105+
103106
SNAP_RPC="http://realio.srgts.xyz:37657"
104107
105108
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| ; \
114117
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.realio-network/config/config.toml
115118
116119
mv $HOME/.realio-network/priv_validator_state.json.backup $HOME/.realio-network/data/priv_validator_state.json
120+
117121
sudo systemctl restart realio-networkd && sudo journalctl -u realio-networkd -f -o cat
118122
````

0 commit comments

Comments
 (0)