forked from dappnode/DAppNodePackage-nethermind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-wizard.yml
136 lines (119 loc) · 5.14 KB
/
setup-wizard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: "2"
fields:
- id: mode
target:
type: environment
name: MODE
title: Config type
description: >-
You must choose an installation method. Most users should choose the
normal mode, but more advanced users will be able to customize the
installation of the node and its environment variables. The methods are:
**Normal** (recommended): You will sync and run an Ethereum full node. You
will be able to broadcast transactions to the network and use it normally
as your main node.
**Archive** (NOT recommended): An Archive node downloads and stores every
state. It is **NOT** recommended unless you want to query the node for
very specific informatin or for research purposes.
**Advanced** (NOT recommended): You will be able to select different
parameters and configure them at will. Please refer to the
[documentation](https://nethermind.readthedocs.io/en/latest/configuration.html)
for further explanation.
**Custom**: This mode needs a configuration file (.cfg) that will load
particular settings. This allows you to use this client to set up a Goerli
Archive node, an xDAi node and others. You can find examples of .cfg files
in [Nethermind's
github](https://github.com/NethermindEth/nethermind/tree/master/src/Nethermind/Nethermind.Runner/configs).
enum:
- "normal"
- "archive"
- "advanced"
- "custom"
required: true
- id: DownloadBodiesInFastSync
target:
type: environment
name: DOWNLOAD_BODIES_IN_FAST_SYNC
title: DownloadBodiesInFastSync
description: >-
If set to `true` then the block bodies will be downloaded in the Fast Sync mode. default value: true
enum:
- "true"
- "false"
if: { "mode": { "enum": ["advanced"] } }
- id: downloadreceiptsinfastsync
target:
type: environment
name: DOWNLOAD_RECEIPTS_IN_FAST_SYNC
title: DownloadReceiptsInFastSync
description: >-
If set to `true` then the receipts will be downloaded in the Fast Sync mode. This will slow down the process by a few hours but will allow you to interact with dApps that execute extensive historical logs searches (like Maker CDPs). default value: true
enum:
- "true"
- "false"
if: { "mode": { "enum": ["advanced"] } }
- id: FastBlocks
target:
type: environment
name: FAST_BLOCKS
title: FastBlocks
description: >-
If set to ‘true’ then in the Fast Sync mode blocks will be first downloaded from the provided PivotNumber downwards. This allows for parallelization of requests with many sync peers and with no need to worry about syncing a valid branch (syncing downwards to 0). You need to enter the pivot block number, hash and total difficulty from a trusted source (you can use etherscan and confirm with other sources if you wan to change it). default value: false
enum:
- "false"
- "true"
if: { "mode": { "enum": ["advanced"] } }
- id: FastSync
target:
type: environment
name: FAST_SYNC
title: FastSync
description: >-
If set to ‘true’ then the Fast Sync (eth/63) synchronization algorithm will be used. default value: false
enum:
- "false"
- "true"
if: { "mode": { "enum": ["advanced"] } }
- id: PivotHash
target:
type: environment
name: PIVOT_HASH
title: PivotHash
description: >-
Hash of the pivot block for the Fast Blocks sync. default value: null
if: { "mode": { "enum": ["advanced"] } }
- id: PivotNumber
target:
type: environment
name: PIVOT_NUMBER
title: PivotNumber
description: >-
Number of the pivot block for the Fast Blocks sync. default value: null
if: { "mode": { "enum": ["advanced"] } }
- id: PivotTotalDifficulty
target:
type: environment
name: PIVOT_TOTAL_DIFFICULTY
title: PivotTotalDifficulty
description: >-
Total Difficulty of the pivot block for the Fast Blocks sync (not - this is total difficulty and not difficulty). default value: null
if: { "mode": { "enum": ["advanced"] } }
- id: UseGethLimitsInFastBlocks
target:
type: environment
name: USE_GETH_LIMITS_IN_FAST_BLOCKS
title: UseGethLimitsInFastBlocks
description: >-
If set to `true` then in the Fast Blocks mode Nethermind generates smaller requests to avoid Geth from disconnecting. On the Geth heavy networks (mainnet) it is desired while on Parity or Nethermind heavy networks (Goerli, AuRa) it slows down the sync by a factor of ~4 default value: true
enum:
- "true"
- "false"
if: { "mode": { "enum": ["advanced"] } }
- id: UseGethLimitsInFastBlocks
target:
type: fileUpload
path: /data/custom.cfg
title: Custom configuration file
description: >-
Upload your desired configuration file. You can get more info about how to configure nethermind [here](https://nethermind.readthedocs.io/en/latest/configuration.html) and also you can find some examples [here](https://github.com/NethermindEth/nethermind/tree/master/src/Nethermind/Nethermind.Runner/configs)
if: { "mode": { "enum": ["custom"] } }