Commit Graph

190 Commits

Author SHA1 Message Date
Jae Kwon 85c8850ac2 Config names have no dots, are under_scored. 2015-05-12 17:40:29 -07:00
Jae Kwon 47b7a641dd json field fixes 2015-05-04 18:24:30 -07:00
Jae Kwon b92c0401e6 Made all JSON fields lower_case 2015-05-01 17:26:49 -07:00
Jae Kwon 115e57a1d5 list_unconfirmed_txs RPC call 2015-04-25 13:28:43 -07:00
Jae Kwon 9a8652e001 Include peer round states in the dump_consensus_state RPC call. 2015-04-25 11:49:26 -07:00
Jae Kwon 733dfcf4ad Add dump_consensus_state rpc command. Made it a little more secure
by moving the PrivValidator out of RoundState.
2015-04-20 20:39:42 -07:00
Jae Kwon dc1fddd1d8 Added NodeInfo (still need to add to AddrBook); Proper Handshake 2015-04-20 15:29:01 -07:00
Jae Kwon fa669ae436 added Moniker as config, available in RPC. 2015-04-18 16:43:48 -07:00
Jae Kwon e007d1a58d Merge branch 'unflip' into develop 2015-04-18 02:18:17 -07:00
Jae Kwon e0d6fd6bfa RPC shows Peer{Address,IsOutbound} 2015-04-17 18:22:44 -07:00
Ethan Buchman a28c1c83fc Merge branch 'unflip' of https://github.com/tendermint/tendermint into unflip
Conflicts:
	vm/vm.go
2015-04-17 17:46:02 -07:00
Ethan Buchman 3579a3fdb9 tiny fixes 2015-04-17 17:43:45 -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 9b76cfe26a rpc: cleanup tests and test contract calls 2015-04-14 19:29:18 -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
Jae Kwon 1364770cbe Unknown address -> blank account from GetAccount rpc call 2015-04-12 16:41:50 -07:00
Jae Kwon 06b167c669 small fixes 2015-04-09 16:39:58 -07:00
Ethan Buchman 8e24b12888 rpc: first successful websocket event subscription 2015-04-08 19:07:17 -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 5a2ff3d45b rpc: test CallCode and Call 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 d8766e1d37 better error message for unknown RPC method calls 2015-04-01 17:12:17 -07:00
Ethan Buchman 8fe1274323 rpc: myriad little fixes 2015-04-01 05:12:38 -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
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -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 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