Commit Graph

263 Commits

Author SHA1 Message Date
Jae Kwon 4b40a58c0e Fix rpc/test import; Remove ~/.tendermint_test on each test 2016-01-18 13:18:45 -08:00
Ethan Buchman 8e776a252b rpc: test cleanup 2016-01-13 21:20:25 -05:00
Ethan Buchman 3fdb4c03ab rpc: TMResult and TMEventData 2016-01-13 18:38:55 -05:00
Ethan Buchman 799efb0629 merge/rebase fixes 2016-01-12 19:39:53 -05:00
Ethan Buchman ee449a94c8 move ResultEvent to go-events 2016-01-12 19:15:10 -05:00
Ethan Buchman fb59255095 use TendermintResult for rpctypes.Result 2016-01-12 19:15:10 -05:00
Ethan Buchman 0be13d1d27 move alert, events, rpc into own repos 2016-01-12 19:15:10 -05:00
Ethan Buchman 96547d0ca8 ws fixes; rpc tests 2016-01-12 19:14:02 -05:00
Jae Kwon 3e3c0083c7 Make order be decided first; Remove TMSP Commit/Rollback 2016-01-08 16:51:20 -08:00
Jae Kwon f0c80837a6 Include p2p connection status in RPC net_info 2016-01-03 06:21:56 -08:00
Jae Kwon 1d34bb173e HTTP responses are pretty JSON 2016-01-03 06:21:04 -08:00
Jae Kwon 74cdadec9f Refactor RPC to be more general 2016-01-02 16:23:29 -08:00
Ethan Buchman 6f5baa8414 rpc: add app_hash to /status 2015-12-21 18:13:42 -05:00
Jae Kwon c95b89e98c Merge remote-tracking branch 'origin/consensus_refactor' into consensus_refactor_jae 2015-12-14 09:33:11 -08:00
Ethan Buchman 261647a012 Enter* -> enter*. Comments/fixes from Jae 2015-12-13 20:48:09 -05:00
Jae Kwon 53f74d052f Fix deadlock bug in websocket client impl 2015-12-07 21:11:12 -08:00
Jae Kwon ef43af19ab Tendermint <-> Application refactor 2015-12-01 20:12:01 -08:00
Jae Kwon d69b5c5ab6 Conform to go-wire 1.0 2015-11-10 13:10:43 -08:00
Jae Kwon e12f9d10e7 Bare consensus refactor 2015-11-01 11:34:08 -08:00
Jae Kwon c4ed55d801 Refactor to move common libraries out of project 2015-10-22 17:39:06 -07:00
Ethan Buchman 12566f51af better mempool queueing 2015-09-28 22:58:02 -04:00
Jae Kwon 4e6ea7f9f7 Merge pull request #143 from tendermint/versioning
more versioning
2015-09-22 18:48:07 -07:00
Jae Kwon 2feb3ea651 Merge pull request #144 from tendermint/namereg
update namereg with longer names, more allowed chars
2015-09-22 18:43:50 -07:00
Ethan Buchman b54522c60f more versioning 2015-09-16 05:08:06 +00:00
Ethan Buchman e4f0e2b399 update namereg with longer names, more allowed chars 2015-09-15 19:43:22 -04:00
Ethan Buchman 2b8157ce2a addVote takes index 2015-09-15 14:26:42 -04:00
Jae Kwon 78768082a1 Merge branch 'json_time2' into develop 2015-09-15 00:56:16 -07:00
Jae Kwon 726f5475b0 rpc client SetPingHandler with 30 second timeout; wire time json test 2015-09-15 00:55:51 -07:00
Jae Kwon 625f23af13 Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here) 2015-09-11 21:09:00 -07:00
Jae Kwon 56b195a899 tendermint send_tx 2015-08-14 14:11:11 -07:00
Ethan Buchman 0b095b0bd6 update client_methods 2015-08-11 16:27:52 -04:00
Jae Kwon ffcc657be6 event listeners take EventData, not interface{}; EventData type assertions 2015-08-11 12:46:33 -07:00
Jae Kwon 1b9fd811a1 RPCResponse.Result && EventData are registered interfaces; -skip_upnp option 2015-08-11 11:01:18 -07:00
Jae Kwon 65d40a2d08 remove dead code 2015-08-11 11:01:17 -07:00
Jae Kwon e86073ec96 Use rpc/client/ws_client; OnStart() returns error 2015-08-11 11:01:17 -07:00
Jae Kwon 3949d3f21d ws_client fixes 2015-08-11 11:01:17 -07:00
Jae Kwon 60310cc23f websocket server sends pings; added ws_client; events refactor 2015-08-11 11:01:17 -07:00
Ethan Buchman 9b69894180 namereg event 2015-08-02 22:29:35 -04:00
Jae Kwon 1a5bc9eeb2 Remove StorageRoot from vm.Account 2015-07-28 12:39:10 -07:00
Jae Kwon 3be3647dc8 tendermint/binary -> tendermint/wire 2015-07-28 12:18:17 -07:00
Jae Kwon 0ef5c3ad07 Fix returning prematurely within if(runCall){...}.
Renames
2015-07-28 12:16:17 -07:00
Jae Kwon feeab6579b Acc/X/Receive -> Acc/X/Call 2015-07-23 23:57:28 -07:00
Jae Kwon a84d4320df websockets accept rpc requests 2015-07-23 17:57:15 -07:00
Jae Kwon d8886614b5 Read timeouts for WSConnection 2015-07-23 17:56:12 -07:00
Ethan Buchman 290b74d8f1 add fromAddress argument to Call and CallCode rpc methods 2015-07-22 18:43:20 -04:00
Jae Kwon e7c1febb65 Simplify Service/Reactor pattern 2015-07-22 06:21:21 -07:00
Ethan Buchman 8e50bf15de panic wrapper functions 2015-07-21 10:46:05 -04:00
Jae Kwon 571a134318 BaseService and BaseReactor refactor and unification 2015-07-20 14:52:24 -07:00
Ethan Buchman bb4ca1407f info->notice, debug->info 2015-07-19 22:44:40 +00:00
Jae Kwon c27d9d0494 rpc/core_client regenerate; uint->int 2015-07-19 12:03:08 -07:00
Jae Kwon 1e7cc32597 tendermint/account -> acm 2015-07-19 09:40:55 -07:00
Jae Kwon d83ee27b6a Merge branch 'sim_txs' into develop 2015-07-16 00:55:04 -07:00
Ethan Buchman 3f7f3dd37f add git commit hash to nodeInfo 2015-07-12 02:16:33 +00:00
Ethan Buchman 751b892cba cleanup, comments 2015-07-12 02:16:33 +00:00
Jae Kwon 109a3c2dd3 Added sim_txs draft 2015-07-11 18:01:21 -07:00
Jae Kwon 24acda1afc Distinguish between ReadJSON vs ReadJSONPtr. The latter expects a non-nil pointer to write into. The former creates new things intelligently 2015-07-11 16:32:46 -07:00
Ethan Buchman 72b681a1bc fix TxID to use ripemd160 in events and rpc return 2015-07-10 05:56:38 +00:00
Ethan Buchman 6b0c8251fa -test.short for rpc tests 2015-07-09 18:13:00 +00:00
Ethan Buchman 3416004359 names in gendoc, genesis_test 2015-07-07 14:09:35 -07:00
Ethan Buchman f75b6aff74 CreateAccount permission through SendTx and CALL (to unknown accounts) 2015-07-07 14:07:56 -07:00
Ethan Buchman 94f21ad012 move perms to vm.Account 2015-07-07 14:07:56 -07:00
Ethan Buchman a0f3b94e83 account permissions and some gendoug 2015-07-07 14:07:07 -07:00
Jae Kwon 9965dd5de6 uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/ 2015-06-25 20:28:34 -07:00
Jae Kwon 9e1794eaea Fixed tests 2015-06-24 14:04:40 -07:00
Ethan Buchman 03d1950674 rpc endpoint / lists available endpoints 2015-06-16 22:18:45 -04:00
Ethan Buchman 57ff919d50 godep 2015-06-09 23:17:19 -04:00
Ethan Buchman bf1c9a869c use gendoc struct for genesis rpc response 2015-06-03 19:26:31 -04:00
Ethan Buchman ec282d3e3d rpc: remove unecessary response wrappers 2015-06-01 13:51:03 -04:00
Ethan Buchman 293aa31f64 rpc-gen update 2015-05-30 20:59:05 -04:00
Ethan Buchman 231a7330e2 list names rpc 2015-05-30 11:13:09 -04:00
Ethan Buchman 6eb8386c7c fixes for chain id in nametx sign functions 2015-05-30 01:54:25 -04:00
Ethan Buchman 19bd3bb2e2 int/nonce fixes 2015-05-30 01:21:42 -04:00
Ethan Buchman 37a8a6cd65 remove name fix 2015-05-30 01:20:42 -04:00
Ethan Buchman 77ff09e173 namereg cleanup, tests 2015-05-30 01:20:42 -04:00
Ethan Buchman 02aedaaefb more cleanup rpc tests, testing namereg 2015-05-30 01:19:03 -04:00
Ethan Buchman cff6bcfb31 copy entry on get, use strings for name/data, uint64 for expires 2015-05-30 01:19:03 -04:00
Ethan Buchman baaa69d7f8 namereg rpc and tests 2015-05-30 01:19:02 -04:00
Ethan Buchman 1f6d64b91c rpc: genesis route 2015-05-29 19:38:14 -04:00
Ethan Buchman 2045aee9cd pass chainID through sign interfaces 2015-05-29 18:14:19 -04:00
Ethan Buchman 8a2d9525f0 network > chain_id, put in genesis.json 2015-05-29 18:14:19 -04:00
Ethan Buchman 5261da94c4 fix rpctypes vs tminttypes 2015-05-22 19:16:08 -04:00
Ethan Buchman c28614fca1 cleanup rpc tests, use tx_utils 2015-05-22 18:22:57 -04:00
Jae Kwon 5029d53474 add open/close to debora, barak bug fix 2015-05-22 00:23:20 -07:00
Jae Kwon c297f41a9f Refactoring barak 2015-05-22 00:23:20 -07:00
Ethan Buchman d43c776e84 add bonder's signature to BondTx 2015-05-20 19:36:55 -04:00
Jae Kwon 489bf767cb importing tendermint/config/tendermint_test applies the test config 2015-05-17 16:19:58 -07:00
Jae Kwon 161aa8c5e9 refactor rpc/test/* 2015-05-17 16:19:58 -07:00
Jae Kwon b8c735bd59 import tendermint/test to init ~/.tendermint_test/* 2015-05-17 16:19:58 -07:00
Jae Kwon 3565db4eef Refactor RPC/*, tendermint/config for debora+barak 2015-05-17 16:19:58 -07:00
Jae Kwon 75ef479547 Config is passed into each module. Remove tendermint/confer 2015-05-17 16:19:57 -07:00
Ethan Buchman 02f4219079 cleanup calldepth=0 events logic 2015-05-15 16:49:41 -04:00
Jae Kwon be90fd1e0d rpc cleanup; tendermint init 2015-05-12 19:03:05 -07:00
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 3c96890d2d All numbers are in BigEndian 2015-05-03 17:42:46 -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 5557923245 remote client_methods.go.bak 2015-04-24 14:41:50 -07:00
Jae Kwon d9bfe82d93 rpc.StartHTTPServer listener bug fix 2015-04-23 18:33:20 -07:00