forked from dappnode/DAppNodePackage-besu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-wizard.yml
76 lines (68 loc) · 2.15 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
version: "2"
fields:
- title: Config mode
id: config_mode
description: >-
You must choose a config method. Most users should choose
"normal" mode, but more advanced users will be able to customize the
installation of Besu and its environment variables.
target:
type: environment
name: CONFIG_MODE
service: besu
enum:
- "normal"
- "advanced"
- title: Storage Format
id: storage_format
description: >-
Besu can use one of two storage formats, Forest of Tries or Bonsai Tries.
You can read about the differences [here](https://besu.hyperledger.org/en/stable/Concepts/Data-Storage-Formats).
Default storage format is BONSAI.
target:
type: environment
name: STORAGE_FORMAT
service: besu
enum:
- BONSAI
- FOREST
required: true
if: { "config_mode": { "enum": ["advanced"] } }
- title: Sync Mode
id: sync_mode
description: >-
Besu can use one of three sync modes, FULL (slow, archive node), FAST (fast, full node), X_SNAP (faster, experimental and works with BONSAI), and X_CHECKPOINT (Fastest, and latest sync method works with BONSAI).
You can read about the differences [here](https://besu.hyperledger.org/en/stable/Reference/CLI/CLI-Syntax/#sync-mode).
Default sync mode is FAST.
target:
type: environment
name: SYNC_MODE
service: besu
enum:
- FAST
- FULL
- X_SNAP
- X_CHECKPOINT
required: true
if: { "config_mode": { "enum": ["advanced"] } }
- title: Enable WebSocket API
id: enable_ws
description: >-
You can enable or disable the WebSocket API here, if needed.
target:
type: environment
name: WS_ENABLED
service: besu
enum:
- "true"
- "false"
required: true
- title: Max HTTP RPC connections
id: max_rpc_connections_http
description: >-
To prevent flooding of the node, there is a sensible max connections limit. You can alter this variable here.
target:
type: environment
name: MAX_HTTP_CONNECTIONS
service: besu
if: { "config_mode": { "enum": ["advanced"] } }