88 Commits

Author SHA1 Message Date
Jae Kwon
9745f07bee common -> cmn 2017-01-23 20:26:17 -08: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