* add verify signature flag
* add sign flag to enable/disable msg signing
* moving internal tests out to their own file
* cleanup nimble file
* remove unneeded tests
* move pubsub tests out
* fix tests
* update readme and organize the example folder
* adding package list
* add packages done
* basic readme done
* fix the go-daemon example folder
* add go-daemon folder in readme
* fix readme icon
* add badges
* add nim min version
* Update README background
Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>
* fix all the comments
* Update README.md wording
Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>
* fix file path in examples/
* add comments to example
* add comments to directchat and fix start.nim
* remove unnecessary modules from directchat
* del customdata
* improve directchat
* finish second.nim
* removea gcsafe
* with err
* change var to let
* remove final.nim
* fix comments on pull request
* fix comments on pull request
* replace result with return
* add hint when start and exit command
* update output string
* fix above comments
* add api documentation
* fix readme format
* update readme format
* readme table of content done
* fix format
* fix format
* include links to the tutorial article
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
* 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
* add stream metrics
- just BufferStream and Connection are tracked, for now
- flag checking is enforced more strictly in close(), since it became
clear that instances are closed multiple times
* add "metrics" dependency
and sort the list
* debug prints
* CI: enable stack traces
* Azure: better NimBinaries cache key
* CI changes
- Azure: remove Linux target
- Travis: add ARM64 target
* uglify the code in order to save 12 bytes per LPStream object
* Start removing allFutures
* More allfutures removal
* Complete allFutures removal except legacy and tests
* Introduce table values copies to prevent error
* Switch to allFinished
* Resolve TODOs in flood/gossip
* muxer handler, log and re-raise
* Add a common and flexible way to check multiple futures
* only check for payload size
* only subscribe if connection succeeded
* fix failing test
* check that the strem is active before openning
* msg type should not be > than 0x7
* fix tests
* check max against enum val