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

chore: peer-discovery not using peer-info #103

Merged
merged 3 commits into from
Apr 21, 2020

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Apr 6, 2020

In the context of deprecating peer-info as described on libp2p/js-libp2p#589, this PR changes the peer-discovery interface to emit an object containing an id property and a multiaddrs property.

This PR also adds the new peer-discovery interface tests

BREAKING CHANGE: peer event emits an object with id and multiaddr instead of a peer-info

Needs:

BREAKING CHANGE: peer event emits an object with id and multiaddr instead of a peer-info
@vasco-santos vasco-santos force-pushed the chore/peer-discovery-not-using-peer-info branch from ddb77be to b782934 Compare April 16, 2020 15:47
Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

LGTM.

The libp2p-interfaces beta release of 0.3.0 is out, so we can bump the version to that.

@vasco-santos
Copy link
Member Author

libp2p-interfaces updated. I will merge it once CI green

@vasco-santos vasco-santos merged commit 01ce4ec into master Apr 21, 2020
@vasco-santos vasco-santos deleted the chore/peer-discovery-not-using-peer-info branch April 21, 2020 10:19
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