Replies: 2 comments
-
Having worked on the Peer Exchange and BackOff PR (#690),I can confirm that we consciously adapted the implementation to fit py-libp2p's current PeerInfo abstraction, while keeping in mind the eventual transition to standardized PeerRecord and signed envelope formats. The goal was to enable dynamic peer updates without blocking progress on feature parity. I agree that aligning with the spec is essential for long-term interop, especially as other libp2p implementations increasingly rely on signed peer records. A compatibility checklist or delta doc, as suggested, would definitely help guide the migration and identify any lingering gaps. Looking forward to collaborating on the proposed roadmap and ensuring py-libp2p maintains full interop with Go and JS stacks in future releases. |
Beta Was this translation helpful? Give feedback.
-
Adding to what already has been shared @Khwahish29 , here's the summary of approach as requested by @seetadev - Summary of Approach: Peer Exchange and Backoff in Gossipsub v1.1Peer Exchange (PX)
Backoff Logic
Testing
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Following a thorough review of the
go-libp2p
andjs-libp2p
implementations by @mystical-prog (Vraj), it’s been observed that our currentpy-libp2p
Gossipsub v1.1 implementation is not conforming to the standard envelope and peer-record structure as defined in the spec. This could lead to interop compatibility issues—particularly in scenarios involving peer exchange and signed records validation.Big thanks to @mystical-prog for catching this.
To move forward, wish to have thoughts, feedback, pointers on:
Would be great to hear thoughts from other libp2p maintainers and anyone working on or using
py-libp2p
with Gossipsub.Looking forward to collaborating on resolving this. CCing @pacrob, @sumanjeet0012 and @Khwahish29.
Beta Was this translation helpful? Give feedback.
All reactions