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

feat: add bootstrap mode to go peer #208

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

dozyio
Copy link
Contributor

@dozyio dozyio commented Dec 14, 2024

  • Add bootstrapper flag to go-peer
  • Enable peer exchange on go-peer when bootstrapping
  • add directpeer option for bootstrapper go-peer

TODO

  • Peer scoring

Was thinking to add the same bootstrapper functionality to the rust peer but PX is not implemented libp2p/rust-libp2p#2398

Copy link

vercel bot commented Dec 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
universal-connectivity ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 7:49pm

@2color
Copy link
Collaborator

2color commented Feb 26, 2025

@dozyio Have you tried this with the browser peer? If enabled, does this make pubsub peer discovery redundant?

@dozyio
Copy link
Contributor Author

dozyio commented Feb 26, 2025

@dozyio Have you tried this with the browser peer? If enabled, does this make pubsub peer discovery redundant?

Need to do the browser peer bits & peer scoring
Can't drop the pubsub peer discovery as rust doesn't support PX (might need to reconfirm this)
But we should be able to remove this https://github.com/libp2p/universal-connectivity/blob/main/js-peer/src/lib/libp2p.ts#L105 and let gossipsub handle the peering

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

Successfully merging this pull request may close these issues.

2 participants