-
Notifications
You must be signed in to change notification settings - Fork 15
/
main.yml
103 lines (93 loc) · 3.25 KB
/
main.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
---
# User and group
besu_user: besu
besu_group: "{{ besu_user }}"
# 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_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_current_dir: "{{ besu_base_dir }}/current"
besu_node_private_key_file: ""
besu_config_dir: "/etc/besu"
besu_config_template: "config.toml.j2"
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"
# 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_whitelist: ["*"]
besu_cmdline_args: []
besu_env_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
# 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: ""
# internal state to maintain idempotency
besu_state_updates: []