Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow to set tendermint rpc peers and duplicate ip via role var… #25

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/vega_core/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ vega_core_block_explorer_postgresql_database: "tendermint"
vega_core_block_explorer_postgresql_password: "tendermint"

vega_core_data_node_settings: {}
vega_core_tendermint_settings: {}

vega_core_with_health_check: true
vega_core_health_check_repository: "nebula-dex/vega-health-check"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ seed_mode = false
private_peer_ids = ""

# Toggle to disable guard against peers connecting from the same ip.
allow_duplicate_ip = false
allow_duplicate_ip = {{ vega_core_tendermint_settings['p2p.allow_duplicate_ip']|default(false)|lower }}

# Peer connection configuration.
handshake_timeout = "20s"
Expand Down Expand Up @@ -354,7 +354,7 @@ enable = false
# For Cosmos SDK-based chains, trust_period should usually be about 2/3 of the unbonding time (~2
# weeks) during which they can be financially punished (slashed) for misbehavior.
# TODO: configure ansible to check healthines of all_persistent_peers and add here only two healhy nodes
rpc_servers = ""
rpc_servers = "{{ vega_core_tendermint_settings['statesync.rpc_servers']|default("")|lower }}"
trust_height = 0
trust_hash = ""
# 1 month of trust
Expand Down