nim-libp2p/libp2p/protocols
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
..
pubsub Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
secure Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
identify.nim adding libp2p tag to logScope (#465) 2020-12-01 11:34:27 -06:00
protocol.nim