1717 <meta name= " twitter:title" content= " {[{ .siteName }]}" />
1818 <meta property= " twitter:description" content= " {[{ .description }]}" />
1919 <meta property= " twitter:image" content= " {[{ .logo }]}" />
20+ <meta name= " software-version" content= " {[{ .binaryVersion }]}" />
2021 <link rel= " shortcut icon" href= " {[{ .favicon }]}" />
2122 <link href
= " https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css" rel
= " stylesheet" integrity
= " sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin
= " anonymous" >
2223 <link rel= " stylesheet" href= " /resources/site.css" />
7677 <div class= " card card-body" >
7778 {[{ if gt .livePeersCount 0 }]}
7879 <p>Download: <a href= " /download/addrbook.json" >addrbook.json </a></p>
79- <pre class= " border p-2" ><code>wget -O addrbook.json https://{[{ .host }]}/download/addrbook.json --inet4-only
80+ <pre class= " border p-2" ><code>wget -O addrbook.json https://{[{ .host }]}/download/addrbook.json
8081mv addrbook.json $HOME /{[{ .generalNodeHomeName }]}/config</code></pre>
8182 {[{ else }]}
8283 <h3 class= " text-danger" >Addrbook temporary not available</h3>
@@ -112,7 +113,7 @@ mv addrbook.json $HOME/{[{ .generalNodeHomeName }]}/config</code></pre>
112113 <pre class= " border p-2" ><code>cp $HOME /{[{ .generalNodeHomeName }]}/data/priv_validator_state.json $HOME /{[{ .generalNodeHomeName }]}/priv_validator_state.json </code></pre>
113114 <p class= " text-secondary" >Verify <b>` priv_validator_key.json` </b> and the backup are equals</p>
114115 <pre class= " border p-2" ><code>sleep 10 && cat $HOME /{[{ .generalNodeHomeName }]}/data/priv_validator_state.json && cat $HOME /{[{ .generalNodeHomeName }]}/priv_validator_state.json </code></pre>
115- <p>Reset your node</p>
116+ <p>Reset data of the node</p>
116117 <pre class= " border p-2" ><code>{[{ .generalBinaryName }]} tendermint unsafe-reset-all --home $HOME /{[{ .generalNodeHomeName }]} --keep-addr-book</code></pre>
117118 <p>Decompress the snapshot to your database location. Your database location under <b>` {[{ .generalNodeHomeName }]}/data` </b> or something like that, depending on the node implementation. </p>
118119 <pre class= " border p-2" ><code>lz4 -c -d {[{ .snapshot.FileName }]} | tar -x -C $HOME /{[{ .generalNodeHomeName }]}/data</code></pre>
@@ -154,9 +155,9 @@ mv addrbook.json $HOME/{[{ .generalNodeHomeName }]}/config</code></pre>
154155 <p>Our state-sync RPC server for {[{ .chainName }]} is</p>
155156 <pre class= " border p-2" ><code>{[{ .rpcUrl }]}</code></pre>
156157 <p>
157- Create a reusable shell script such as <b>` state_sync.sh` </b> with the following code.
158+ Prepare a reusable script <b>` state_sync.sh` </b> with the following code.
158159 The code will fetch important state-sync information (such as block height and trust hash)
159- from our server and update your <b>` config.toml` </b> file accordingly.
160+ from RPC server and update your <b>` config.toml` </b> file accordingly.
160161 </p>
161162 <pre class= " border p-2" ><code>#!/bin/bash
162163
@@ -175,7 +176,7 @@ s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/{[{ .gener
175176 {[{ end }]}
176177 <p>Stop the node</p>
177178 <pre class= " border p-2" ><code>sudo systemctl stop {[{ .generalBinaryName }]}</code></pre>
178- <p>Reset the node</p>
179+ <p>Reset data of the node</p>
179180 <pre class= " border p-2" ><code>{[{ .generalBinaryName }]} tendermint unsafe-reset-all --home $HOME /{[{ .generalNodeHomeName }]} --keep-addr-book</code></pre>
180181 <p>Execute the script</p>
181182 <pre class= " border p-2" ><code>sh state_sync.sh </code></pre>
0 commit comments