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

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

Merged
merged 1 commit into from
Apr 20, 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.

We still do not run the interface tests per #44 .

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

Needs:

BREAKING CHANGE: peer event emitted with id and multiaddrs properties instead of peer-info
@vasco-santos vasco-santos force-pushed the chore/peer-discovery-not-using-peer-info branch from d7351fa to 48e2f6f Compare April 16, 2020 09:13
@vasco-santos vasco-santos marked this pull request as ready for review April 16, 2020 15:31
@vasco-santos vasco-santos requested a review from jacobheun April 17, 2020 16:13
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

@vasco-santos vasco-santos merged commit f0fb212 into master Apr 20, 2020
@vasco-santos vasco-santos deleted the chore/peer-discovery-not-using-peer-info branch April 20, 2020 08:33
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