nim-libp2p/libp2p
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
..
crypto Rm bearssl + Deactivate Travis completely (#477) 2020-12-10 14:19:27 +01:00
daemon Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
muxers streamline socket read/write hot path (#473) 2020-12-09 08:56:40 -06:00
protobuf Add `libp2p_dump` and `libp2p_dump_dir` compiler time options. (#359) 2020-09-15 11:16:43 +02:00
protocols Gossip subscription improvements (#497) 2021-01-13 23:49:44 +09:00
stream add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
transports Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
utils Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
cid.nim first pass, use results for Cid module (#480) 2020-12-15 14:19:18 +01:00
connmanager.nim Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
debugutils.nim fix debugutils (#423) 2020-11-04 19:56:28 -06:00
errors.nim warn -> debug log levels in errors.nim 2020-08-20 16:53:28 +09:00
multiaddress.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
multibase.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multicodec.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multihash.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multistream.nim adding libp2p tag to logScope (#465) 2020-12-01 11:34:27 -06:00
peerid.nim clean up peerid (#470) 2020-12-03 13:53:16 -06:00
peerinfo.nim simplify and unify logging (#353) 2020-09-06 10:31:47 +02:00
standard_setup.nim mplex fixes (#362) 2020-09-14 10:19:54 +02:00
switch.nim improving connection estblishing metrics (#500) 2021-01-07 17:06:41 -06:00
transcoder.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
utility.nim add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
varint.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
vbuffer.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
wire.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00