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
|
1df16bdbce
|
set log level to trace - not enabled by default
|
2019-12-02 18:43:21 -06:00 |
cheatfate
|
80e128b0d9
|
Tests are now testing with --threads:on.
Bump version to 0.0.2.
|
2019-11-06 13:01:16 +02:00 |
cheatfate
|
833e8c9406
|
Fix overflow problem.
Fix compilation warnings.
|
2019-10-29 20:51:48 +02:00 |
Dmitriy Ryajov
|
7b66198566
|
use init instead of toMultiAddr
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9c3b73d40b
|
fix: floodsub with multiple nodes
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3194e3ac5b
|
fixes after building with 0.20.2
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
a1c760127b
|
fix floodsub tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f9f75254af
|
readding commented out tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b281f46ee5
|
add tests for self trigger
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
468cddeb45
|
style/cleanup
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3b9d34116d
|
decrease floodsub traffic
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
60b5b2dc2e
|
add pubsub tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ed372b5fab
|
switch tests cleanup
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
34d1a641de
|
cleanup/test pubsub
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c7606ce2eb
|
readMsg should never return an empty buffer
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f7e5c8ee30
|
bring back commented tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f3afe0a6ce
|
feat: allow ussage of 0 addrs
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5b3f93ba1c
|
feat: allow multiple handlers per topic in pubsub
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e57e10703b
|
test: re-enable identify
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
393a9bb4e5
|
remove debug echos
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
011df568b7
|
finished integrating secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9bb892de69
|
wip: integrating and testing secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
27e4516796
|
fix breaking test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
bcaed7c6b9
|
refactor: identify requires Optional[T] keys
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f47d9196b1
|
test finishes correctly
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c1983e1685
|
commented out outdated tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
1fe2a391ae
|
fix: temprorarily disable broken tests in mxplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ef89e98479
|
renaming channel
|
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
|
8920cd7d60
|
misc: pubsub/floodsub and logging
|
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
|
0347a8ef1d
|
test connections properly
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
2febd47e0d
|
don't complete futures twise
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
435c69633f
|
adding chronicles logging
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
93a9fd203a
|
fix: multistream tests
|
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
|
997745b7e7
|
add multiple read/write streams test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e53c87e197
|
reworked to make msg reading sequential
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f761a7050e
|
read/write order test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ba843f4091
|
wip: interop testing
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
8cd1b71781
|
cosmetic
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
13ca6d253d
|
fix: multistream tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
0f52a6e798
|
fix: switch and tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6f8de062bb
|
fix: multistream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5237fc8b12
|
test multiple streams with mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
746987156d
|
reworked switch
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
0b784c5b58
|
don't pass stream handler through contructor
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9889bd9cbf
|
return proto string from select, instead of bool
|
2019-10-11 08:15:24 +09:00 |