Skip to content
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

Merged
merged 5 commits into from
Dec 12, 2015
Merged

Conversation

daviddias
Copy link
Member

No description provided.

@daviddias daviddias mentioned this pull request Nov 25, 2015
42 tasks
@daviddias daviddias changed the title WIP: Update the interfaces Chapter libp2p - WIP: Update the interfaces Chapter Nov 25, 2015
@daviddias daviddias changed the title libp2p - WIP: Update the interfaces Chapter libp2p - [WIP] Update the Interfaces chapter Nov 25, 2015
// 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
Copy link
Member Author

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
Copy link
Member Author

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.
Copy link
Member

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)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no evil corp? :( :P

daviddias added a commit that referenced this pull request Dec 12, 2015
libp2p - [WIP] Update the Interfaces chapter
@daviddias daviddias merged commit f2b250b into master Dec 12, 2015
@daviddias daviddias deleted the libp2p/interfaces branch December 12, 2015 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants