feat: add bootstrap mode to go peer
- Add
bootstrapperflag to go-peer - Enable peer exchange on go-peer when bootstrapping
- add
directpeeroption for bootstrapper go-peer
TODO
- Peer scoring
Was thinking to add the same bootstrapper functionality to the rust peer but PX is not implemented https://github.com/libp2p/rust-libp2p/issues/2398
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 |
@dozyio Have you tried this with the browser peer? If enabled, does this make pubsub peer discovery redundant?
@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
@dozyio what's the status of this PR? I'll try to get it landed next week if you refresh it and tell me it's complete.
@dozyio what's the status of this PR? I'll try to get it landed next week if you refresh it and tell me it's complete.
will take a look this week. I was going to close it as rust doesn't support peer exchange... however python does, so might be worth implementing
@dozyio does peer exchange work with js-libp2p?
@dozyio does peer exchange work with js-libp2p?
yeah, px works with js-libp2p
https://github.com/libp2p/go-libp2p-pubsub/pull/643 - will need this merging before this one can go in
libp2p/go-libp2p-pubsub#643 - will need this merging before this one can go in
can skip this - needed to add Dscore 0