casper-network / casper-network/cctl

Allow environment to inject base node ports

Open
#11 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently the node port numbers are derived by adding a node's ordinal identifier to a static constant.

- E.G. $CCTL_BASE_PORT_RPC + node_idx where CCTL_BASE_PORT_RPC=11000 and <=1 node_idx <= 10.

There is a requirement to allow the deployment environment to override the static constant. This can be achieved via the use of an environment variable per port type. If the env-var is declared then it will be utilised, otherwise the default constant is utilised.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.