Commit Graph

136 Commits

Author SHA1 Message Date
cheatfate b706b994ec
Fix Appveyor CI show master branch status. 2019-06-17 17:34:57 +03:00
Eugene Kabanov a012799694
Merge pull request #20 from status-im/buildnim
CI: use build_nim.sh
2019-06-13 15:54:52 +03:00
Ștefan Talpalaru 3692056619
forgot to set up Mingw-w64 2019-06-13 13:31:46 +02:00
Ștefan Talpalaru f546a70563
CI: use build_nim.sh 2019-06-13 13:09:12 +02:00
cheatfate 774f5c8232
Proper fix for #18. 2019-06-13 12:05:03 +03:00
cheatfate d685147c52
Move ipnet/iface functionality to nim-chronos.
Adjust tests.
2019-04-15 11:16:54 +03:00
cheatfate 39cc02232d
Merge branch 'master' of github.com:status-im/nim-libp2p 2019-03-31 01:32:22 +02:00
cheatfate ab8b87be9a
Fix deprecation warnings. 2019-03-31 01:32:04 +02:00
Ștefan Talpalaru 6f4f86ec88
Merge branch 'nimble' 2019-03-26 00:21:40 +01:00
Ștefan Talpalaru 77e621b9d7
*.nimble: remove imports 2019-03-25 22:45:34 +01: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 4fa5ee3c93
Move iface.nim and ipnet.nim to proper place. 2019-03-18 10:47:54 +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 44d0cc2dea
Fix undefined reference to `br_ec_c25519_m31'. 2019-03-16 00:56:10 +02:00
cheatfate 80ec410118
Fix compilation error. 2019-03-16 00:47:04 +02:00
cheatfate ed3c6d1612
Fix submodule initialization. 2019-03-16 00:39:51 +02:00
cheatfate 0ad20074d3
Enable AppVeyor tests. 2019-03-16 00:32:16 +02:00
cheatfate abde17e8c2
Prepare for Windows tests. 2019-03-16 00:24:33 +02:00
Ștefan Talpalaru eed7ce92c1
Merge branch 'master' of github.com:status-im/nim-libp2p 2019-03-14 03:56:55 +01:00
Ștefan Talpalaru 7cbb89c7e4
assert() -> doAssert()
and refactored the "test" task in libp2p.nimble
2019-03-14 03:55:47 +01:00
Zahary Karadjov d21953e458 Add a userdata field to the DaemonAPI to support attaching application data 2019-03-11 13:07:19 +02:00
Eugene Kabanov a736334fe1
Merge pull request #13 from status-im/sigpub
Fix import bugs.
2019-03-07 01:43:04 +02:00
cheatfate 845cbeb0bd
New go-libp2p-daemon building steps. 2019-03-07 01:30:03 +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
Eugene Kabanov 6321689c3c
Merge pull request #12 from status-im/peer
Peer
2019-03-06 04:20:07 +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 d7a7f8102d
Change PeerID type from distinct type.
Fix MultiAddress compilation error.
Fix chat example.
2019-03-05 22:28:46 +02:00
cheatfate a96718cf9e
Add PeerID support to multiaddress.
Change some PeerID api.
Some fixes to chat.
2019-03-05 14:09:26 +02:00
cheatfate 215c6c4257
Add SHA-1 support to multihash.nim, enabled tests for it. 2019-03-05 11:49:59 +02:00
cheatfate 68f3f506f3
Fix multihash dependency. 2019-03-05 02:04:45 +02:00
cheatfate 046c693e3a
Merge branch 'master' of github.com:status-im/nim-libp2p into peer 2019-03-05 01:57:33 +02:00
cheatfate d7d9d7bd40
Fix daemonapi and examples. 2019-03-05 01:57:18 +02:00
Eugene Kabanov 582e52fc5c
Merge pull request #11 from status-im/protobuf-bugfix
Bugfix: Protobuf length prefix was assumed to be 1 byte
2019-03-05 01:43:55 +02:00
cheatfate 77f34af737
Fix testdaemon.nim. 2019-03-04 20:51:10 +02:00
cheatfate 53467d028f
Fix examples for new PeerID. 2019-03-04 20:28:59 +02:00
Zahary Karadjov db64bd100e Bugfix: Protobuf length prefix was assumed to be 1 byte
The error in the code was that the `vsizeof(n)` was called
with a dummy zeroed variable, instead of the proper size of
the buffer. This resulted in an assertion failure when the
prefix length needs to be stored in more than 1 byte.
2019-03-04 20:26:46 +02:00
cheatfate 1e6c8b2171
Fix examples.
Add peer.nim.
Switch daemonapi to use PeerID from peer.nim.
2019-03-04 20:22:38 +02:00
cheatfate e6c424618d
Add nimcrypto 0.3.9 dependency. 2019-03-02 21:20:30 +02:00
cheatfate b235c84bb2
Add key interface with test vectors. 2019-03-02 21:19:41 +02:00
cheatfate 14686714c0
Add raw init functions for ecnist.nim
Add ECDHE helpers for ecnist.nim
Add test vectors for ECDHE.
2019-03-01 08:34:52 +02:00
cheatfate 411d9f0b9c
Fix protobuf's do not check error value. 2019-02-28 22:29:03 +02:00
cheatfate 5e6d740ee7
Cleanup. 2019-02-28 18:17:24 +02:00
cheatfate 2a2e378ced
Fix checkScalar in ecnist.
Add ed25519 and tests.
Add some comments.
2019-02-28 14:17:39 +02:00
cheatfate cb334cc8ab
Fix inline documentation. 2019-02-25 20:03:52 +02:00
cheatfate c5a5c50ca1
Temporary remove nim-secp256k1 dependency. 2019-02-25 16:08:36 +02:00
cheatfate 39fb9ed2de Fix fail verification tests. 2019-02-25 11:06:50 +02:00
cheatfate 887795bbd2 Final RSA changes.
Add RSA tests and test vectors.
2019-02-24 02:07:13 +02:00
cheatfate 1aaf4797c9 Finish EC NIST curves implementation.
Add EC NIST curves tests and test vectors.
2019-02-22 13:32:15 +02:00