Commit Graph

144 Commits

Author SHA1 Message Date
Jae Kwon 9745f07bee common -> cmn 2017-01-23 20:26:17 -08:00
Ethan Frey fdc047ae7a Proof uses uint64 for blockHeight 2017-01-17 17:22:34 +01:00
Ethan Frey dde413d44b Cleaned up text 2017-01-17 15:53:24 +01:00
Ethan Frey 732274b7f6 Add tests for client-server proofs over socket and grpc 2017-01-17 15:53:24 +01:00
Ethan Frey cfc3f24751 Everything compiles, test proof in dummy app 2017-01-17 15:44:41 +01:00
Ethan Frey 7cd39dafea Update protocol buffers 2017-01-17 15:44:40 +01:00
Ethan Frey 58ea995032 Begin adding proof calls 2017-01-17 15:42:54 +01:00
Tzu-Jung Lee 55cb08722d lint: s/+=1/++, remove else clauses 2017-01-17 00:30:36 -08:00
Tzu-Jung Lee 9134905f42 cleanup: replace common.Exit with log.Crit or log.Fatal
Later we can pick another logger that has fatal, like zap?
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee 1150bbfe36 lint: s/common.Fmt/fmt.Sprintf 2017-01-16 23:20:04 -08:00
Tzu-Jung Lee fcaa545e1e lint: remove dot import (go-common)
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.

The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:

  For simple wrapping functions, just inline it on the call site.
  For larger pice of code, make it an independent package.
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee aae3c91e88 fmt: run 'make fmt' 2017-01-16 22:03:27 -08:00
Jae Kwon 05096de368 Add Result.String 2017-01-15 14:43:16 -08:00
Ethan Buchman 5189a2248d TMSP -> ABCI 2017-01-12 16:04:32 -05:00
Ethan Buchman 80f377135b AppendTx -> DeliverTx 2017-01-12 15:27:08 -05:00
Jae Kwon f8167872d8 EndBlock also returns ResponseEndBlock 2017-01-12 14:50:41 -05:00
Jae Kwon 8b76f3dd00 Make fields in ResponseInfo be flat 2017-01-12 14:50:41 -05:00
rigelrozanski c31df4081c added counter query support 2017-01-12 01:04:22 -05:00
Matt Bell ab211d2dbe Include 'value' and 'valueHex' fields in dummy query response 2017-01-02 18:20:30 -08:00
Matt Bell 75ea378a6a Encode dummy query values as hex strings 2017-01-02 18:10:12 -08:00
Jae Kwon c5f008d60f Fix TMSP tutorial outputs 2016-12-06 03:57:09 -08:00
Jae Kwon 5e83e481bf Fix tests; Update go-merkle API 2016-12-06 02:15:32 -08:00
Ethan Buchman 40448a3897 types: update LastBlockInfo and ConfigInfo 2016-11-23 18:27:27 -05:00
Ethan Buchman e813b8c71d counter: fix tx buffer overflow 2016-11-23 18:22:22 -05:00
Ethan Buchman dc13ec05a1 NewIAVLTree takes waldir 2016-11-22 20:44:41 -05:00
Ethan Buchman b200b82418 dummy: valset changes and tests 2016-11-22 14:01:25 -05:00
Ethan Buchman 0bdb3b887e fix chain_aware app 2016-11-16 16:22:52 -05:00
Ethan Buchman df299d03c4 block_height is int32 2016-11-16 13:32:18 -05:00
Ethan Buchman ddb2b01631 BeginBlock(hash, header) 2016-11-16 13:32:18 -05:00
Ethan Buchman 7901825ad9 persistent dummy 2016-11-16 13:32:01 -05:00
Ethan Buchman debbf122db add version/block/config to Info. add header to BeginBlock 2016-11-16 13:32:01 -05:00
Jae Kwon 1dafd3a89b Remove spurious fmt call 2016-11-15 14:39:13 -05:00
Ethan Buchman 6aa85b642e BeginBlock 2016-11-15 14:39:13 -05:00
Ethan Buchman 22894d2f60 fix tests 2016-08-24 20:16:55 -04:00
Ethan Buchman 1b13f14e08 consolidate example tests; grpc fail fast 2016-08-15 15:04:32 -04:00
Ethan Buchman 88f8141ab8 cleanup cli, drop expr 2016-07-01 20:22:58 -04:00
Ethan Buchman 1ab3c74718 silly grpc client 2016-05-23 14:45:07 -04:00
Ethan Buchman f84f11ffe7 base grpc support 2016-05-18 18:29:52 -04:00
Ethan Buchman 5dc7bee57b Responses/Requests -> Value 2016-05-17 20:06:24 -04:00
Ethan Buchman 32f83f9494 fix up tmsp-cli, tests 2016-05-14 03:09:47 -04:00
Jae Kwon 6785b9a3b6 CommitSync returns tmsp.Result 2016-03-23 02:50:29 -07:00
Jae Kwon 55e2ce9de2 Group (code,data,log) return values into types.Result 2016-03-20 17:10:13 -07:00
Jae Kwon 72540f9cac Fix tests to clean up after themselves 2016-02-29 21:53:04 -08:00
Ethan Buchman 500c173604 nil app 2016-02-26 20:04:28 -05:00
Jae Kwon 2c1aa7af2b s/StartListener/NewServer/g 2016-02-21 23:44:33 -08:00
Jae Kwon 90e38f08f4 Added counter test written in Golang 2016-02-14 14:59:53 -08:00
Jae Kwon 88fcacac7a s/GetHash/Commit/g 2016-02-14 13:11:06 -08:00
Jae Kwon b9499ad03e Implemented dummy query 2016-02-08 13:47:47 -08:00
Jae Kwon 69e587f57f Use protobuf enums for RetCode. s/RetCode/CodeType/g 2016-01-31 20:39:43 -08:00
Jae Kwon 012abc437b Use protobuf enums 2016-01-31 19:56:02 -08:00
Jae Kwon 028cc4aa06 Query returns Code 2016-01-31 18:11:24 -08:00
Jae Kwon 2936c68339 Convert TMSP to use Protobuf 2016-01-30 19:36:33 -08:00
Jae Kwon 799ae4c006 Move js example to js-tmsp/example 2016-01-29 11:47:13 -08:00
Jae Kwon 9696a71f6e Log not error; Remove Listener TMSP messages...; Make counter BigEndian 2016-01-25 13:58:34 -08:00
Jae Kwon 53a8a40785 Swap Query return params 2016-01-22 16:18:35 -08:00
Jae Kwon 3f812038a4 Add Query; Add benchmark tests 2016-01-18 14:37:42 -08:00
Jae Kwon ca259ce82a Conform to go-merkle version 0.2.0 2016-01-17 21:29:18 -08:00
Jae Kwon 44f22e351b Add RetCodeBadNonce and fix response formats 2016-01-12 14:06:31 -08:00
Jae Kwon f15476b157 Remove TMSP Commit/Rollback; Add CheckTx 2016-01-08 17:07:19 -08:00
Jae Kwon 271a424d42 Merge pull request #7 from readevalprint/python3
Python3 example
2016-01-05 14:54:40 -08:00
tim watts eece2ae7a5 use floor division 2016-01-05 22:37:22 +00:00
tim watts 3092d2c043 missing modulename and fix refactoring 2016-01-05 22:00:19 +00:00
tim watts 65a0156412 python3 example 2016-01-05 21:49:21 +00:00
tim watts 8267f2ba4a Fix except/pass 2016-01-03 16:42:58 +00:00
tim watts 06b48fe99f pep8 style fixes 2016-01-03 16:35:23 +00:00
Jae Kwon 20913c5e0e Add .pyc to gitignore; Fix js example 2015-12-21 17:23:05 -08:00
Jae Kwon 13c50a5fdf Merge pull request #5 from tendermint/js
Length prefixed tmsp messages; counter app in javascript
2015-12-21 16:35:10 -08:00
Jae Kwon 844c4a519d Fix tmsp-cli to conform to go-wire new TypeByte behavior; Rename tmsp_cli to tmsp-cli 2015-12-21 16:18:41 -08:00
Ethan Buchman 3fb3a81b92 fix js 2015-12-21 18:47:14 -05:00
Ethan Buchman dc75b71f55 tmsp_cli -> tmsp-cli 2015-12-21 18:12:38 -05:00
Ethan Buchman d560c1d455 example/js 2015-12-21 18:03:57 -05:00
Ethan Buchman b7b4109413 msg prefix python 2015-12-21 18:03:57 -05:00
Jae Kwon 2d9abb06ca Conform to new go-wire TypeByte behavior 2015-12-21 09:58:27 -08:00
Jae Kwon 3393fc34c2 Use wire.*LengthPrefixed 2015-12-20 09:16:05 -08:00
Ethan Buchman 36b7045f5c example/golang 2015-12-14 20:00:48 -05:00
Ethan Buchman af2a1a6fc1 python fixes, tests 2015-12-14 20:00:48 -05:00
Ethan Buchman bb4a58aa0a add counter app in python 2015-12-14 19:58:51 -05:00
Jae Kwon 4a0469d3ec Make counter app use LittleEndian uint64 encoding 2015-12-08 21:52:40 -08:00
Jae Kwon 5c20d1b3e5 Add way to enforce serial order in counter app from command line 2015-12-08 21:12:11 -08:00
Jae Kwon 21abda0602 Make Counter app return nil hash initially 2015-12-04 01:01:07 -08:00
Jae Kwon 7931e2b9ca Change port 8080 to 46658 2015-12-01 15:27:50 -08:00
Ethan Buchman 3e721456f5 tmsp batch and some tests 2015-12-01 01:49:54 -05:00
Jae Kwon 7448cdc154 Add serial=on option for CounterApplication 2015-11-30 15:22:42 -08:00
Jae Kwon 6a5b804523 Refactor CounterApplication to implement AppContext 2015-11-29 14:34:15 -08:00
Jae Kwon 5d994944c6 Refactor Application to Application & AppContext 2015-11-29 14:22:30 -08:00
Ethan Buchman fe782cb8ac server: allow multiple connections 2015-11-29 10:35:37 -05:00
Ethan Buchman c21c2ed69b counter example 2015-11-29 03:43:49 -05:00
Ethan Buchman 2de72d26cf refactor dummy; flush tmsp reqs 2015-11-27 18:45:27 -05:00
Jae Kwon e40c4834a8 Replace SetEventsMode with SetOption 2015-11-27 10:14:46 -08:00
Jae Kwon 201bf2374b Update README; Remove GetEvents() from Application 2015-11-16 15:50:26 -08:00
Jae Kwon d319c5be0d Conform to go-wire 1.0 2015-11-10 12:49:07 -08:00
Jae Kwon 5aec38bdc6 Fix DummyyApplication usage bug; Should call New 2015-11-09 18:16:35 -08:00
Jae Kwon cce812b1fa Remove retcode from echo; Add Info message 2015-11-09 16:29:45 -08:00
Jae Kwon 0bd4061cf6 initial commit 2015-11-07 20:42:02 -08:00