Skip to content

API to get actual ip for connected peer #3047

@bennofs

Description

@bennofs

Right now, /net_info shows all connected peers. However, it is not possible to find the actual ip being used for the connection, as listen_addr and rpc_addr can both be set to 0.0.0.0 and are not reliable.

It would be nice if there was a way to retrieve the actual ip used for a connection, given a peer id, via the API.

Metadata

Metadata

Assignees

Labels

C:p2pComponent: P2P pkgfeatureFeature work that definitely changes system behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions