nim-libp2p/libp2p/protocols/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
..
rpc add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
floodsub.nim Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
gossipsub.nim Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
mcache.nim clean up peerid (#470) 2020-12-03 13:53:16 -06:00
peertable.nim small cleanups & docs (#347) 2020-09-04 18:31:43 +02:00
pubsub.nim Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
pubsubpeer.nim add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
timedcache.nim fix poor performance in LRU cache (#360) 2020-09-09 18:28:46 +02:00