The PubSub implementation for go-libp2p https://github.com/libp2p/specs/tree/master/pubsub
Go to file
vyzo 4addc898c1 test floodsub with message signing 2018-10-14 02:22:20 +03:00
.gx gx publish 0.9.36 2018-10-12 16:01:29 +01:00
ci Create Jenkinsfile 2017-11-27 13:15:23 +01:00
pb add signature and key fields to Message 2018-10-14 02:22:20 +03: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 Add a spec link for gossipsub 2018-07-05 15:24:04 +10: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 fix missing reset on write errors 2018-10-12 12:22:26 +03:00
floodsub.go gx publish 0.9.31 2018-10-04 19:23:53 -04:00
floodsub_test.go test floodsub with message signing 2018-10-14 02:22:20 +03:00
gossipsub.go gx publish 0.9.31 2018-10-04 19:23:53 -04:00
gossipsub_test.go gx publish 0.9.31 2018-10-04 19:23:53 -04:00
mcache.go implement mcache 2018-06-12 08:00:17 -07:00
mcache_test.go fix go vet issues in mcache test 2018-06-12 08:00:17 -07:00
notify.go gx publish 0.9.31 2018-10-04 19:23:53 -04:00
package.json sign messages when a signing key is present 2018-10-14 02:22:20 +03:00
pubsub.go implement signMessage and verifyMessageSignature 2018-10-14 02:22:20 +03:00
randomsub.go fix floodsub id for secondary protocol 2018-10-10 17:39:38 +03:00
sign.go use MatchesPublicKey, don't rewrite it. 2018-10-14 02:22:20 +03:00
sign_test.go test message signing 2018-10-14 02:22:20 +03:00
subscription.go add ctx to sub.Next for cancellation 2016-11-18 02:23:38 +01:00

README.md

go-floodsub

A flooding pubsub system.

PubSub is a work in progress, with floodsub as an initial protocol, followed by gossipsub, which is an alpha release as of May 2018.

Table of Contents

Install

go get github.com/libp2p/go-floodsub

Usage

TODO

Implementations

See this issue for an introduction to pubsub, gossipsub and floodsub, which is in the repo for go-floodsub. A PR for gossipsub with Go is here; see gerbil-simsub for a high-level literate specification, as well as the libp2p spec for gossipsub.

The rust-libp2p implementation of floodsub is here. Work is in progress on a gossipsub implementation for Rust with @jamesray1 from Drops of Diamond (which is developing sharding for Ethereum).

Here is a Javascript implementation of floodsub.

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