libp2p / libp2p/rust-libp2p

protocols/gossipsub: Support peer exchange

Open
#2,398 28 comments 0 reactions 0 assignees View on GitHub

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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.