nim-libp2p-experimental/libp2p
Jacek Sieka ccd019b328
use stream directly in chronosstream (#163)
* use stream directly in chronosstream

for now, chronos.AsyncStream is not used to provide any features on top
of chronos.Stream, so in order to simplify the code, chronosstream can
be used directly.

In particular, the exception handling is broken in the current
chronosstream - opening and closing the stream is simplified this way as
well.

A future implementation that actually takes advantage of the AsyncStream
features would wrap AsyncStream instead as a separate lpstream
implementation, leaving this one as-is.

* work around chronos exception type issue
2020-05-08 22:10:06 +02:00
..
crypto removals (#159) 2020-05-06 18:31:47 +02:00
daemon Fix compilation errors introduced by latest chronos. 2020-03-24 09:48:05 +02:00
muxers remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
protobuf Fix overflow problem. 2019-10-29 20:51:48 +02:00
protocols Add PubSub observer+ hooks (they can modify as well) 2020-05-08 13:31:52 -06:00
stream use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
transports use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
cid.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
connection.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
errors.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
multiaddress.nim Fix MultiAddress.protoAddress() bug for fixed arrays. 2020-04-28 14:43:44 +03:00
multibase.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
multicodec.nim Use CatchableError 2019-06-24 05:39:13 +03:00
multihash.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
multistream.nim removals (#159) 2020-05-06 18:31:47 +02:00
peer.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
peerinfo.nim avoid newlines in $ 2020-04-28 10:59:53 -06:00
standard_setup.nim remove Chronos type from public API 2020-05-08 13:23:36 -06:00
switch.nim use a Transport.serverFlags attribute 2020-05-08 13:23:36 -06:00
transcoder.nim Add multicodec to table and make it single source of multiformat codes. 2018-12-05 17:24:07 +02:00
utility.nim Less verbose traces (#112) 2020-03-23 15:03:36 +09:00
varint.nim Signed variable integers fixes. (#96) 2020-03-06 20:19:43 +01:00
vbuffer.nim Signed variable integers fixes. (#96) 2020-03-06 20:19:43 +01:00
wire.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00