Skip to content

Commit

Permalink
add peers
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Dec 3, 2024
1 parent 934e51b commit 55029f4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions roles/setup_install_polkadot/templates/validator.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ ExecStart={{ default_base_path }}/polkadot \
--telemetry-url 'wss://telemetry-backend.w3f.community/submit 1' \
--rpc-port {{ default_rpc_port }} \
--listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port }} \
--listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port_ws }}/ws \
# --listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port_ws }}/ws \
--public-addr /ip4/{{ ansible_host }}/tcp/{{ default_p2p_port }} \
--public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port }} \
--public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port_wss }}/wss \
# --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port }} \
# --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port_wss }}/wss \
--prometheus-port {{ default_prom_port }} \
--prometheus-external \
--wasm-execution compiled \
--pruning 1000 \
--no-mdns \
--no-private-ip \
--out-peers 64 \
--in-peers 64 \
--workers-path {{ default_auxiliary_binary_path }} \
--db-cache {{ ansible_memtotal_mb // 2 }} \
--sync {{ default_syncmode }}
Expand Down

0 comments on commit 55029f4

Please sign in to comment.