enable Discovery V5 for all status nodes

Issue: https://github.com/status-im/infra-status/issues/6
Depends: https://github.com/status-im/infra-role-nim-waku/commit/1e5367c8

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-18 12:15:34 +01:00
parent 37c3508180
commit 943fb68c70
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
3 changed files with 8 additions and 2 deletions

View File

@ -18,6 +18,10 @@ nim_waku_store_capacity: 10000
# Peer connecting
nim_waku_connect_consul_service_names: ['{{ nim_waku_cont_name }}', 'nim-waku-bridge']
nim_waku_connect_rpc_port: '{{ nim_waku_rpc_tcp_port }}'
# Discovery V5
nim_waku_disc_v5_enabled: true
nim_waku_disc_v5_enr_auto_update: true
nim_waku_disc_v5_port: 9000
# Open LibP2P Ports
open_ports_default_comment: '{{ nim_waku_cont_name }}'
@ -26,5 +30,6 @@ open_ports_default_chain: 'SERVICES'
open_ports_list:
- { port: '{{ nim_waku_p2p_tcp_port }}' }
- { port: '{{ nim_waku_p2p_udp_port }}', protocol: 'udp' }
- { port: '{{ nim_waku_disc_v5_port }}', protocol: 'udp' }
- { port: '{{ nim_waku_metrics_port }}', chain: 'VPN', ipset: 'metrics.hq' }
- { port: '{{ nim_waku_rpc_tcp_port }}', chain: 'VPN', ipset: '{{ env }}.{{ stage }}' }

View File

@ -11,7 +11,7 @@
- name: infra-role-bootstrap-linux
src: git@github.com:status-im/infra-role-bootstrap-linux.git
version: 05d877a869748b2cf8e539bd9cb00e881471556e
version: 7280600c2c6cf532fdbbbb31481fdb068dd0573e
scm: git
- name: infra-role-wireguard
@ -26,7 +26,7 @@
- name: nim-waku
src: git@github.com:status-im/infra-role-nim-waku.git
version: e1daa4cef9dcde2a108221eaaeef281120508539
version: 1e5367c86a906d9b08c0d492f5d70a85d790ae37
scm: git
- name: waku-peers

View File

@ -17,6 +17,7 @@ module "hosts" {
/* firewall */
open_tcp_ports = [
"9000", /* discovery v5 */
"30303", /* p2p main */
]
}