Commit Graph

439 Commits

Author SHA1 Message Date
Ethan Buchman bd429f3d4f config: all urls use tcp:// or unix:// prefix 2016-08-10 02:16:41 -04:00
Ethan Buchman c90bde3187 some comments 2016-08-09 20:31:53 -04:00
Ethan Buchman 7bf34d1fae rpc: unsafe_flush_mempool. closes #190 2016-07-12 14:58:06 -04:00
Ethan Buchman a43d53ac6e rpc/tests: panic dont t.Fatal. use random txs for broadcast 2016-07-11 20:40:24 -04:00
Ethan Buchman 8ca615c301 wait until txs removed from mempool to fire tx events 2016-07-05 17:03:09 -04:00
Ethan Buchman 7e3e9ee9d2 rpc: broadcast tests. closes #219 2016-07-05 14:54:33 -04:00
Ethan Buchman 65ebc344ac broadcast_commit 2016-07-05 14:26:20 -04:00
Ethan Buchman 6365c5efb5 bring back unsafe_set_config 2016-06-11 20:19:40 -07:00
Ethan Buchman 7383ead106 updates for new tmsp protobuf 2016-05-23 14:35:36 -04:00
Jae Kwon ad17090a0f No global config 2016-05-08 15:00:58 -07:00
Ethan Buchman ae295bd9b6 bump rpc version; add consensus version 2016-04-19 20:45:33 -04:00
Ethan Buchman cb80a7aa42 rpc: unsafe_write_heap_profile 2016-04-19 20:45:33 -04:00
Ethan Buchman f5be3cd8f9 rpc: start/stop cpu profiler 2016-04-19 20:43:54 -04:00
Ethan Buchman df25a22469 rpc: num_unconfirmed_txs (avoid sending txs back) 2016-04-19 20:43:54 -04:00
Ethan Buchman 0df4a723e9 support in process tmsp apps 2016-04-13 19:24:12 -04:00
Jae Kwon 2c1504f93c Reap takes maxTxs 2016-03-06 15:08:32 -08:00
Jae Kwon 03115cbf93 Fix tests; Tests run in their own directory 2016-03-06 15:05:50 -08:00
Ethan Buchman 05af306a8d rpc: unsafe_set_config 2016-03-03 06:32:08 +00:00
Ethan Buchman 3891e4d66d config: cswal_light, mempool_broadcast, mempool_reap 2016-03-03 06:31:59 +00:00
Ethan Buchman 254baa19f3 fixes for go-rpc unix socket updates 2016-02-19 02:06:11 +00:00
Jae Kwon d31d3c58ad Recheck txs 2016-02-14 17:00:33 -08:00
Jae Kwon 6a209ba3a8 Fix a block condition where cb is called immediately 2016-02-08 15:38:18 -08:00
Jae Kwon 3092d4bbe9 Fix typo, broadcast_tx_asyn(c) 2016-02-08 15:14:41 -08:00
Jae Kwon a4f57e164b BroadcastTx results 2016-02-08 00:48:58 -08:00
Ethan Buchman 77a66f079f version folder, rpc core version 2016-01-20 16:25:26 -05:00
Ethan Buchman 3cce757adc move DialSeeds to go-p2p and add to rpc 2016-01-20 13:12:42 -05:00
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
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
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 65f669160f more fixes from review 2015-04-17 13:18:50 -07:00
Jae Kwon 9ec6258ed0 Run process 2015-04-16 09:46:35 -07:00
Ethan Buchman a1c5e32d76 fixes from review with jae 2015-04-15 22:19:29 -07:00
Jae Kwon df1d46d04d Errorf -> fmt.Errorf 2015-04-15 21:49:14 -07:00
Jae Kwon 618cd18f8b refactored debora/barak. about to add cli for debora 2015-04-15 14:49:21 -07:00
Ethan Buchman 9b76cfe26a rpc: cleanup tests and test contract calls 2015-04-14 19:29:18 -07:00
Jae Kwon 89e05168d5 Begin writing debora 2015-04-14 04:14: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
Ethan Buchman 85661de293 fire events, event urls 2015-04-13 21:42:48 -07:00
Jae Kwon 0ffbff108f Complete validation for debora 2015-04-13 13:14:37 -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 0bb6c111bb ServeFile 2015-04-10 02:12:17 -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
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 a09051438c Intermediate... working on debora 2015-04-08 11:35:17 -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 474bf31400 events: integrate event switch into services via Eventable interface 2015-04-07 00:34:26 -05:00
Ethan Buchman 2b3bedead8 rpc: websockets 2015-04-07 00:34:26 -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 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 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 ad8678d216 rpc: auto generated client methods using rpc-gen 2015-04-01 04:12:34 -07:00
Jae Kwon 42be73724e APIResponse -> RestResponse 2015-04-01 01:46:41 -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 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 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 08a83aa9fb Reactors can be stopped or started at any time. 2015-03-25 00:15:18 -07:00
Jae Kwon 87e1f76324 tendermint/block -> tendermint/types and tendermint/blockchain 2015-03-22 19:00:08 -07:00
Jae Kwon b25915ee41 Minor cleanup 2015-03-21 19:01:13 -07:00
Ethan Buchman f93bb35c02 rpc: return tx hash, creates contract, contract addr in broadcast (required some helper functions). Closes #30 2015-03-21 02:45:07 -07:00
Matthew Wampler-Doty f03547007a App -> App() 2015-03-18 23:27:26 -07:00
Ethan Buchman 168b1255ec SetRPCSwitch 2015-03-18 23:23:57 -07:00
Ethan Buchman 7aa1d67c97 rpc: add status and net info 2015-03-18 23:23:56 -07:00
Jae Kwon b1be787987 sign_tx to sign any transaction 2015-01-15 23:48:30 -08:00
Jae Kwon 0a6c28c2da block module -> import as blk 2015-01-15 22:43:15 -08:00
Jae Kwon 135894ea88 Dot import -> named import
Changed modulename_ to short module names
Also removed Unreader, replaced with PrefixdReader in select locations
2015-01-14 20:34:53 -08:00
Jae Kwon 694a10e0a7 PrivKey is just []byte 2015-01-13 21:03:01 -08:00
Jae Kwon 9e0319ef76 get_account and sequence updating 2015-01-11 23:12:33 -08:00
Jae Kwon 33aff6b26b list_validators API 2015-01-11 18:21:17 -08:00
Jae Kwon 6ad3388097 Refactor rpc/http_ 2015-01-11 17:10:34 -08:00
Jae Kwon 7afb75049f API to list accounts 2015-01-11 14:27:46 -08:00
Jae Kwon fe566739fd rpc/account; fixed mempool tx filter bug; fixed iavl_tree persistence
bug
2015-01-10 05:41:50 -08:00
Jae Kwon 05c642a84c Changed config to confer, TOML format. 2015-01-08 16:40:23 -08:00
Jae Kwon e2f622b08a rpc/block fix 2015-01-08 14:57:19 -08:00
Jae Kwon 4e3e09bb59 Access-Control-Allow-Origin="*" 2015-01-07 17:06:38 -08:00
Jae Kwon b25b61438d blockchain & block rpc handlers 2015-01-07 01:15:39 -08:00
Jae Kwon 325b88b083 time encoding in binary/reflect 2015-01-06 15:51:41 -08:00
Jae Kwon d4e9b747d3 binary/reflect handles JSON 2015-01-05 14:04:42 -08:00
Jae Kwon 13ca6fb241 RegisterInterface() so we can implement custom JSON codec 2015-01-04 17:33:18 -08:00
Jae Kwon 7a8a0fefc7 type Ed25519[Signature|PubKey] struct{[]byte} -> []byte 2015-01-03 20:24:02 -08:00
Jae Kwon f02ba63412 testing tx transmission 2014-12-31 23:42:44 -08:00
Jae Kwon 0d075c7592 silly tx RPC command 2014-12-31 22:42:37 -08:00
Jae Kwon 3215cbf0d5 use tendermint/log15 2014-12-29 19:44:38 -08:00
Jae Kwon 0bfb389b35 change logger to log15 2014-12-29 18:09:06 -08:00
Jae Kwon bff93107ef UPNP + hairpin probing 2014-12-23 17:20:52 -08:00
Jae Kwon 61d1635085 Fixed tests 2014-12-21 21:47:38 -08:00
Jae Kwon 83d313cbe5 Refactor Tx, Validator, and Account structure 2014-12-16 05:45:40 -08:00
Jae Kwon 4424a85fbd start writing rpc 2014-12-16 05:43:23 -08:00
Jae Kwon 8e9c060e6d Begin writing RPC HTTP Server 2014-12-16 05:43:23 -08:00
Jae Kwon 1b59caf950 created "Node" 2014-07-09 18:33:44 -07:00