Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p2p: Replace pubsub peer discovery with ContactInfo based peer discovery #17

Open
haardikk21 opened this issue Feb 21, 2024 · 1 comment

Comments

@haardikk21
Copy link
Contributor

Hubble recently updated to no longer do PubSub peer discovery

This is a good thing, because JavaScript LibP2P has pubsub peer discovery available officially - whereas Rust doesn't.

We've so far re-implemented some of the js libp2p stuff for pubsub peer disc, but wasn't fully complete. Ditching it in favor of a ContactInfo based peer discovery is easier and will overall lead to a net-reduction of the amount of work needed on peer disc from us.

@avichalp
Copy link
Collaborator

avichalp commented Feb 25, 2024

Here is the Hubble reference for handling messages on ContactInfo Topic. It should be a good place to start.

(edit: just noticed that this link was shared in #18 but leaving it here in case someone stumbles on it first)

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

No branches or pull requests

2 participants