Dmitriy Ryajov
|
903e79ede1
|
Feat/conn cleanup (#41)
Backporting proper connection cleanup from #36 to align with latest chronos changes.
* add close event
* use proper varint encoding
* add proper channel cleanup in mplex
* add connection cleanup in secio
* tidy up
* add dollar operator
* fix tests
* don't close connections prematurely
* handle closing streams properly
* misc
* implement address filtering logic
* adding pipe tests
* don't use gcsafe if not needed
* misc
* proper connection cleanup and stream muxing
* re-enable pubsub tests
|
2019-12-03 22:44:54 -06:00 |
Dmitriy Ryajov
|
9e16fd020e
|
use PeerID `==` for comparisons
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
018da65708
|
compare peer string ids, rather than keys
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
464d75d159
|
minor style fixes
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9862064234
|
changed copyright year
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b270515bb3
|
feat: make private/public keys Option[T]
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
054085620c
|
logging: switch debug for trace in most cases
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
011df568b7
|
finished integrating secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f39a5cf5e4
|
temporary fix, until pub/priv keys are Option[T]
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
88079a2864
|
incomming connection handling flow and tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
41aad2e7e6
|
make peerId an Option[T]
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
177eb71ffa
|
wip: floodsub initial implementation
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
74d2aea63d
|
adding chronicles topics
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
435c69633f
|
adding chronicles logging
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e31966b6f8
|
fix: switch, with identify and mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
14d9150bbb
|
moving modules to apropriate directories
|
2019-10-11 08:15:24 +09:00 |