113 Commits

Author SHA1 Message Date
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
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
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
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
f9d20db511 Add chronicles logging and some custom errors 2018-06-11 18:48:12 +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
coffeepots
383654f1f5 wrapReply now returns string, includes terminator 2018-06-05 13:29:33 +01:00
coffeepots
53baf0bffc clientdispatch -> client, serverdispatch -> server, more error handling 2018-06-05 11:33:21 +01:00
coffeepots
179a6f6024 Remove concatenation 2018-06-05 11:12:55 +01:00
coffeepots
1ea23b4df2 Remove shared server 2018-06-05 10:43:46 +01:00
coffeepots
6bfb4facc2 Remove var ref on rpc macro and just take ref 2018-06-04 15:34:48 +01:00
coffeepots
8b1b933d5d Remove export on rpc 2018-06-04 14:15:56 +01:00
coffeepots
6d72dc5dd0 Remove jsonconverters and internal references to stint 2018-05-30 16:36:55 +01:00
coffeepots
a0c1b7db44 Use proper error const 2018-05-30 16:36:55 +01:00
coffeepots
66f9c63f01 Removing unused import, some tidying 2018-05-30 16:36:55 +01:00
coffeepots
5d58d972a1 Remove debugging echo 2018-05-30 16:36:55 +01:00
coffeepots
964436c9e3 Move ethprocs and ethtypes into tests, remove external imports 2018-05-30 16:36:55 +01:00
coffeepots
42ec728b35 Minor comment updates 2018-05-30 16:36:55 +01:00
coffeepots
77a772adec Reuse symbol on checkGet 2018-05-30 16:36:55 +01:00
coffeepots
7aff489622 Move ethcallsigs to tests to confirm stand alone rpc setup 2018-05-30 16:36:55 +01:00
coffeepots
e302f6439b Update web3_sha3 to use nimcrypto 2018-05-29 13:20:07 +03:00
coffeepots
750d1c5e79 cryptoutils is no longer needed 2018-05-29 13:20:07 +03:00
coffeepots
b92869a2cd Remove ethcalls as ethcallsigs supplants it 2018-05-29 13:20:07 +03:00
coffeepots
42b63d86c9 Missing comma on comment 2018-05-29 13:20:07 +03:00
coffeepots
1c3eda633e Changed proc order pending forward decl issue 2018-05-29 13:20:07 +03:00
coffeepots
28d4641010 Update comments with current issue link 2018-05-29 13:20:07 +03:00
coffeepots
aa92e5f1d9 Unify jsonmarshal to support both client and server 2018-05-29 13:20:07 +03:00
coffeepots
18bf86d203 General refactoring and tidying up 2018-05-29 13:20:07 +03:00
coffeepots
b5d4b24ad2 Refactor marshalling and proc creation, better rpc sig parsing 2018-05-29 13:20:07 +03:00
coffeepots
0d607825fa Temporarily hide variant object part in lue of improving marshal macro 2018-05-29 13:20:07 +03:00
coffeepots
4d292e033b Implemented signature parsing to create client rpc procs based on params 2018-05-29 13:20:07 +03:00
coffeepots
154489a411 Updated path for jsonconverters 2018-05-29 13:20:07 +03:00
coffeepots
a7e6448d3c Refactored processing of params for client 2018-05-29 13:20:07 +03:00
coffeepots
7ef68e8152 Updated sha3 sig & fix relative import issue (requires nimble install) 2018-05-29 13:20:07 +03:00
coffeepots
5fe14db4eb Moved jsonconverters for easier use by client 2018-05-29 13:20:07 +03:00
coffeepots
ce86719f4c on is now rpc for now to fix compilation issue 2018-05-29 13:20:07 +03:00
coffeepots
867809f16d Client forward decls for checking client calls 2018-05-29 13:20:07 +03:00