103 Commits

Author SHA1 Message Date
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
coffeepots
52c834122a Refactor Ethereum types to separate module 2018-05-29 13:20:07 +03:00
coffeepots
59b9ad7e8c Refactor Ethereum rpc types to separate module 2018-05-29 13:20:07 +03:00
coffeepots
b17134f636 Add check for UInt256 strings being too long 2018-05-29 13:20:07 +03:00
coffeepots
4eb7cdb914 Remove finished UInt256 TODO, add string return for web3_client 2018-05-29 13:20:07 +03:00
coffeepots
6e4309f565 Changed stint values to take and output strings 2018-05-29 13:20:07 +03:00
coffeepots
89ece166db fix stint to json to output hex rather than decimal 2018-05-29 13:20:07 +03:00
coffeepots
e125d7883e output proc names changed from alpha -> alphanumeric 2018-05-29 13:20:07 +03:00
coffeepots
206abd8ae8 fix double json conversion 2018-05-29 13:20:07 +03:00
coffeepots
fad4e4a018 Allow use of return in on macro rpcs 2018-05-29 13:20:07 +03:00
coffeepots
c3b4a8c0ac process stints to json strings rather than arrays 2018-05-29 13:20:07 +03:00