Skip to content

Commit

Permalink
change engine state address (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Fehrs authored May 20, 2024
1 parent 83a35f2 commit 89a3e08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion node-runner-cli/config/CoreDockerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, config_dict: dict):
self.core_api_port: str = "3333"
self.system_api_port: str = "3334"
self.engine_state_api_port: str = "3336"
self.engine_state_address: str = "0.0.0.0"
self.engine_state_api_address: str = "0.0.0.0"
self.java_opts: str = (
"--enable-preview -server -Xms12g -Xmx12g "
"-XX:MaxDirectMemorySize=2048m "
Expand Down
2 changes: 1 addition & 1 deletion node-runner-cli/config/CoreSystemDConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, config_dict: dict):
self.core_api_port: str = "3333"
self.system_api_port: str = "3334"
self.engine_state_api_port: str = "3336"
self.engine_state_address: str = "0.0.0.0"
self.engine_state_api_address: str = "0.0.0.0"
self.java_opts: str = (
"--enable-preview -server -Xms12g -Xmx12g "
"-XX:MaxDirectMemorySize=2048m "
Expand Down
2 changes: 1 addition & 1 deletion node-runner-cli/templates/radix-fullnode-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
RADIXDLT_CONSENSUS_VALIDATOR_ADDRESS: '{{core_node.validator_address}}'
{% endif %}
RADIXDLT_ENGINE_STATE_API_PORT: {{core_node.engine_state_api_port}}
RADIXDLT_ENGINE_STATE_API_BIND_ADDRESS: {{core_node.engine_state_address}}
RADIXDLT_ENGINE_STATE_API_BIND_ADDRESS: {{core_node.engine_state_api_address}}
image: {{core_node.repo}}:{{core_node.core_release}}
init: true
mem_limit: {{core_node.memory_limit or '14000m'}}
Expand Down
2 changes: 1 addition & 1 deletion node-runner-cli/templates/systemd-default.config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ genesis.olympia.node_bech32_address={{migration.olympia_node_bech32_address}}

{% if core_node.engine_state_enabled %}
api.engine_state.port={{core_node.engine_state_api_port}}
api.engine_state.bind_address={{core_node.engine_state_address}}
api.engine_state.bind_address={{core_node.engine_state_api_address}}
db.re_node_listing_indices.enable={{core_node.engine_state_enabled}}
db.historical_substate_values.enable={{core_node.engine_state_enabled}}
state_hash_tree.state_version_history_length=60000
Expand Down

0 comments on commit 89a3e08

Please sign in to comment.