vyzo
3b92bdc1e9
rich router acceptance semantics
...
Allows us to ignore payload messages when the validation queue is under strain
2020-09-07 13:38:02 +03:00
vyzo
c353348592
add network size argument to randomsub
...
so that sqrt propagation math actually works
2020-04-23 21:36:48 +03:00
vyzo
63256dbe54
add sqrt behaviour to randomsub
2020-04-23 21:36:48 +03:00
vyzo
2ddc4b999f
allow gossipsub to graylist peers based on score
2020-04-18 11:09:06 +03:00
vyzo
87bbe69a8b
router.Publish doesn't need the source, it takes the whole message now
2020-04-18 11:09:06 +03:00
vyzo
69e4102a6d
correctly implement flood publishing
...
Only applies to messages that have been published by our own peer!
2020-04-18 11:09:06 +03:00
vyzo
958e09a5b3
remove useless nil check when initializing subsystem tracers
2019-11-15 20:42:04 +02:00
vyzo
fd73973145
add tracing to floodsub/randomsub
2019-11-15 20:42:04 +02: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
Raúl Kripalani
49274b0e8a
migrate to consolidated types. ( #185 )
2019-05-26 17:19:03 +01:00
vyzo
96c5b40934
godoc cosmetics
2019-01-04 13:14:04 +02:00
Steven Allen
bd1a4630b9
move to go-libp2p-pubsub
...
Updates for move from go-floodsub to go-libp2p-pubsub.
fixes https://github.com/libp2p/go-libp2p-pubsub/issues/4
2018-10-18 21:10:16 +01:00
vyzo
4c3dd1330f
fix floodsub id for secondary protocol
2018-10-10 17:39:38 +03:00
vyzo
06b0999ba0
randomsub implementation
2018-10-10 17:17:27 +03:00