Skip to content

Conversation

dr-frmr
Copy link
Contributor

@dr-frmr dr-frmr commented Mar 19, 2024

Problem

Described in issue #281, the runtime was not properly enforcing that a direct node boots on its specified port for the ws-networking protocol. It was also impossible to specify this port at node-registration-time.

Solution

This PR adds a --ws-port flag so that users can specify a desired ws-networking port at registration time. If this port is not available, the binary exits with a helpful error.

Separately, the registration/login flow now enforces that the runtime can bind to and use the port specified in a node's onchain networking data if it is a direct node.

Docs Update

N/A

@dr-frmr dr-frmr merged commit aa46605 into main Mar 22, 2024
@dr-frmr dr-frmr deleted the dr/add-ws-routing-flag-and-enforce branch March 22, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant