Commit Graph

41 Commits

Author SHA1 Message Date
Yuriy Glukhov 5ac3163920 Server updates 2018-05-10 15:51:33 +03:00
Yuriy Glukhov 45886d2a16 Fixed findNode msg handling, minor optimization, added a test 2018-05-08 20:58:45 +03:00
Yuriy Glukhov 4c23020d8e Removed misleading comment 2018-05-08 17:34:15 +03:00
mratsim 831d26e223 Update Kademlia randomBytes 2018-05-08 14:46:49 +02:00
mratsim d09010db11 First pass in migrating from ttmath to Stint 2018-05-08 14:00:32 +02:00
Jacek Sieka 849b7c1303 Revert "rlpx review comments"
This reverts commit a6b14dcd0b.
2018-05-02 20:51:29 +08:00
Jacek Sieka a6b14dcd0b rlpx review comments 2018-05-02 20:32:41 +08:00
Yuriy Glukhov 7c09171906 Fixed compilation error 2018-05-02 11:52:38 +03:00
Yuriy Glukhov 7c2e8daae4
Merge pull request #12 from status-im/discv4enode2
ENode integration part 2.
2018-05-02 10:48:00 +03:00
Yuriy Glukhov 240e6a862c Server mockup 2018-05-02 10:46:33 +03:00
cheatfate da30ba61eb Add newNode(ENode).
Change newDiscoveryProtocol to use not strings, but ENode.
2018-05-02 07:58:11 +03:00
cheatfate 80c1c98119 Adopt discovery/kademlia to new enode type. 2018-05-01 02:46:04 +03:00
cheatfate 144e486224 Add initENode with (pubkey,address). 2018-05-01 00:45:06 +03:00
cheatfate 0e5cd27e84 Fix [ProveInit] compilation warning. 2018-04-30 21:38:43 +03:00
cheatfate caf273228e Added copyright headers. 2018-04-30 21:08:18 +03:00
cheatfate 950e0c2d46 Add ENode type/procedures/tests.
Fixed header with proper licenses.
Fixed nimble to allow ENode tests.
2018-04-30 20:40:04 +03:00
Yuriy Glukhov d567911c14 Initial PeerPool mockup 2018-04-19 20:28:44 +03:00
Yuriy Glukhov 732b7941c4 Some bits required for PeerPool 2018-04-19 19:47:19 +03:00
Zahary Karadjov 8050440614 integrate the RLPx encryption with the rest of the framework 2018-04-19 15:43:24 +03:00
cheatfate c07b9f4457 RLPx encryption/decryption module with tests. 2018-04-19 15:43:24 +03:00
Yuriy Glukhov 5526179cce Api adaptation for PeerPool 2018-04-19 15:16:38 +03:00
Zahary Karadjov 8c79997672 Document the RLPx public APIs 2018-04-13 16:05:17 +03:00
Yuriy Glukhov e462019afc Use new eth_keys interface, more error handling 2018-04-11 13:04:17 +03:00
cheatfate d7bd43c334 Remove ecc.nim.
Remove testecc.nim.
Switch auth/ecies to use eth_keys instead of ecc.nim.
Fix tests according to new API.
2018-04-11 00:29:46 +03:00
Zahary Karadjov e89aab335c Adapt rlpxConnect to the new auth APIs 2018-04-04 02:47:31 +03:00
cheatfate 286d537d42 Merge branch 'master' into review 2018-04-02 21:03:19 +03:00
Yuriy Glukhov c0471a1376 Added TODO: close socket on error 2018-04-02 11:26:04 +03:00
cheatfate b4b16f452d Fix wrong constant is used. 2018-04-02 10:30:37 +03:00
cheatfate 59d65df3f4 Final version for review. 2018-04-02 10:15:16 +03:00
Zahary Karadjov f17352c243 progress on implementing RLPx 2018-04-01 05:41:05 +03:00
cheatfate b89d42b633 Merge branch 'master' into review 2018-03-30 23:12:05 +03:00
cheatfate d8c63e7da1 Some fixes and tests for ECIES. 2018-03-30 18:42:23 +03:00
Yuriy Glukhov 3615515fd9 Moved discovery from p2p-discobus 2018-03-30 16:58:06 +03:00
Yuriy Glukhov 647660af02 Fixed compilation error 2018-03-30 16:57:21 +03:00
cheatfate f020ff4712 Finished with ECIES review and adopted tests. 2018-03-30 10:03:32 +03:00
cheatfate 1afd8b67e1 first attempt 2018-03-29 23:53:19 +03:00
Zahary Karadjov b48a4cacf1 Reviewed the ecies module and a little bit of auth 2018-03-28 17:29:59 +03:00
cheatfate a57e5e6d84 Remove testing code from main files. 2018-03-28 12:51:15 +03:00
cheatfate f6210fcf09 Fix auth.nim to work with latest nim-rlp. 2018-03-28 10:24:41 +03:00
cheatfate a027af3a73 Remove trailing spaces. 2018-03-28 03:22:20 +03:00
cheatfate 56f034f57a Initial commit 2018-03-28 03:17:01 +03:00