-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmain.yml
More file actions
139 lines (127 loc) · 4.69 KB
/
main.yml
File metadata and controls
139 lines (127 loc) · 4.69 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
---
# User and group
besu_user: besu
besu_group: "{{ besu_user }}"
besu_uid: 1511
besu_gid: 1511
# Version to install
besu_download_url: "https://github.com/hyperledger/besu/releases/download/{{ _besu_version }}/besu-{{ _besu_version }}.tar.gz"
besu_latest_version_url: "https://api.github.com/repos/hyperledger/besu/releases/latest"
# Building from source
besu_build_from_source: false
besu_build_retries: 2
besu_build_from_source_cmd: "./gradlew --no-daemon --parallel clean assemble -x compileSolidity > build.log 2>&1"
besu_git_repo: "https://github.com/hyperledger/besu.git"
besu_git_commit: "master"
# Directory paths
besu_base_dir: "/opt/besu"
besu_install_dir: "{{ besu_base_dir }}/besu-{{ _besu_version }}"
besu_plugins_dir: "{{ besu_install_dir }}/plugins"
besu_pyroscope_dir: "{{ besu_install_dir }}/pyroscope"
besu_current_dir: "{{ besu_base_dir }}/current"
besu_node_private_key_file: ""
besu_config_dir: "/etc/besu"
besu_config_template: "config.toml.j2"
besu_config_file: "{{ besu_config_dir }}/config.toml"
besu_data_dir: "{{ besu_base_dir }}/data"
besu_log_dir: "/var/log/besu"
besu_profile_file: "/etc/profile.d/besu-path.sh"
besu_static_nodes_file: "{{ besu_config_dir }}/static-nodes.json"
besu_local_permissions_config_file: "{{ besu_config_dir }}/permissions_config.toml"
besu_local_permissions_config_file_template: "permissions_config.toml.j2"
besu_version_info_file: "{{ besu_config_dir }}/elc_version"
# Managed service config
besu_managed_service: true
besu_systemd_state: restarted
besu_systemd_template: besu.service.j2
besu_systemd_dir: /etc/systemd/system
besu_launchd_template: org.hyperledger.besu.plist.j2
besu_launchd_dir: /Library/LaunchAgents
# Besu config
besu_host_ip: ""
besu_network: mainnet
besu_sync_mode: FAST
besu_p2p_port: 30303
besu_min_gas: 1000
besu_miner_extra_data: ""
besu_miner_coinbase: 0x
besu_miner_enabled: "false"
besu_rpc_http_enabled: "true"
besu_rpc_http_host: 0.0.0.0
besu_rpc_http_port: 8545
besu_rpc_http_api: ["ADMIN", "DEBUG", "NET", "ETH", "MINER", "WEB3"]
besu_rpc_http_cors_origins: ["all"]
besu_rpc_ws_api: ["NET", "ETH", "WEB3"]
besu_rpc_ws_enabled: "true"
besu_rpc_ws_host: 0.0.0.0
besu_rpc_ws_port: 8546
besu_rpc_http_authentication_enabled: "false"
besu_rpc_http_authentication_credentials_file: ""
besu_rpc_http_authentication_jwt_public_key_file: ""
besu_rpc_ws_authentication_enabled: "false"
besu_rpc_ws_authentication_credentials_file: ""
besu_rpc_ws_authentication_jwt_public_key_file: ""
besu_graphql_http_enabled: "true"
besu_graphql_http_host: 0.0.0.0
besu_graphql_http_port: 8547
besu_graphql_http_cors_origins: ["all"]
besu_metrics_host: 0.0.0.0
besu_metrics_port: 9545
besu_bootnodes: []
besu_host_allowlist: ["*"]
besu_cmdline_args: []
besu_opts: []
besu_env_vars: {}
besu_permissions_nodes_contract_version: 2
besu_local_permissions_enabled: "false"
besu_local_permissions_accounts: []
besu_local_permissions_nodes: []
besu_xdns_enabled: "false"
besu_static_nodes: []
besu_tx_pool: layered
# float values in the range [0..1], 1=single sender can fill the entire tx pool
# https://github.com/hyperledger/besu/issues/4611
besu_tx_pool_limit_by_account_percentage: 0.001
besu_tx_pool_max_size: 4096
besu_tx_pool_price_bump: 10
besu_tx_pool_retention_hours: 13
# Besu plugins
# list of dicts
besu_plugins: []
# besu_plugins:
# - name: "shomei"
# download: "https://github.com/Consensys/besu-shomei-plugin/releases/download/v0.4.0/besu-shomei-plugin-v0.4.0.jar"
# fleet mode plugin
#LEADER/FOLLOWER
besu_plugin_fleet_node_role: ""
besu_plugin_fleet_leader_http_host: ""
beus_plugin_fleet_leader_http_port: 8545
besu_plugin_fleet_follower_http_host: ""
besu_plugin_fleet_follower_http_port: 8545
# privacy
besu_privacy_enabled: "false"
besu_privacy_url: "http://127.0.0.1:8888"
besu_privacy_public_key_file: ""
besu_privacy_marker_tx_signing_key_file: ""
# pyroscope
besu_pyroscope_enabled: false
besu_pyroscope_version: "v2.1.2"
besu_pyroscope_url: "https://github.com/grafana/pyroscope-java/releases/download/{{ besu_pyroscope_version }}/pyroscope.jar"
besu_pyroscope_server_url: "http://pyroscope:4040"
besu_pyroscope_basic_auth_user: ""
besu_pyroscope_basic_auth_password: ""
besu_pyroscope_application_name: "besu-{{ _besu_version }}"
besu_pyroscope_format: jfr
besu_pyroscope_profiling_interval: 10ms
besu_pyroscope_profiling_event: itimer
besu_pyroscope_profiling_lock: 10ms
besu_pyroscope_profiling_alloc: 512k
besu_pyroscope_upload_interval: 15s
besu_pyroscope_log_level: debug
besu_pyroscope_config_template: pyroscope.properties.j2
besu_pyroscope_config_file: "{{ besu_config_dir }}/pyroscope.properties"
besu_pyroscope_jar_file: "{{ besu_pyroscope_dir }}/pyroscope.jar"
# key1=value1,key2=value2....
besu_pyroscope_labels: ""
# internal state to maintain idempotency
besu_state_updates: []