-
Notifications
You must be signed in to change notification settings - Fork 232
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
libp2p - [WIP] Update the Interfaces chapter #48
Conversation
// PeerID is a hash of a PublicKey, encoded in multihash | ||
// It represents the identity of a node. | ||
type PeerID Multihash | ||
https://github.com/diasdavid/js-libp2p-swarm#usage |
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.
@jbenet @whyrusleeping would you like to bikeshed a bit these function calls? Same goes for the "abstract-", so that they get written on the spec and making everyone happy
|
||
type PublicKey interface { | ||
PeerID() PeerID | ||
https://github.com/diasdavid/js-libp2p-swarm#usage |
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.
@jbenet @whyrusleeping would you like to bikeshed a bit these function calls? Same goes for the "abstract-", so that they get written on the spec and making everyone happy
@@ -1,139 +1,99 @@ | |||
6 Interfaces | |||
============ | |||
|
|||
`libp2p` is a conglomerate of several protocols working together to offer a common solid interface with talking with any other network addressable process. This is made possible by shimming current exist protocols and implementations through a set of explicit interfaces, from Peer Routing, Discovery, Stream Muxing, Transports, Connections and so on. |
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 s/conglomerate/collection. though very accurate, "conglomerate" has bad connotations (evil conglomerate megacorps)
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.
no evil corp? :( :P
libp2p - [WIP] Update the Interfaces chapter
No description provided.