Commit Graph

7 Commits

Author SHA1 Message Date
Adin Schmahmann f9c26c2e68 Added libp2p discovery capabilities to PubSub.
When the WithDiscovery option is passed to PubSub then PubSub will be able to search for more peers that are interested in our topics.

This includes the ability for Publishes (via Topic.Publish()) to block until the router is ready to publish. When a router is ready is currently defined by a combination of a user defined MinTopicSize function (passed into topic.Publish via the WithReadiness publish option) and the properties of the pubsub router used. The discovery tests show example usage.
2019-10-31 16:39:18 -04:00
Adin Schmahmann c837436c80 dep: update go-libp2p 2019-10-31 15:36:07 -04:00
Raúl Kripalani 49274b0e8a
migrate to consolidated types. (#185) 2019-05-26 17:19:03 +01:00
Hector Sanjuan 08ddcf7bf2 update deps (-u=patch) 2019-05-24 23:41:35 +02:00
Steven Allen 1a2f55f640 dep: update go-libp2p deps
Deal with https://github.com/libp2p/go-libp2p/issues/640
2019-05-21 20:25:06 -07:00
Steven Allen 2ab4518e0e dep: update go-libp2p
Deal with broken tag.
2019-05-21 18:10:24 -07:00
Raúl Kripalani 25cbf38777 add gomod support // tag v0.0.1. 2019-03-02 00:13:11 +00:00