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

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

Merged
merged 1 commit 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.

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

Needs:

BREAKING CHANGE: peer event emits 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 354035c to a281188 Compare April 16, 2020 16:07
@vasco-santos vasco-santos marked this pull request as ready for review April 16, 2020 16:07
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.

This looks good but it's not using the updated interface version (not even a branch version).

@vasco-santos
Copy link
Member Author

It is using a tag from branch with some skipped tests of the interface. Context #183 (comment)

I rebased that branch with the latest stuff from libp2p-interface. I will create an issue to better track this issue, sounds good?

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.

Ah, right. Yeah, let's get an issue to track that.

@vasco-santos
Copy link
Member Author

Issue created #214 , going to merge and release with as beta for now

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