366 Commits

Author SHA1 Message Date
coffeepots
c162f24253 Re-enabled chronicles, extended RpcClientTransport, added stream servers 2018-06-19 18:16:39 +01:00
coffeepots
ce94ba8b41 Removed rpcstreamservers and added to rpcserver 2018-06-19 18:15:43 +01:00
coffeepots
a20e5b85d1 Unified return type 2018-06-18 18:39:48 +01:00
coffeepots
81d52cb3cb Add validated hex string type 2018-06-18 18:31:11 +01:00
coffeepots
a5467063b7 Add simple validation for hex strings to web3_sha3 2018-06-15 20:35:49 +01:00
coffeepots
d789ca6fee Utilities for validating ethereum values 2018-06-15 20:33:29 +01:00
coffeepots
6e81e6c5f5 Updated concept to remove type 2018-06-15 13:02:37 +01:00
coffeepots
bdf47fd2ed Add rpc server init proc 2018-06-15 11:12:34 +01:00
coffeepots
746232a928 Revert "Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer"
This reverts commit 0dfb4be55c4cbf852370b50971ba89f6539bf921.
2018-06-15 11:11:10 +01:00
coffeepots
0dfb4be55c Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer 2018-06-15 10:34:24 +01:00
coffeepots
30b97e7131 Remove delegate proc for processClient 2018-06-14 17:11:58 +01:00
coffeepots
20ddb0267f Remove redundant comment 2018-06-14 17:11:24 +01:00
coffeepots
e5c92dd207 Fix "cannot find init" as nimcrypto wasn't visible in ethprocs 2018-06-14 17:02:17 +01:00
coffeepots
bb07650f33 Update tests to use streamserver 2018-06-14 16:55:10 +01:00
coffeepots
7486a542ac Stream servers are now separated into new module 2018-06-14 16:53:57 +01:00
coffeepots
2f7580f082 Update to use rpc folder 2018-06-14 16:53:24 +01:00
coffeepots
33b1c61952 Move client and server to rpc folder 2018-06-14 16:52:41 +01:00
coffeepots
9f05f63054 Rename eth-rpc to rpc 2018-06-14 16:52:03 +01:00
coffeepots
5a5032a904 Temporarily disable logging to make tests green 2018-06-13 20:59:52 +01:00
coffeepots
a79351cbd7 Re-added malformed json error 2018-06-13 19:31:00 +01:00
coffeepots
9945228bf0 Add testerrors to all tests 2018-06-13 19:19:38 +01:00
coffeepots
ba53bd1237 Update errors to check results are as expected 2018-06-13 19:19:24 +01:00
coffeepots
6701fc7723 Improve tests, add check for invalid json 2018-06-13 19:13:04 +01:00
coffeepots
4143c2cc41 Debug func for getting next id, assert instead of if 2018-06-13 19:12:29 +01:00
coffeepots
374c5c02f8 Check id before anything else, complete future before raising if possible 2018-06-13 19:11:47 +01:00
coffeepots
4a164c026e Fix missing id in sendError, report error on wrong json version 2018-06-13 19:08:16 +01:00
coffeepots
8781bbbf4e Update testerrors ready for async tests (TODO) 2018-06-12 19:30:14 +01:00
coffeepots
e39008fe4a Removed extraneous debug output 2018-06-12 19:28:41 +01:00
coffeepots
5dba128947 Add max line read length, WIP changes to handle malformed json 2018-06-12 19:27:51 +01:00
coffeepots
937546b71d Add max line length 2018-06-12 19:26:24 +01:00
coffeepots
93c7a5577e var strings only for transport 2018-06-12 18:09:00 +01:00
coffeepots
2a6c1fb89a Remove debug echo 2018-06-12 16:53:13 +01:00
coffeepots
9613fe72a7 Efficiency of checkGet improved 2018-06-12 16:51:07 +01:00
coffeepots
1212861547 Add missing RPC test 2018-06-12 09:14:24 +01:00
coffeepots
687c577942 Merge asyncdispatch2 let->var changes 2018-06-12 09:13:02 +01:00
cheatfate
001195341c Fix client.nim for latest changes in asyncdispatch2. 2018-06-12 09:53:48 +03:00
cheatfate
1ff985b468 Fix for latest changes in asyncdispatch2. 2018-06-12 09:49:16 +03:00
coffeepots
b32660c1c9 Add module scope chronicles topic 2018-06-11 21:00:30 +01:00
coffeepots
da84d95d51 Update .nimble to include chronicles 2018-06-11 19:26:37 +01:00
coffeepots
4c38164688 WIP tests for errors 2018-06-11 19:26:16 +01:00
coffeepots
f9d20db511 Add chronicles logging and some custom errors 2018-06-11 18:48:12 +01:00
coffeepots
4daf3353aa
Merge pull request #16 from status-im/asyncdispatch2
Use asyncdispatch2 instead of asyncdispatch.
2018-06-11 09:45:15 +01:00
cheatfate
2b12f3699a Added reviews requirements. 2018-06-10 04:09:51 +03:00
cheatfate
7607cc4106 Fix connect(). 2018-06-08 09:31:51 +03:00
cheatfate
5548973168 Restart tests commit. 2018-06-07 21:42:24 +03:00
cheatfate
965b3df3e7 Strip string concatenation from new code. 2018-06-07 19:45:10 +03:00
cheatfate
739d303ccb Fix server creation. 2018-06-07 11:27:44 +03:00
cheatfate
aea1798897 Add close() procedure for RpcServer.
Fixed tests to stop/close server.
2018-06-07 11:20:33 +03:00
cheatfate
cbfe945fff Use asyncdispatch2 instead of asyncdispatch. 2018-06-07 10:02:14 +03:00
coffeepots
cc44cd257b Refactor to just client, server and jsonmarshal, add some comments 2018-06-05 14:03:58 +01:00