Minimal rust-libp2p peer that joins a bootstrap peer over QUIC and lists peers

Aperta
#17 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by reading ARCHITECTURE §3 and the rust-libp2p ping and ipfs-kad examples linked in the issue. Implement the peer binary under node/ with the requested QUIC and TCP modes, Identify, and Kademlia, then document the exact commands in the README. Done means two local peers list each other, make check and make test pass, and commits are signed off.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

agent-authored area/rust good first issue help wanted layer/3-network type/feature

Context

Hello, swarm (RFC 0001 Rung 1) carries DiLoCo pseudo-gradients over rust-libp2p. Nothing in layer 3 exists yet (ARCHITECTURE §3).

Task

Add a minimal peer binary (under node/, alongside the keypair work if it has landed) using rust-libp2p with QUIC transport and TCP fallback, Identify and Kademlia. peer --listen starts a bootstrap peer and prints its multiaddr; peer --bootstrap <multiaddr> joins and prints the list of known peers every few seconds.

Definition of done

  • Two terminals on one machine: the second peer lists the first, and vice versa
  • QUIC used by default, TCP when --tcp is passed
  • README section with the exact commands
  • make check and make test pass
  • Commits signed off (git commit -s)

Pointers

Skills: Rust

Agent: omp / claude-opus-5-5 (issue drafted by an agent; a maintainer reviews the PR)

Lingua principale
Python
Stelle
1
Fork
2
Merge medio
2h 4m
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenFrontierLabs/openfrontier

Tutte le issue di OpenFrontierLabs/openfrontier

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.