358 Commits

Author SHA1 Message Date
Dmitriy Ryajov
9d93301a3a handle /connect command properly 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
27e4516796 fix breaking test 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
393d82d4b1 updating nimcrypto 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
b47dc89589 wip: integrating secio 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
ea142f0e6d proxy connection through secio 2019-10-11 08:15:24 +09:00
cheatfate
2d00f6a6db wip: integrating secio 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
9b5f75a100 remove chronos as a submodule dep 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
f2fb92d1af properly close transport 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
a1ee339680 feat: native chat clean up 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
2c53dd27f8 cleanup and error handling 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
c98e8929bc reverting change 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
72c4115c95 wip: native libp2p chat sample 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
68d50a97f8 properly initialize hashsets 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
9f3b80b60c got pubsub working without signing 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
80267e81ec exit main loop correctly 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
4d9444afe9 proper server startup sequence 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
5f2d944545 add muxer handler and properly set stream peerinfo 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
32b74c5d1c add logging context 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
875ec346e6 adding bool suport to protobuf methods 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
003b72ec27 adding bool 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
67e10d0747 set mplex channel peerInfo correctly 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
4f158d4e83 adding pubsub interface to switch 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
827a8caba6 wip: modeling floodsub 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
bb648c87e1 wip: modeling secio 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
525646dcc1 handle secure managers correctly 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
fc36de21c1 handle exceptions correctly 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
e8287a0e82 adding chronicles dep 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
d27ea5d228 whip initial secio 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
435c69633f adding chronicles logging 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
5bc8e7e7b1 remap exceptions 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
116051208a make patterns runtime only 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
701e048ee6 add debug logging 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
54d740949e debug logging 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
0c416e757e make gcsafe 2019-10-11 08:15:24 +09:00