protocols/gossipsub: Support peer exchange
Open
Nobody has claimed this yet.
difficulty:moderate
getting-started
help wanted
- Dominant language
- Rust
- Stars
- 5.6k
- Forks
- 1.3k
- Avg merge
- 8h 47m
- Merged PRs (30d)
- 19
Description
Implement the Gossipsub Peer Exchange mechanism, see specification.
Dependencies:
- Signed Envelope and Peer Record: Added via https://github.com/libp2p/rust-libp2p/pull/2107/
Today the mentions of Peer Exchange in the Gossipsub implementation are empty stubs.
See also https://github.com/libp2p/rust-libp2p/pull/2397#issuecomment-998361452.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in protocols/gossipsub by locating the empty Peer Exchange stubs, then read the linked Gossipsub v1.1 specification and the related pull-request discussion. The dependency for Signed Envelope and Peer Record is already marked complete; done means implementing the specified Peer Exchange behavior in those stubs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- distributed-systems, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100