9 Commits

Author SHA1 Message Date
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Nishant Das
ca702289e6
update pubsub deps (#491) 2022-06-30 07:30:19 +03:00
rene
6b31a7bd2a more info 2021-12-22 14:27:06 +02:00
rene
3b1c59c733 add to MinTopicSize godoc re topic size 2021-12-22 14:27:06 +02:00
Yusef Napora
53c2eeaccf track discovery API change 2020-05-19 19:26:53 +03:00
vyzo
ce9a0b7edf use log.Warn instead of Warning 2020-05-05 21:10:14 +03:00
Adin Schmahmann
4fc98a00af chore: update libp2p discovery 2020-04-23 14:23:22 +03:00
Steven Allen
e2e0d9ee35
fix: fix a busy loop while offline (#278)
If advertising fails, we should wait and retry instead of busy looping.

fixes https://github.com/ipfs/go-ipfs/issues/7049
2020-04-06 23:26:05 -07:00
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