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

feat: add getAddresses function to return detailed address info #387

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

achingbrain
Copy link
Member

Returning a plain list of multiaddrs isn't enough to know what is going on with the state of a node's addresses.

This PR adds a getAddresses function that returns detailed info about the addresses - are they being announced, was it an observed address, are we confident that the observed address is publicly routable, etc.

Returning a plain list of multiaddrs isn't enough to know what is
going on with the state of a node's addresses.

This PR adds a `getAddresses` function that returns detailed info
about the addresses - are they being announced, was it an observed
address, are we confident that the observed address is publicly
routable, etc.
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good, we should add this method to js-libp2p first and then this can be merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants