@@ -4,6 +4,8 @@ title: How to restart data-node from the network history
44sidebar_label : Restart data-node from the network history
55hide_title : false
66---
7+ import Tabs from '@theme/Tabs ';
8+ import TabItem from '@theme/TabItem ';
79
810
911## Why would you start/restart your data node from network history?
@@ -64,6 +66,9 @@ vega tm unsafe_reset_all --home <tendermint-home>
6466
6567The config is located in the ` <vega_home>/config/data-node/config.toml ` . Update the following parameters in your ` config.toml ` file for the data node:
6668
69+
70+ <Tabs groupId =" network " >
71+ <TabItem value =" mainnet " label =" Mainnet " >
6772``` toml
6873AutoInitialiseFromNetworkHistory = true
6974
@@ -79,11 +84,21 @@ AutoInitialiseFromNetworkHistory = true
7984 [NetworkHistory .Initialise ]
8085 TimeOut = " 4h"
8186```
87+ </TabItem >
88+ <TabItem value =" fairground " label =" Fairground " >
89+ TBD for fairground
90+ </TabItem >
91+ <TabItem value =" validators-testnet " label =" Validator testnet " >
92+ TBD for validators-testnet
93+ </TabItem >
94+ </Tabs >
8295
8396#### b. The vega core config
8497
8598The config is located in the ` <vega_home>/config/node/config.toml ` . Update the following parameters in your ` config.toml ` file for the vega core:
8699
100+ <Tabs groupId =" network " >
101+ <TabItem value =" mainnet " label =" Mainnet " >
87102``` toml
88103[Snapshot ]
89104 StartHeight = -1
@@ -92,6 +107,14 @@ The config is located in the `<vega_home>/config/node/config.toml`. Update the f
92107 [Broker .Socket ]
93108 DialTimeout = " 4h"
94109```
110+ </TabItem >
111+ <TabItem value =" fairground " label =" Fairground " >
112+ TBD for fairground
113+ </TabItem >
114+ <TabItem value =" validators-testnet " label =" Validator testnet " >
115+ TBD for validators-testnet
116+ </TabItem >
117+ </Tabs >
95118
96119#### c. Tendermint config
97120
@@ -106,6 +129,8 @@ Then select one of the latest pair for block height and hash
106129
107130Once you have thrusted block, you can update the following parameters in the ` <tendermint_home>/config/config.toml ` file:
108131
132+ <Tabs groupId =" network " >
133+ <TabItem value =" mainnet " label =" Mainnet " >
109134``` toml
110135[statesync ]
111136enable = true
@@ -127,6 +152,14 @@ rpc_servers = "api0.vega.community:26657,api1.vega.community:26657,api2.vega.com
127152trust_height = 3040600
128153trust_hash = " b4b500d8fc84cce3a42b141193db7ba23ff03cc80b70cc817f6536582ebd5eda"
129154```
155+ </TabItem >
156+ <TabItem value =" fairground " label =" Fairground " >
157+ TBD for fairground
158+ </TabItem >
159+ <TabItem value =" validators-testnet " label =" Validator testnet " >
160+ TBD for validators-testnet
161+ </TabItem >
162+ </Tabs >
130163
131164### 4. Start your node
132165
@@ -181,4 +214,4 @@ Open the `<vega_home>/config/data-node/config.toml` file and update the followin
181214
182215::: info
183216Do not restart your node. Just update config to avoid issues in the future restarts.
184- :::
217+ :::
0 commit comments