Commit Graph

39 Commits

Author SHA1 Message Date
Ethan Buchman f7639bf105 Merge branch 'develop' of https://github.com/tendermint/tendermint into develop 2015-04-19 19:57:07 -07:00
Ethan Buchman 595a930723 add empty file because go tool is silly 2015-04-19 13:37:46 -07:00
Jae Kwon b11ca1bbfc (╯°□°)╯︵ ┻━┻ 2015-04-17 17:39:50 -07:00
Jae Kwon a9467414d6 Merge remote-tracking branch 'origin/websockets' into develop 2015-04-17 13:20:47 -07:00
Ethan Buchman 65f669160f more fixes from review 2015-04-17 13:18:50 -07:00
Ethan Buchman a1c5e32d76 fixes from review with jae 2015-04-15 22:19:29 -07:00
Ethan Buchman 9b76cfe26a rpc: cleanup tests and test contract calls 2015-04-14 19:29:18 -07:00
Ethan Buchman 860d5478e9 rpc: use NewBlock event in rpc tests 2015-04-14 01:42:11 -07:00
Ethan Buchman 2e918e8c0b rpc: websocket events testing 2015-04-14 01:39:41 -07:00
Jae Kwon 6d6f061f19 Support nil pointers for Binary.
If the thing does not already have a typebyte declared,
a fake one will be given (0x01).
A TypeByte of 0x00 is reserved for nil things.
No nil-dogs.
2015-04-12 17:46:16 -07:00
Ethan Buchman 8e24b12888 rpc: first successful websocket event subscription 2015-04-08 19:07:17 -05:00
Ethan Buchman 12814db90d rpc: use gorilla websockets
Conflicts:
	rpc/handlers.go
	rpc/http_server.go
2015-04-08 18:24:07 -05:00
Jae Kwon 675dbf0e9c Merge branch 'rpc_jae' into develop
Conflicts:
	node/node.go
	rpc/core/accounts.go
	rpc/core_client/client.go
	rpc/handlers.go
	rpc/http_server.go
	rpc/test/helpers.go
	rpc/test/http_rpc_test.go
	rpc/test/json_rpc_test.go
2015-04-08 14:27:03 -07:00
Jae Kwon 7356556938 Some renames and small fixes. 2015-04-08 12:30:49 -07:00
Jae Kwon cc18136af8 RPC refactor to separate core from core_client and the rest of RPC.
Other random changes.
2015-04-07 11:44:25 -07:00
Ethan Buchman 6b5383918f rpc: fix memcount error in tests 2015-04-07 02:02:03 -05:00
Ethan Buchman 5a2ff3d45b rpc: test CallCode and Call 2015-04-07 00:34:27 -05:00
Ethan Buchman 3bedcbf94d rpc: tests cleanup, use client lib for JSONRPC testing too 2015-04-07 00:34:27 -05:00
Ethan Buchman 4956836f2d rpc: cleanup, use client for tests, rpc-gen fixes 2015-04-07 00:34:26 -05:00
Jae Kwon f271ab7256 various changes. removed debora temporarily 2015-04-03 16:15:52 -07:00
Jae Kwon 13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Jae Kwon bfb61fb539 Fixed RPC tests. Changed some names. 2015-04-01 13:23:20 -07:00
Ethan Buchman 25ab73a51a Merge branch 'develop' of https://github.com/tendermint/tendermint2 into develop 2015-04-01 05:13:14 -07:00
Ethan Buchman 8fe1274323 rpc: myriad little fixes 2015-04-01 05:12:38 -07:00
Jae Kwon 7589730f2e tendermint -> tendermint2 ... 2015-04-01 05:07:05 -07:00
Jae Kwon cc715e0ee3 Everything is an RPCResponse 2015-04-01 04:58:33 -07:00
Ethan Buchman 964a189210 rpc: decrement mempool count after block mined 2015-03-31 17:04:53 -07:00
Ethan Buchman c1b06d8101 rpc: GetStorage and Call methods. Tests. 2015-03-31 17:04:53 -07:00
Jae Kwon 39d5ff9ccb Reset log after config changes. 2015-03-31 15:34:12 -07:00
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Jae Kwon e257307b01 cleanup rpc/handlers 2015-03-30 16:00:11 -07:00
Jae Kwon 1a4aab4c35 When using JSONRPC, do not double-encode JSON. 2015-03-30 15:14:33 -07:00
Jae Kwon 5cb57d3eaa Use BlockCache for RPC/mempool and added TxId()
TxId() uses signbytes
2015-03-29 18:43:27 -07:00
Ethan Buchman 731de7a6aa rpc: return (*Response, error) for all functions 2015-03-29 18:02:04 -07:00
Ethan Buchman d30fc2fa43 rpc: fix tests to count mempool; copy responses to avoid data races 2015-03-29 18:02:04 -07:00
Ethan Buchman fb90d5bc92 rpc: cleanup, more tests, working http and jsonrpc 2015-03-29 18:02:03 -07:00
Ethan Buchman 6e81e8a848 rpc: fixes for better type handlings, explicit error field in response, more tests 2015-03-29 18:01:59 -07:00
Ethan Buchman 9aeafffd9b rpc: generalized rpc using reflection on funcs and params 2015-03-29 18:00:28 -07:00
Ethan Buchman d2724c9731 rpc: give each call a dedicated Response struct, add basic test 2015-03-29 18:00:28 -07:00