@@ -178,7 +178,7 @@ CPU: > 64 cores RAM: > 64G, Bandwidth: > 500M, Disk: > 20T
178
178
179
179
## 4.4 TRON Network Instructure
180
180
TRON network uses Peer-to-Peer(P2P) network instructure, all nodes status equal. There are three types of node: SuperNode, FullNode, SolidityNode. SuperNode produces blocks, FullNode synchronizes blocks and broadcasts transactions, SolidityNode synchronizes solidified blocks. Any device that deploy the java-tron code can join TRON network as a node.
181
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /network.png )
181
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /network.png )
182
182
## 4.5 FullNode and SolidityNode Fast Deployment
183
183
Download fast deployment script, run the script according to different types of node.
184
184
please refer to [ Node Fast Deployment] ( https://github.com/tronprotocol/tron-deployment#deployment-of-soliditynode-on-the-one-host )
@@ -220,13 +220,13 @@ command line parameters introduction:
220
220
<logger name =" net " level =" WARN " />
221
221
The parameters in configuration file that need to modify:
222
222
localwitness:
223
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /localwitness.jpg )
223
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /localwitness.jpg )
224
224
witnesses:
225
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /witness.png )
225
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /witness.png )
226
226
version:
227
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /p2p_version.png )
227
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /p2p_version.png )
228
228
enable:
229
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /discovery_enable.png )
229
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /discovery_enable.png )
230
230
231
231
##### 4.6.3.2.2 Step 2: FullNode Deployment
232
232
1.  ; Download private_net_config.conf
@@ -253,29 +253,29 @@ wget https://github.com/tronprotocol/tron-deployment/blob/master/private_net_con
253
253
<logger name =" net " level =" WARN " />
254
254
The parameters in configuration file that need to modify:
255
255
ip.list:
256
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /ip_list.png )
256
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /ip_list.png )
257
257
p2p.version:
258
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /p2p_version.png )
258
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /p2p_version.png )
259
259
genesis.block:
260
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /genesis_block.png )
260
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /genesis_block.png )
261
261
needSyncCheck:
262
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /need_sync_check.png )
262
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /need_sync_check.png )
263
263
node.discovery.enable:
264
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/fix_http/TRX_CN/figures /discovery_enable.png )
264
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /discovery_enable.png )
265
265
266
266
## 4.7 DB Engine
267
267
### 4.7.1 Rocksdb
268
268
#### 4.7.1.1 Configuration
269
269
Use rocksdb as the data storage engine, need to set db.engine to "ROCKSDB"
270
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/master/TRX_CN/figures /db_engine.png )
270
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /db_engine.png )
271
271
Note: rocksdb only support db.version=2, do not support db.version=1
272
272
273
273
The optimization parameters rocksdb support:
274
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/master/TRX_CN/figures /rocksdb_tuning_parameters.png )
274
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /rocksdb_tuning_parameters.png )
275
275
276
276
#### 4.7.1.2 Use rocksdb's data backup function
277
277
Choose rocksdb to be the data storage engine, you can use it's data backup funchtion while running
278
- ![ image] ( https://raw.githubusercontent.com/tronprotocol/Documentation/master/TRX_CN/figures /db_backup.png )
278
+ ![ image] ( https://raw.githubusercontent.com/tronprotocol/documentation/tree/docs_reorganization/imags /db_backup.png )
279
279
Note: FullNode can use data backup function. In order not to affect SuperNode's block producing performance, SuperNode does not support backup service, but SuperNode's backup service node can use this function.
280
280
#### 4.7.1.3 Convert leveldb data to rocksdb data
281
281
The data storage structure of leveldb and rocksdb is not compatible, please make sure the node use the same type of data engine all the time. We provide data conversion script which can convert leveldb data to rocksdb data.
@@ -943,7 +943,7 @@ Ordinary transaction, Bandwidth points consumption sequence:
943
943
944
944
### 8.2.3 Bandwidth Points Recovery
945
945
Every 24 hours, the amount of the usage of Bandwidth points of an account will be reset to 0. For the specific formula:
946
- ![ image] ( https://github.com/tronprotocol/Documentation/raw/fix_http/TRX_CN/figures /bandwidthRestoreEqn.gif )
946
+ ![ image] ( https://github.com/tronprotocol/documentation/tree/docs_reorganization/imags /bandwidthRestoreEqn.gif )
947
947
948
948
Every 24 hours, the amount of the usage of Bandwidth points of an account will be reset to 0.
949
949
0 commit comments