The PubSub implementation for go-libp2p https://github.com/libp2p/specs/tree/master/pubsub
Go to file
Steven Allen fba434025b rework message signing options
Previously, there was no non-breaking upgrade path to enable message signing by
default while still providing a way to disable it. This patch breaks the options
into:

1. WithMessageSigning - actually enable message signing.
2. WithStrictSignatureVerification - enforce strict signature verification.
3. WithMessageAuthor - set the message author (independent of signing).

Now, users can explicitly set all three options and any changes we make to the
defaults will never override these explicit settings.

This patch *also* enables *signing* by default but not strict signature
verification. We obviously can't enable verification by default yet but I see no
reason not to enable signing. Basically, we're either hurting performance or
security by default. Security issues are generally only noticed once it's too
late. Performance issues can be caught ahead of time.
2018-10-25 06:41:49 -07:00
.gx gx publish 0.10.2 2018-10-24 14:58:20 -07:00
ci Create Jenkinsfile 2017-11-27 13:15:23 +01:00
pb move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
.gitignore gx publish v0.5.0 2016-09-14 15:27:34 -07:00
.travis.yml Disable sudo in Travis CI. 2017-11-17 23:04:19 -05:00
LICENSE use timecache 2016-09-10 20:47:12 -07:00
Makefile use timecache 2016-09-10 20:47:12 -07:00
README.md move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
codecov.yml Update Travis CI to use standard test script and go 1.9.x. 2017-11-17 22:36:56 -05:00
comm.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
floodsub.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
floodsub_test.go rework message signing options 2018-10-25 06:41:49 -07:00
gossipsub.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
gossipsub_test.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
mcache.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
mcache_test.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
notify.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
package.json gx publish 0.10.2 2018-10-24 14:58:20 -07:00
pubsub.go rework message signing options 2018-10-25 06:41:49 -07:00
randomsub.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
sign.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
sign_test.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00
subscription.go move to go-libp2p-pubsub 2018-10-18 21:10:16 +01:00

README.md

go-libp2p-pubsub

A pubsub system with flooding and gossiping variants.

PubSub is a work in progress, with floodsub as an initial protocol, followed by gossipsub (spec, gossipsub.go).

Table of Contents

Install

go get github.com/libp2p/go-libp2p-pubsub

Usage

To be used for messaging in p2p instrastructure (as part of libp2p) such as IPFS, Ethereum, other blockchains, etc.

Implementations

See libp2p/specs/pubsub#Implementations.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Jeromy Johnson