-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-wizard.yml
166 lines (148 loc) · 6 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "2"
fields:
- id: mode
target:
type: environment
name: MODE
service: nethermind
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 fast-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** (NOT Recommended): This mode needs a configuration file (.cfg) that will load
particular settings. This allows you to use this client to set up a custom config, do not use this setting unless you are an advanced user and know exactly what you're doing, making the wrong change can break your whole Dappnode.
You can find examples of .cfg files
on [Nethermind's
Github](https://github.com/NethermindEth/nethermind/tree/master/src/Nethermind/Nethermind.Runner/configs).
enum:
- "normal"
- "archive"
- "advanced"
- "custom"
default: "normal"
required: true
- id: DownloadBodiesInFastSync
target:
type: environment
name: DOWNLOAD_BODIES_IN_FAST_SYNC
service: nethermind
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"
default: "true"
if: { "mode": { "enum": ["advanced"] } }
- id: downloadreceiptsinfastsync
target:
type: environment
name: DOWNLOAD_RECEIPTS_IN_FAST_SYNC
service: nethermind
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"
default: "true"
if: { "mode": { "enum": ["advanced"] } }
- id: FastBlocks
target:
type: environment
name: FAST_BLOCKS
service: nethermind
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"
default: "false"
if: { "mode": { "enum": ["advanced"] } }
- id: FastSync
target:
type: environment
name: FAST_SYNC
service: nethermind
title: FastSync
description: >-
If set to ‘true’ then the Fast Sync (eth/63) synchronization algorithm will be used. default value: false
enum:
- "false"
- "true"
default: "false"
if: { "mode": { "enum": ["advanced"] } }
- id: PivotHash
target:
type: environment
name: PIVOT_HASH
service: nethermind
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
service: nethermind
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
service: nethermind
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
service: nethermind
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"
default: "true"
if: { "mode": { "enum": ["advanced"] } }
- id: CustomConfiguration
target:
type: fileUpload
path: /data/custom.cfg
service: nethermind
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"] } }
- id: EnableUI
target:
type: environment
name: NETHERMIND_HEALTHCHECKSCONFIG_UIENABLED
service: nethermind
title: Nethermind UI
description: >-
If set to `true` then you will be able to access a UI where to check basic info from the Nethermind client.
enum:
- "true"
- "false"
default: "true"
required: true