Skip to content
A pubsub system built on libp2p
Go Makefile
Branch: master
Clone or download
vyzo Merge pull request #204 from libp2p/fix/gossip-methods
gossip methods: renames and predicate adjustment
Latest commit 2247a54 Oct 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pb
.gitignore gx publish v0.5.0 Sep 14, 2016
.travis.yml farewell gx; thanks for serving us well. Apr 11, 2019
LICENSE use timecache Sep 11, 2016
README.md
blacklist.go migrate to consolidated types. (#185) May 26, 2019
blacklist_test.go migrate to consolidated types. (#185) May 26, 2019
codecov.yml Update Travis CI to use standard test script and go 1.9.x. Nov 18, 2017
comm.go migrate to consolidated types. (#185) May 26, 2019
doc.go
floodsub.go migrate to consolidated types. (#185) May 26, 2019
floodsub_test.go
go.mod migrate to consolidated types. (#185) May 26, 2019
go.sum migrate to consolidated types. (#185) May 26, 2019
gossipsub.go rename queueGossip() to enqueueGossip(). Oct 12, 2019
gossipsub_test.go migrate to consolidated types. (#185) May 26, 2019
mcache.go godocs: clarify config params of MessageCache. Oct 6, 2019
mcache_test.go move to go-libp2p-pubsub Oct 18, 2018
notify.go migrate to consolidated types. (#185) May 26, 2019
pubsub.go add PubSub's context to Subscription Sep 30, 2019
randomsub.go migrate to consolidated types. (#185) May 26, 2019
sign.go migrate to consolidated types. (#185) May 26, 2019
sign_test.go migrate to consolidated types. (#185) May 26, 2019
subscription.go add PubSub's context to Subscription Sep 30, 2019
validation.go migrate to consolidated types. (#185) May 26, 2019

README.md

go-libp2p-pubsub

Discourse posts

A pubsub system with flooding and gossiping variants.

This is the canonical pubsub implementation for libp2p.

We currently provide three implementations:

  • floodsub, which is the baseline flooding protocol.
  • gossipsub, which is a more advanced router with mesh formation and gossip propagation. See spec and implementation for more details.
  • randomsub, which is a simple probabilistic router that propagates to random subsets of peers.

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.

Documentation

See the libp2p specs for high level documentation and godoc for API documentation.

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


The last gx published version of this module was: 0.11.16: QmfB4oDUTiaGEqT13P1JqCEhqW7cB1wpKtq3PP4BN8PhQd

You can’t perform that action at this time.