2022-05-25 11:35:12 +00:00
|
|
|
---
|
2022-09-23 12:02:08 +00:00
|
|
|
# Additional disk drive
|
|
|
|
bootstrap__extra_volume_device_path: '/dev/nvme2n1'
|
|
|
|
bootstrap__extra_volume_path: '/docker'
|
|
|
|
bootstrap__extra_volume_bind_path: ''
|
|
|
|
|
2022-07-22 12:24:00 +00:00
|
|
|
# Go-Ethereum
|
|
|
|
geth_service_name: 'nimbus-ropsten-{{ "%02d"|format(idx|int+1) }}'
|
|
|
|
geth_network_name: 'ropsten'
|
|
|
|
geth_sync_mode: 'snap'
|
|
|
|
geth_log_level_name: info
|
|
|
|
# Enable engine API¬
|
|
|
|
geth_rcp_api: 'eth,net,web3,personal,admin,engine'
|
|
|
|
# Geth auth
|
|
|
|
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
|
2022-09-19 13:27:50 +00:00
|
|
|
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}'
|
2022-07-22 12:24:00 +00:00
|
|
|
# Allow connections from our VPN
|
|
|
|
geth_websocket_origins: '*'
|
|
|
|
# Memory settings¬
|
2022-09-23 14:20:29 +00:00
|
|
|
geth_cont_mem_ratio: 0.15
|
|
|
|
geth_cache_size: '{{ (ansible_memtotal_mb * 0.1|float) | int }}'
|
2022-07-22 12:24:00 +00:00
|
|
|
|
|
|
|
# Geth metrics¬
|
|
|
|
geth_expo_service_name: '{{ geth_service_name }}'
|
|
|
|
geth_expo_source_cont_name: '{{ geth_cont_name }}'
|
|
|
|
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
|
|
|
|
|
|
|
|
# Ports
|
|
|
|
geth_port: '{{ 30303 + idx|int + 11 }}'
|
|
|
|
geth_metrics_port: '{{ 6060 + idx|int + 11 }}'
|
|
|
|
geth_rpc_enabled: true
|
|
|
|
geth_rpc_addr: '0.0.0.0'
|
|
|
|
geth_rpc_port: '{{ 8545 + idx|int + 11 }}'
|
2022-09-19 13:27:50 +00:00
|
|
|
geth_authrpc_port: '{{ 8551 + (idx|int) + 1 }}'
|
2022-07-22 12:24:00 +00:00
|
|
|
geth_websocket_port: '{{ 9546 + idx|int + 11 }}'
|
|
|
|
|
2022-05-25 11:35:12 +00:00
|
|
|
# Beacon Nodes
|
|
|
|
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_repo_branch }}-{{ "%02d"|format(idx|int+1) }}'
|
|
|
|
beacon_node_network: 'ropsten'
|
|
|
|
beacon_node_repo_branch: 'unstable'
|
|
|
|
# Builds
|
|
|
|
beacon_node_build_frequency: 'daily'
|
2022-06-01 09:47:50 +00:00
|
|
|
# Monitoring
|
|
|
|
beacon_node_validator_monitor_auto: true
|
|
|
|
beacon_node_validator_monitor_totals: true
|
2022-05-25 11:35:12 +00:00
|
|
|
# HTTP RPC support is unstable
|
2022-09-19 13:27:50 +00:00
|
|
|
beacon_node_web3_urls: ['ws://localhost:{{ geth_authrpc_port }}']
|
|
|
|
beacon_node_web3_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
|
2022-06-02 16:13:12 +00:00
|
|
|
beacon_node_extra_flags: ['--terminal-total-difficulty-override=50000000000000000']
|
2022-05-25 11:35:12 +00:00
|
|
|
# Ports
|
|
|
|
beacon_node_discovery_port: '{{ 9000 + idx|int + 1 }}'
|
|
|
|
beacon_node_listening_port: '{{ 9000 + idx|int + 1 }}'
|
|
|
|
beacon_node_metrics_port: '{{ 9200 + idx|int + 1 }}'
|
|
|
|
beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}'
|
|
|
|
beacon_node_rest_address: '0.0.0.0'
|
2022-09-23 12:02:08 +00:00
|
|
|
beacon_node_rest_max_body_size: 16777216
|
|
|
|
beacon_node_rest_max_headers_size: 1048576
|
|
|
|
# Validators Distribution
|
|
|
|
beacon_node_dist_validators_enabled: '{{ node.start is defined and node.end is defined }}'
|
|
|
|
beacon_node_dist_validators_start: '{{ node.validator_client | ternary(0, node.start) | mandatory }}'
|
|
|
|
beacon_node_dist_validators_end: '{{ node.validator_client | ternary(0, node.end) | mandatory }}'
|
2022-05-25 11:35:12 +00:00
|
|
|
|
2022-09-23 12:02:08 +00:00
|
|
|
# Validator Client
|
|
|
|
validator_client_service_name: 'validator-client-{{ validator_client_network }}-{{ validator_client_build_repo_branch }}-{{ "%02d"|format(idx|int+1) }}'
|
|
|
|
validator_client_network: '{{ beacon_node_network }}'
|
|
|
|
validator_client_log_level: 'INFO'
|
|
|
|
validator_client_beacon_node_url: 'http://127.0.0.1:{{ beacon_node_rest_port }}'
|
|
|
|
# Builds
|
|
|
|
validator_client_build_repo_branch: '{{ beacon_node_repo_branch }}'
|
|
|
|
validator_client_build_frequency: 'daily'
|
|
|
|
# Ports
|
|
|
|
validator_client_metrics_port: '{{ 8108 + idx|int + 1 }}'
|
|
|
|
validator_client_keymanager_port: '{{ 5052 + idx|int + 1 }}'
|
|
|
|
# Keymanager
|
|
|
|
validator_client_keymanager_enabled: true
|
|
|
|
validator_client_keymanager_token: '{{lookup("bitwarden", "nimbus/keymanager", field="token")}}'
|
|
|
|
# Validators Distribution
|
|
|
|
validator_client_dist_validators_enabled: '{{ node.start is defined and node.end is defined }}'
|
|
|
|
validator_client_dist_validators_start: '{{ (not node.validator_client) | ternary(0, node.start) | mandatory }}'
|
|
|
|
validator_client_dist_validators_end: '{{ (not node.validator_client) | ternary(0, node.end) | mandatory }}'
|
2022-07-19 19:34:20 +00:00
|
|
|
|
2022-05-25 11:35:12 +00:00
|
|
|
nodes_layout:
|
|
|
|
'metal-01.he-eu-hel1.nimbus.ropsten':
|
2022-09-23 12:02:08 +00:00
|
|
|
- { start: 0, end: 2500, validator_client: true }
|
|
|
|
- { start: 2500, end: 5000, validator_client: false }
|
|
|
|
- { start: 5000, end: 7500, validator_client: true }
|
|
|
|
- { start: 7500, end: 10000, validator_client: false }
|