vyzo
f6f34cfc99
make PX optional and disabled by default, gate by acceptPXThreshold
2020-04-18 11:09:06 +03:00
vyzo
f280c5f705
extend star topology test to assert that no peer is left with a single connection
2020-03-24 15:52:34 +02:00
vyzo
95d3bbfa1b
test prune px with a star topology
2020-03-24 15:52:34 +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
5f50a58aed
skip TestGossipsubControlPiggyback, it makes travis unhappy
2019-04-30 10:50:53 +03:00
vyzo
95071e955a
pacify the race detector in TestGossipsubFanoutExpiry
2019-04-30 10:49:02 +03: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
Kevin Atkinson
0827f5e955
gx publish 0.9.31
2018-10-04 19:23:53 -04:00
Kevin Atkinson
1abb0209ce
gx publish 0.9.30
2018-10-04 18:41:48 -04:00
vyzo
1dc8405449
more docs for gossipsub router, expire fanout peers when we haven't published in a while
2018-06-12 08:00:17 -07:00
vyzo
c57d256a22
increase the flood length in TestGossipsubControlPiggyback
2018-06-12 08:00:17 -07:00
vyzo
a39184a0af
smaller net sizes for tests that exercise full queues
...
so that travis doesn't get killed by OOM.
2018-06-12 08:00:17 -07:00
vyzo
0824316326
finetune GraftPruneRetry test, so that it doesn't get OOM killed
2018-06-12 08:00:17 -07:00
vyzo
a71eec5c3a
test control message retry piggybacking
2018-06-12 08:00:17 -07:00
vyzo
f5d6cf3bd1
TestGossipsubGraftPruneCoalesce is TestGossipsubGraftPruneRetry
...
it is really testing full queues (sized 32) and retries of control
messages and announces
2018-06-12 08:00:17 -07:00
vyzo
285c1f0aa7
add test for graft/prune coalescing in heartbeat
2018-06-12 08:00:17 -07:00
vyzo
e8c5cf0914
test gossip propagation with IHAVE/IWANT cycle
2018-06-12 08:00:17 -07:00
vyzo
3ecfbc2a60
better test for fanout maintenance
2018-06-12 08:00:17 -07:00
vyzo
75787fb809
moar gossipsub tests
2018-06-12 08:00:17 -07:00
vyzo
5533949443
finetune gossip test, add join grafting test
2018-06-12 08:00:17 -07:00
vyzo
66fc8adac5
more gossipsub tests
2018-06-12 08:00:17 -07:00
vyzo
0a82522cf6
basic gossipsub tests
2018-06-12 08:00:17 -07:00