-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: config #495
docs: config #495
Conversation
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
f6d8000
to
5699779
Compare
76b808d
to
1f8843d
Compare
doc/CONFIGURATION.md
Outdated
|
||
Considering libp2p's modular nature, it can be composed by a set of building blocks that enable users to create any type of p2p systems without needing to implement its network layer. Taking into account that each p2p system has its own needs and requirements, libp2p can be configured accordingly. | ||
|
||
`js-libp2p` acts as the composer for this modular p2p networking stack using libp2p compatible modules as its building blocks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is superfluous.
`js-libp2p` acts as the composer for this modular p2p networking stack using libp2p compatible modules as its building blocks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I should move this under the next section? Its main intend is to introduce the modules
doc/CONFIGURATION.md
Outdated
|
||
## Modules | ||
|
||
For getting an instance of `js-libp2p` compliant with all types of networking requirements, it is possible to specify the following building blocks: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think using subsystems
instead of building blocks
is a bit more descriptive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some suggestions and a few comments. This is going to be a big improvement to the docs ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great @vasco-santos! I think @jacobheun covered things really well. I only have a little tweak to the peer routing description.
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
My thoughts as a libp2p newbie: This document is very clear! This would have helped me a lot if it had been linked when I first found js-libp2p, and honestly it helps me a lot even now. I have some comments:
|
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
Co-Authored-By: Yusef Napora <yusef@protocol.ai>
Thanks for your feedback @mcclure
The bundle naming caused confusion to several people and in the web space bundle is also used in other context. As a consequence, we thought it is a good timing to get rid of the bundle terminology.
I think that we can add that. I was thinking on writing that in the
Not really, native portuguese speaker, but thanks for the recommendations. I will work on them
Thanks for having a look on this and hopefully it will help you and other folks interested in getting started with libp2p |
669a812
to
fc98809
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one minor suggestion, otherwise this looks good! I think we can do a final pass of all the docs before the final release.
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* docs: new api * chore: new iteration * chore: apply suggestions from code review Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai> * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * chore: address review * docs: add events * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * docs: configuration * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * chore: update peer routing description Co-Authored-By: Yusef Napora <yusef@protocol.ai> * chore: decouple examples * chore: address pr comment * fix: connection encryption is required * chore: apply review suggestion Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* docs: new api * chore: new iteration * chore: apply suggestions from code review Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai> * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * chore: address review * docs: add events * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * docs: configuration * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * chore: update peer routing description Co-Authored-By: Yusef Napora <yusef@protocol.ai> * chore: decouple examples * chore: address pr comment * fix: connection encryption is required * chore: apply review suggestion Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
One of the biggest issues that
js-libp2p
users usually have relies on being complicated to understand:js-libp2p
in the middle of so many repos?js-libp2p
?js-libp2p
?Some decisions:
bundle
namingSome topics to discuss in the future:
Relevant issues: