Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improve Protocol Documentation.

Aperta
#120 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@salmad3 ci sta già lavorando.

Dal 29/8/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area:general P2 type:enhancement

First of all, thanks for the documentation. I appreciate the effort that goes into it. Thing is, I just read the protocol section in the documentation here and I have to say it leaves me with more questions than answers.

What I got from it is basically that protocol allows nodes to communicate in a particular way. But I know that already from it being called protocol and I do not have to read the piece. The information about protocol Ids and protocol negotiation also does not provide much value.

I think what I am missing is:

  • What is a structure of a protocol in libp2p? What interface does it provide, what are the rules to follow etc
  • Do not just list examples of inbuilt protocol (Ping, Identify, secio etc) but show how to use them and relate it to the interface they provide.
  • And maybe an advance section that quickly shows how to write a custom protocol.

I think the documentation on protocol will be improved is these points are taken into consideration.

Lingua principale
HTML
Stelle
72
Fork
97
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 libp2p/docs

Tutte le issue di libp2p/docs

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.