-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.yml
More file actions
152 lines (132 loc) · 6.23 KB
/
Copy pathmain.yml
File metadata and controls
152 lines (132 loc) · 6.23 KB
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
---
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_repo_branch }}'
beacon_node_service_path: '/data/{{ beacon_node_service_name }}'
beacon_node_data_path: '{{ beacon_node_service_path }}/data'
beacon_node_config_dir: '{{ beacon_node_service_path }}/conf'
beacon_node_config_file_path: '{{ beacon_node_config_dir }}/config.toml'
beacon_node_repo_path: '{{ beacon_node_service_path }}/repo'
beacon_node_bin_path: '{{ beacon_node_service_path }}/bin'
beacon_node_logs_link: '{{ beacon_node_service_path }}/logs'
beacon_node_netkey_path: '{{ beacon_node_data_path }}/netkey'
beacon_node_era_dir_path: '{{ beacon_node_data_path }}/era'
beacon_node_secrets_path: '{{ beacon_node_data_path }}/secrets'
beacon_node_validators_path: '{{ beacon_node_data_path }}/validators'
beacon_node_binary_path: '{{ beacon_node_bin_path }}/nimbus_beacon_node'
# Ability to prevernt restarts after service changes.
# This is higher priority, than force_restart.
beacon_node_service_allow_restart: true
# Force restart service on each ansible playbook run
beacon_node_service_force_restart: false
# Should be: nextPowerOfTwo(number_of_validators + 1024)
beacon_node_service_nofile_limit: 16384
beacon_node_user: 'nimbus'
beacon_node_group: 'staff'
beacon_node_update_timer_name: 'update-{{ beacon_node_service_name }}'
beacon_node_update_timer_enabled: true
beacon_node_update_timer_timeout: 3600
beacon_node_update_frequency: 'daily'
beacon_node_update_start_on_creation: true
beacon_node_update_restarts_service: true
# Determind if the update method will be by building the binary or downloading it
beacon_node_update_build: '{{ beacon_node_repo_branch != "stable" }}'
# Update with Build method
beacon_node_update_build_script: '{{ beacon_node_service_path }}/build.sh'
beacon_node_update_build_targets: ['nimbus']
beacon_node_update_build_days_kept: 3
beacon_node_update_build_jobs: '{{ ansible_processor_vcpus * 0.25 | round(0, "ceil") | int }}'
beacon_node_update_build_log_level: 'TRACE'
beacon_node_update_build_nim_flags: >-
-d:noSignalHandler
# Update with download method
beacon_node_update_download_script: '{{ beacon_node_service_path }}/dl-binary.sh'
# Periodic forced node resync.
beacon_node_resync_enabled: false
beacon_node_resync_reindex: true
beacon_node_resync_backfill: false
beacon_node_resync_timer_enabled: true
beacon_node_resync_timer_service_name: 'resync-{{ beacon_node_service_name }}'
beacon_node_resync_timer_user: 'root' # Needed too start service back up.
beacon_node_resync_timer_group: '{{ beacon_node_group }}'
beacon_node_resync_timer_timeout: 43200
beacon_node_resync_timer_frequency: 'weekly'
beacon_node_resync_timer_random_delay_sec: 86400 # day
#beacon_node_resync_timer_trusted_api_url: ~
beacon_node_repo_url: 'https://github.com/status-im/nimbus-eth1'
beacon_node_repo_branch: 'stable'
beacon_node_network: 'mainnet'
beacon_node_log_level: 'INFO' # TRACE DEBUG INFO NOTICE WARN ERROR FATAL NONE
beacon_node_log_format: 'json' # auto colors nocolors json none
beacon_node_history_retention: 'prune' # archive / prune
beacon_node_sync_light_client: false
beacon_node_subscribe_all: false
beacon_node_suggested_gas_limit: 45000000
beacon_node_doppelganger_detection: true
beacon_node_doppelganger_exit_code: 129
beacon_node_validator_slashing_exit_code: 198
beacon_node_extra_flags: {} # {agent-string: 'Taxation is theft.'}
# Validator Monitoring
beacon_node_validator_monitor_auto: false
beacon_node_validator_monitor_details: false
beacon_node_validator_monitor_pubkeys: []
# For validation
beacon_node_valid_network_names: ["mainnet", "prater", "sepolia", "holesky", "hoodi"]
# connectivity settings
beacon_node_public_address: '{{ ansible_host }}'
beacon_node_max_peers: 160
beacon_node_discovery_port: 9000
beacon_node_listening_port: 9000
# Scraping of metrics done via VPN. Protected by firewall.
beacon_node_metrics_enabled: true
beacon_node_metrics_address: '0.0.0.0'
beacon_node_metrics_port: 9200
# REST API
beacon_node_rest_enabled: true
beacon_node_rest_address: '127.0.0.1'
beacon_node_rest_port: 5052
beacon_node_rest_allow_origin: '' # '' to use default
beacon_node_rest_max_body_size: 16384
beacon_node_rest_max_headers_size: 128
# Light client data
beacon_node_light_client_data_enabled: false
beacon_node_light_client_data_serve: true
beacon_node_light_client_data_import_mode: 'only-new'
beacon_node_light_client_data_max_periods: -1 # -1 to use default
# How many hardware threads to use
beacon_node_threads: 0
# Automatically distribute validators
beacon_node_dist_validators_enabled: false
beacon_node_dist_validators_name: '{{ beacon_node_network }}_deposits'
beacon_node_dist_validators_sec_path: '{{ beacon_node_secrets_path }}'
beacon_node_dist_validators_val_path: '{{ beacon_node_validators_path }}'
#beacon_node_dist_validators_name: ~
#beacon_node_dist_validators_start: ~
#beacon_node_dist_validators_end: ~
# Suggests it to the Execution Layer client.
#beacon_node_suggested_fee_recipient: ~
# Consul service definition settings
beacon_node_consul_service_name: 'beacon-node'
beacon_node_consul_service_file_name: '{{ beacon_node_service_name | replace("-", "_") }}'
beacon_node_consul_metrics_service_name: '{{ beacon_node_consul_service_name }}-metrics'
beacon_node_consul_check_disabled: false
beacon_node_consul_check_interval: '60s'
beacon_node_consul_check_timeout: '5s'
beacon_node_consul_success_before_passing: 0
beacon_node_consul_failures_before_warning: 1
beacon_node_consul_failures_before_critical: 2
# Monitor for updating Consul metadata
beacon_node_consul_monitor_enabled: true
beacon_node_consul_monitor_name: 'monitor-{{ beacon_node_service_name }}'
beacon_node_consul_monitor_user: 'root'
beacon_node_consul_monitor_start_delay_sec: 60
# WebSocket or HTTP URLs for execution layet Engine API
beacon_node_exec_layer_urls: []
#beacon_node_exec_layer_jwt_secret: ~
beacon_node_exec_layer_jwt_secret_path: '{{ beacon_node_service_path }}/jwt.hex'
# Builder for profit-optimized execution payloads.
beacon_node_payload_builder_enabled: false
#beacon_node_payload_builder_url: ~
# Netkey file contents, optional.
#beacon_node_netkey: '{"key":"json"}'
# Which version of Nim to use for the build
# By default, it would use the one specified by the pinned nimbus-build-system
beacon_node_nim_commit: ''