Commit Graph

444 Commits

Author SHA1 Message Date
coffeepots 1feca64ca8 Renamed `client` access variable to `transport` 2018-06-26 16:24:35 +01:00
coffeepots d5f397104e Added note comment 2018-06-26 16:24:04 +01:00
coffeepots f8e178e5b3 Json extraction for http server read 2018-06-26 16:23:34 +01:00
coffeepots d36da9d14c Added testing, uses http client and server 2018-06-26 15:45:40 +01:00
coffeepots 9e8121b405 Added http rpc client definition 2018-06-26 15:44:58 +01:00
coffeepots 8685135fe9 Update comments 2018-06-26 15:40:09 +01:00
coffeepots e508cc077d Custom client transports operational 2018-06-26 15:38:49 +01:00
coffeepots ac9964370e Allow custom client transports (WIP) 2018-06-25 17:54:28 +01:00
coffeepots 13d560738a Remove shallow copy in place of a template 2018-06-25 17:21:33 +01:00
coffeepots 79e756bd3c Update tests to use rpcStreamClient 2018-06-22 19:06:03 +01:00
coffeepots ef6041ea6a WIP custom clients 2018-06-22 19:05:32 +01:00
coffeepots 99018eede4 Update for define rename 2018-06-22 18:22:17 +01:00
coffeepots ffb4752811 Name updates, defineRpcTransport to defineRpcServerTransport 2018-06-22 18:21:58 +01:00
coffeepots 11e2e18977 Ignore vscode settings folder 2018-06-21 18:44:01 +01:00
coffeepots 09b55a5b32 More error checking (WIP) 2018-06-21 18:40:49 +01:00
coffeepots b632cbfb25 Added HTTP afterRead code (WIP) 2018-06-21 18:39:47 +01:00
coffeepots 7839a553a5 Added 'afterRead' verb to define rpc, exported defaultMaxRequestLength 2018-06-21 18:33:39 +01:00
coffeepots d5116b07bb Updated comments 2018-06-21 18:22:04 +01:00
coffeepots 5208755f63 Remove debug echo 2018-06-21 18:17:46 +01:00
coffeepots 501d5a398c Updated to test defining HTTP-RPC (WIP, client needs more work) 2018-06-21 18:16:06 +01:00
coffeepots b245a23745 Server now allows defining read, write and close code directly 2018-06-21 18:15:21 +01:00
coffeepots 6b619472f3 Test errors WIP 2018-06-19 18:22:13 +01:00
coffeepots 49afd6ee76 Add simple test for HTTP (WIP) 2018-06-19 18:22:01 +01:00
coffeepots 14009846ef Add beginnings of HTTP-RPC 2018-06-19 18:21:37 +01:00
coffeepots 23911ad80e Fix bad debug log 2018-06-19 18:20:46 +01:00
coffeepots e42864ef7a Remove testerrors from tests whilst fixing exceptions in rpcs 2018-06-19 18:18:48 +01:00
coffeepots 8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots 28ce222e23 Client now should fail the future on errors 2018-06-19 18:17:12 +01:00
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 0dfb4be55c.
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