150 Commits

Author SHA1 Message Date
data-man
b6b511c1ad Fix tests 2018-05-17 15:49:22 +03:00
data-man
02ea6cea08 Remove unused hexdump module 2018-05-17 15:32:52 +03:00
Yuriy Glukhov
84ac86cc94
Merge pull request #21 from status-im/expectedLength2
Fix ack/auth message handling.
2018-05-17 14:37:39 +03:00
data-man
d484c2ff6b Fixes hexDump's bug 2018-05-17 13:32:50 +03:00
Your Name
407e6c43ef Added magic constant. 2018-05-17 11:39:10 +03:00
Your Name
b715adae7d Fix ack/auth message handling. 2018-05-17 10:26:36 +03:00
Yuriy Glukhov
fa4be1ebc9
Merge pull request #18 from status-im/eip8-auth
Eip8 auth
2018-05-16 18:16:27 +03:00
Yuriy Glukhov
6ec49cea9c Raise disconnect exception in fullRecvInto 2018-05-16 11:25:23 +03:00
Yuriy Glukhov
98cf6376c8 No hard limit for auth msg, rlpx encoding corrected, cosmetics. 2018-05-16 11:20:30 +03:00
Yuriy Glukhov
74f0b705f0 Eip8 auth 2018-05-16 07:31:35 +03:00
Yuriy Glukhov
d22c8251dc
Merge pull request #17 from status-im/server-updates
Server updates
2018-05-15 12:25:02 +03:00
Yuriy Glukhov
8ada7e716b Removed GC_ref/GC_unref 2018-05-11 15:25:16 +03:00
Yuriy Glukhov
e53daf31f7 Dont use asyncCheck 2018-05-11 13:11:57 +03:00
Yuriy Glukhov
e7959ee19d burnMem(secret) 2018-05-11 13:08:55 +03:00
Yuriy Glukhov
5523cb44db Fixed potential crash 2018-05-11 13:00:25 +03:00
Yuriy Glukhov
128460099a Fixed rlpx send, perform handshake in a test. ENode allows zero ports now. 2018-05-10 22:02:12 +03:00
Zahary Karadjov
e43fa613b6 Refactored the RlpxConnect procs to reduce code duplication 2018-05-10 17:03:37 +03:00
Yuriy Glukhov
5ac3163920 Server updates 2018-05-10 15:51:33 +03:00
Yuriy Glukhov
b3e0df26b6
Merge pull request #16 from status-im/discotest
Fixed findNode msg handling, minor optimization, added a test
2018-05-09 11:47:06 +03:00
Yuriy Glukhov
45886d2a16 Fixed findNode msg handling, minor optimization, added a test 2018-05-08 20:58:45 +03:00
mratsim
0b02864b9d Revert 3467243 + test tdiscovery uses C backend by default 2018-05-08 18:02:17 +02:00
Mamy Ratsimbazafy
a7e8cb7bdf
Revert "setCommand"
setCommand only executes the last command actually (works in other repo because there was only one test command to execute)
2018-05-08 16:58:24 +02:00
Yuriy Glukhov
4c23020d8e Removed misleading comment 2018-05-08 17:34:15 +03:00
Yuriy Glukhov
e823ee6b47
Merge pull request #15 from status-im/update-test-proc
Update test proc
2018-05-08 17:32:27 +03:00
mratsim
3467243a1b Uptade test proc 2018-05-08 16:11:34 +02:00
Yuriy Glukhov
b09682f91a
Merge pull request #14 from status-im/migrate-from-ttmath-to-stint
Migrating from ttmath to Stint
2018-05-08 17:04:57 +03:00
mratsim
07fadbc9bd Trigger Appveyor rebuild (add license badges) 2018-05-08 15:34:54 +02: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 a6b14dcd0bca368939c88f1fed574e6b8c78e776.
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
52b91ce214 RLPx is not ready yet (compiler errors). 2018-05-02 08:18:54 +03:00
cheatfate
3fb04b454f Add kademlia/discovery to exports. 2018-05-02 08:16:25 +03:00
cheatfate
da30ba61eb Add newNode(ENode).
Change newDiscoveryProtocol to use not strings, but ENode.
2018-05-02 07:58:11 +03:00
Yuriy Glukhov
eda7fd5816
Merge pull request #11 from status-im/discv4enode
Adopt discovery/kademlia to new enode type.
2018-05-01 09:40:43 +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
zah
47657ac096
Merge pull request #9 from status-im/peer-pool-preparations
Api adaptation for PeerPool
2018-04-19 15:40:43 +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