134 Commits

Author SHA1 Message Date
Dmitriy Ryajov
12702e2cd2 adding bufferstream tests 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
7f0627378c misc 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
fceea14aa5 adding bufferred stream 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
cbf0f4f186 move streams to own dir 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
85b0b5d1da don't do pointless cast 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
ef7a0b41e4 add switch tests to native 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
db1aad3df0 adding switch e2e test 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
79129ea6d1 handles should be called on concrete transport 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
3df92e0d67 wip: switch 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
022a248ca3 reworked protocol 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
22dd8c0f6b add native tests to testnative 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
e2b04fc30d add gcsafe pragma 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
0f42be495b remove dead code 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
ca4ccbe37f don't use method as handler in protocol base 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
5eced0abee rename multistream 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
aa2dfababd wip: identify 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
b85d616a13 call the handler with the protocol context 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
8d4de6b587 remove reduntant test 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
002328f7e5 don't use conflicting ips 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
3d7f657ce8 rename readerwriter to stream 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
d23398f498 nimpretty 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
ebab744106 end to end tests 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
97788f1c49 end to end tests for multistream 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
77aa11f0f3 removing bins 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
573a568946 fix tests 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
64e92eb9da adding na test/functionality 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
4dcb542ae8 add ls test 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
e13f42f9bb wip: initial multistream handler implementation 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
307c76e139 feat: implemented select 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
5d07145a0a feat: added stream abstraction and chronos wrapper 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
5f8e633c0f feat: use error pragma to signal abstract methods 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
a91c15c47a feat: adding dial/listen test with transports on both ends 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
c15a9bdd67 feat: adding dial tests 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
c8546583e6 feat: tcp transport listen 2019-10-11 08:15:24 +09:00
Dmitriy Ryajov
47106a6a7d wip: adding test 2019-10-11 08:15:24 +09:00
cheatfate
7138f7e94d
Add more primitives for SecIO.
Fix SIGSEGV inside of rsa.nim and ecnist.nim.
2019-09-11 19:03:39 +03:00
cheatfate
968e635746
Add secp256k1 curve support and tests for it. 2019-09-02 21:55:42 +03:00
cheatfate
2ab6b2c3ca
Fix #17.
Add go-libp2p-daemon logging to file.
Fix mistypes in tests.
Fix issues with connection to dedicated go-libp2p2-daemon.
2019-08-22 00:42:44 +03:00
cheatfate
dfd824bd03
Fix #22.
Fix wire.initTAddress(MultiAddress).
Add Windows support to daemonapi.
Add CI tests for daemonapi on Windows.
Fix Linux CI tests to install latest daemon.
2019-08-01 08:56:59 +03:00
cheatfate
d685147c52
Move ipnet/iface functionality to nim-chronos.
Adjust tests.
2019-04-15 11:16:54 +03:00
cheatfate
ab8b87be9a
Fix deprecation warnings. 2019-03-31 01:32:04 +02:00
cheatfate
f8dc3abe36
Add MultiAddress pattern matching procedures (go-multiaddr-fmt) with tests.
Add some comments.
2019-03-20 11:41:37 +02:00
cheatfate
518d33e26c
Add cross-platform getInterfaces() and test. 2019-03-18 10:42:30 +02:00
cheatfate
9ddc47fa56
IpMask, IpNet and tests initial commit. 2019-03-18 01:18:10 +02:00
cheatfate
abde17e8c2
Prepare for Windows tests. 2019-03-16 00:24:33 +02:00
cheatfate
dc2d0538ff
Fix import bugs.
Add PublicKey and Signature types to daemonapi.
Add more tests for crypto.nim
2019-03-06 13:23:12 +02:00
cheatfate
b185ad79f8
Add PeerID test vectors. 2019-03-06 03:48:22 +02:00
cheatfate
39129d0ec1
Add base64 and tests for it.
Adopt multibase to be able to use base64.
Fix base32 typos.
2019-03-06 02:36:09 +02:00
cheatfate
215c6c4257
Add SHA-1 support to multihash.nim, enabled tests for it. 2019-03-05 11:49:59 +02:00
cheatfate
77f34af737
Fix testdaemon.nim. 2019-03-04 20:51:10 +02:00