Commit Graph

212 Commits

Author SHA1 Message Date
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