Commit Graph

248 Commits

Author SHA1 Message Date
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
Jae Kwon 66ff985cd2 Added a registry to Barak. 2015-04-23 16:56:46 -07:00
Jae Kwon 4bcfc1e4bb Merge pull request #55 from tendermint/sync
Sync
2015-04-22 11:15:31 -07:00
Jae Kwon 5e70769117 Crazy colors for Debora 2015-04-21 17:42:08 -07:00
Ethan Buchman 67ea49c5fb Merge branch 'develop' of https://github.com/tendermint/tendermint into develop
Conflicts:
	p2p/peer.go
	rpc/core/net.go
	rpc/core/types/responses.go
2015-04-21 02:00:58 -07:00
Jae Kwon 2ba6f86f2e Add Network to SignBytes, to prevent network clashes 2015-04-20 23:59:52 -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
Ethan Buchman 882a82bad4 more crawler work 2015-04-20 14:00:19 -07:00
Ethan Buchman 224ea00917 first draft of network crawler 2015-04-20 02:13:04 -07:00
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 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
Ethan Buchman 8057fb7125 fix websocket handler 2015-04-17 20:51:15 -07:00
Jae Kwon e0d6fd6bfa RPC shows Peer{Address,IsOutbound} 2015-04-17 18:22:44 -07:00