Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add wsPort to app:getNodeInfo #6297

Closed
1 task
JesusTheHun opened this issue Apr 1, 2021 · 0 comments
Closed
1 task

Add wsPort to app:getNodeInfo #6297

JesusTheHun opened this issue Apr 1, 2021 · 0 comments
Assignees
Milestone

Comments

@JesusTheHun
Copy link
Contributor

JesusTheHun commented Apr 1, 2021

Description

We need to have the wsPort of a node expose to the outside world.

Motivation

  1. One may want to add a reputable node as a fixed peers, the wsPort is required for that.

  2. In a cluster all nodes may have the same public ip. This causes an issue with the lisk p2p system because all peers are referenced with their public ip & port. So when running several nodes behind the same public ip, we must use different ports in order to not be referenced as duplicate connection among peers. To be able to use different ports, we must know what ports are currently in use, hence the need for that to be exposed by the node.

Acceptance Criteria

  • network.port must be exposed publicly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants