nim-libp2p/tests/pubsub
Dmitriy Ryajov a52763cc6d
fix publishing (#250)
* use var semantics to optimize table access

* wip... lvalues don't work properly sadly...

* big publish refactor, replenish and balance

* fix internal tests

* use g.peers for fanout (todo: don't include flood peers)

* exclude non gossip from fanout

* internal test fixes

* fix flood tests

* fix test's trypublish

* test interop fixes

* make sure to not remove peers from gossip table

* restore old replenishFanout

* cleanups

* Cleanup resources (#246)

* consolidate reading in lpstream

* remove debug echo

* tune log level

* add channel cleanup and cancelation handling

* cancelation handling

* cancelation handling

* cancelation handling

* cancelation handling

* cleanup and cancelation handling

* cancelation handling

* cancelation

* tests

* rename isConnected to connected

* remove testing trace

* comment out debug stacktraces

* explicit raises

* restore trace vs debug in gossip

* improve fanout replenish behavior further

* cleanup stale peers more eaguerly

* synchronize connection cleanup and small refactor

* close client first and call parent second

* disconnect failed peers on publish

* check for publish result

* fix tests

* fix tests

* always call close

Co-authored-by: Giovanni Petrantoni <giovanni@fragcolor.xyz>
2020-07-07 18:33:05 -06:00
..
testfloodsub.nim fix publishing (#250) 2020-07-07 18:33:05 -06:00
testgossipinternal.nim fix publishing (#250) 2020-07-07 18:33:05 -06:00
testgossipsub.nim fix publishing (#250) 2020-07-07 18:33:05 -06:00
testmcache.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testmessage.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testpubsub.nim Gossipsub interop (#189) 2020-05-27 12:33:49 -06:00
utils.nim add sparse message propagation tests to gossipsub (#202) 2020-06-02 17:53:38 -06:00