nim-libp2p-experimental/tests/pubsub
Giovanni Petrantoni dc48170b0d
Gossip subscription improvements (#497)
* salt ids in seen table

* add subscription validation callback and avoid processing topics we don't care of

* apply penalty on bad subscription

* fix IHave handling IDs

* reduce indenting, add some comments

* fix gossip randombytes generation

* do not descore unwanted topics (might happen, due to timing, needs improvements)

* cleaning up and added tests

* validate subscriptions only when subscribing

* set notice level for failed publish

* fix floodsub behavior
2021-01-13 23:49:44 +09:00
..
testfloodsub.nim Gossipsub refactor (#490) 2020-12-19 15:43:32 +01:00
testgossipinternal.nim Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
testgossipsub.nim Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
testmcache.nim gossipsub / floodsub fixes (#348) 2020-09-04 08:10:32 +02:00
testmessage.nim allow to omit peerId and seqno (#372) 2020-09-23 17:56:33 +02:00
testpubsub.nim gossipsub / floodsub fixes (#348) 2020-09-04 08:10:32 +02:00
testtimedcache.nim fix poor performance in LRU cache (#360) 2020-09-09 18:28:46 +02:00
utils.nim Gossipsub refactor (#490) 2020-12-19 15:43:32 +01:00