6910 Commits

Author SHA1 Message Date
Jae Kwon
17390b38ba origin policy 2015-04-02 10:59:45 -07:00
Jae Kwon
543fc73ab6 Fix bug in internal error 2015-04-01 21:16:02 -07:00
Jae Kwon
13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Jae Kwon
d8766e1d37 better error message for unknown RPC method calls 2015-04-01 17:12:17 -07:00
Jae Kwon
c74b5522a1 fixied IsListening() 2015-04-01 14:52:25 -07:00
Jae Kwon
65c2ce45d1 add boolean reflection support 2015-04-01 14:52:10 -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
Ethan Buchman
8cc8757252 Merge branch 'develop' of https://github.com/tendermint/tendermint2 into develop 2015-04-01 04:59:00 -07:00
Jae Kwon
cc715e0ee3 Everything is an RPCResponse 2015-04-01 04:58:33 -07:00
Ethan Buchman
ee37324781 Merge branch 'develop' of https://github.com/tendermint/tendermint2 into develop 2015-04-01 04:13:21 -07:00
Ethan Buchman
ad8678d216 rpc: auto generated client methods using rpc-gen 2015-04-01 04:12:34 -07:00
Jae Kwon
7b049e93fb add support for json="" in reflection binary/* thing 2015-04-01 01:48:50 -07:00
Jae Kwon
42be73724e APIResponse -> RestResponse 2015-04-01 01:46:41 -07:00
Jae Kwon
ff04be396b First draft of events handling 2015-03-31 21:11:40 -07:00
Ethan Buchman
8cbf8a8862 Merge branch 'develop' of https://github.com/tendermint/tendermint2 into develop 2015-03-31 17:06:08 -07:00
Ethan Buchman
cb0f4cae0c add logfile for debora 2015-03-31 17:04:53 -07:00
Ethan Buchman
9ce75fe755 add debora support 2015-03-31 17:04:53 -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
Ethan Buchman
ac0897c0b3 rpc: decrement mempool count after block mined 2015-03-31 15:39:42 -07:00
Jae Kwon
37177fb061 added DumpStorage RPC command 2015-03-31 15:36:57 -07:00
Ethan Buchman
dd1181f0d4 rpc: GetStorage and Call methods. Tests. 2015-03-31 15:36:06 -07:00
Jae Kwon
6f0199aadf added DumpStorage RPC command 2015-03-31 15:34:34 -07:00
Jae Kwon
d2d1214e20 Do not start PEXReactor until the addrbook has started.
Basically, start everything in node.Start().
2015-03-31 15:34:14 -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
Ethan Buchman
e6c352dba0 vm: flip sha3 result 2015-03-31 15:33:31 -07:00
Ethan Buchman
a976721a97 state: fix GetStorage on blockcache with unknown account 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
ffa82b5c61 Merge pull request #5 from tendermint/blockpool
Blockpool
2015-03-29 19:10:55 -07:00
Jae Kwon
19f7855965 Merge pull request #4 from tendermint/develop
Develop
2015-03-29 19:09:51 -07:00
Jae Kwon
df4eac1cc8 Merge pull request #3 from tendermint/rpc_rebase
Rpc rebase
2015-03-29 19:08:45 -07:00
Jae Kwon
f234d0aafb Remove spurious flippage 2015-03-29 19:05:29 -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
19a50c1229 SetRPC/Pipe => core.Set... 2015-03-29 18:06:55 -07:00
Ethan Buchman
bddd29ef56 Merge branch 'statecache' into rpc 2015-03-29 18:03:28 -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
1fb1163721 rpc: separate out golang API into rpc/core 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
Jae Kwon
42e2e11364 add dirty bit to BlockCache accounts and storages.
construct account’s storage lazily.
2015-03-29 17:47:12 -07:00
Jae Kwon
ae5af4d44e Merge pull request #1 from tendermint/blah
Blockpool party
2015-03-29 14:56:26 -07:00
Jae Kwon
4be97fa9d4 Transcribe vm changes from vm_fixes by Ethan 2015-03-29 00:07:10 -07:00