Skip to content

[FEAT] Peer service should sanity check asset_httpPublicAddress #2

@galt-tr

Description

@galt-tr

Is your feature request related to a problem? Please describe

When a user misconfigures their asset_httpPublicAddress either because they haven't properly exposed the DNS endpoint/IP addresses or they just set a bad value, the node still starts up and runs as a full node which causes other peers to attempt to connect to them.

Describe the solution you'd like

The peer service should run some type of basic health check on this value before broadcasting it to other peers. This health check should confirm basic resolution of this endpoint. If the endpoint is not accessible, the node should automatically default to listen-only mode or switch to IDLE state to prevent other users from attempting to fetch data from this user. This will also prevent users from secret mining.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions