libp2p / libp2p/rust-libp2p

kad: consume `FromSwarm::NewExternalAddrOfPeer`

Open
#5,313 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5.6k
Forks
1.3k
Avg merge
8h 47m
Merged PRs (30d)
19

Description

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

Read swarm/src/behaviour.rs at the referenced FromSwarm::NewExternalAddrOfPeer definition, then inspect protocols/kad/src/behaviour.rs around lines 2614-2634. Trace how Kademlia currently handles related swarm events and extend the routing table when this event is consumed; done means the new external peer address is incorporated there.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.