This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
forked from shadiayoub/DAppNodePackage-Besu
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup-wizard.yml
66 lines (63 loc) · 2.58 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
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, Bonsai Tries or the soon to be deprecated Forest of Tries.
You can read about the differences [here](https://besu.hyperledger.org/en/stable/Concepts/Data-Storage-Formats).
It is strongly discouraged to choose Forest of Tries for a new node.
Default storage format is BONSAI.
target:
type: environment
name: STORAGE_FORMAT
service: besu
enum:
- BONSAI
- FOREST
default: BONSAI
required: true
if: { "config_mode": { "enum": ["advanced"] } }
- title: Sync Mode
id: sync_mode
description: >-
Besu can use one of four sync modes
- FULL (slowest, full archive node)
- FAST (legacy, fast sync soon will be impossible to sync as it's too slow for mainnet)
- SNAP (Default, 2nd fastest mode)
- CHECKPOINT (Latest, faster then SNAP by ~1hour cannnot relay full chain history to peers.)
Note: SNAP sync and CHECKPOINT sync are the fastest modes, CHECKPOINT being faster by roughly 1 hour. Both modes sync quickly but the primary difference is that CHECKPOINT begins syncing near the head from a preset checkpoint block in the genesis file, and then fills in the historical blocks and necessary state info, while SNAP begins at genesis and starts downloading all trie and leaves info then executes it locally to calculate the chain. Also CHECKPOINT cannot serve the full chain history to peers.
You can read about the differences [here](https://besu.hyperledger.org/stable/public-networks/get-started/connect/sync-node).
Default sync mode is now SNAP.
target:
type: environment
name: SYNC_MODE
service: besu
enum:
- SNAP
- CHECKPOINT
- FAST
- FULL
required: true
default: SNAP
- 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"] } }