nim-libp2p/libp2p/protocols/pubsub
Giovanni Petrantoni 4c6a123d31
Add chronos trackers and used them to sanitize resource disposal (#131)
* Add chronos trackers and used them to sanitize resource disposal

* Chronos trackers for transport tests wip

* No more chronos leaks in testtransport

* Make tcp transport and test more robust when closing

* Test async leaking tracking wip

* Fix a regression in wire connect

* Add chronos trackers to more tests and sanitize resource closure

* Wip fixing floodsub tests

* Floodsub wip

* Made floodsub basically deterministic, hit a nim bug with captures tho

* Wrap up floodsub tests refactor

* Wrapping up

* Add allFuturesThrowing utility

* Fix missing allFuturesThrowing in noise tests!

* Make tests green

* attempt fixing gossipsub failing cases

* Make sure to check also fanout in waitSub

* More verbose traces

* Gossipsub test improvments

* Refactor TcpTransport remove asyncCheck

* Add Connection trackers

* Add stricter connection tracking, wip mplex fix

* More asynccheck removal, in order to avoid connection leaks

* bump chronicles requirement

* Enable tracker dump to check CI output

* Wait for more futures in testmplex

* Remove tracker dump messages

* add tryAndWarn utility, fix mplex issue with go interop

* All allFuturesThrowing to directchat too

* make sure to cleanup on transport close
2020-04-21 10:24:42 +09:00
..
rpc Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
floodsub.nim Start removing allFutures (#125) 2020-04-11 13:08:25 +09:00
gossipsub.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
mcache.nim Cleanup (#55) 2019-12-10 14:50:35 -06:00
pubsub.nim Start removing allFutures (#125) 2020-04-11 13:08:25 +09:00
pubsubpeer.nim close underlying bufferstream in lpchannel 2020-03-28 09:29:43 -06:00
timedcache.nim Make sure the library can compile with json logging in trace mode 2020-02-04 15:17:39 +01:00