Anton Kaliaev
91efacfabc
remove types.Result
2017-11-22 17:44:39 -06:00
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
2017-11-22 17:34:00 -06:00
Anton Kaliaev
01252e8cc8
mark Result as deprecated
2017-11-22 16:18:06 -06:00
Anton Kaliaev
5fd83b3eee
implement error interface for ResponseDeliverTx/CheckTx/Commit
2017-11-22 16:17:34 -06:00
Anton Kaliaev
fbe7234639
remove Result from the client package
...
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
2017-11-21 17:44:13 -06:00
Anton Kaliaev
3a3d508e5c
CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
...
Commit now returns ResponseCommit
2017-11-20 20:36:42 -06:00
Anton Kaliaev
fc7db13fa8
remove tags from CheckTx
...
add value_type field to KVPair
2017-11-20 18:21:59 -06:00
Anton Kaliaev
33b51378f2
reformat types.proto
2017-11-20 16:56:57 -06:00
Anton Kaliaev
bb0d7e9526
add tags field to DeliverTx and CheckTx
2017-11-20 16:56:57 -06:00
Ethan Buchman
667c2543ea
use request struct for Info
2017-09-22 11:10:55 -04:00
Zach Ramsay
fe426de5d4
lint: couple more fixes
2017-09-22 09:45:50 -04:00
Ethan Buchman
318345f996
fix tests
2017-09-22 00:10:13 -04:00
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
2017-09-18 15:51:48 -04:00
Ethan Buchman
f1094f760b
types: remove redundant version file
2017-09-06 02:22:59 -04:00
Ethan Buchman
5dabeffb35
fixes from review
2017-05-15 12:59:44 -04:00
rigel rozanski
05dc4d12dd
result.IsSameCode
2017-05-15 09:50:49 -04:00
Adrian Brink
577ec5452f
Fix indentation
2017-05-09 12:33:38 +02:00
Adrian Brink
322b4e54de
Remove unused enum MessageTypes
2017-05-09 12:23:37 +02:00
Krzysztof Jurewicz
a3d4e5797d
Comment out MessageType
...
As it is an unused enum, leaving it uncommented causes dead Protocol
Buffers code to be generated.
2017-05-09 12:23:37 +02:00
Ethan Buchman
8d8e35ae53
types: methods convert pb types to use data.Bytes
2017-04-27 19:53:22 -04:00
Ethan Buchman
8339dc3b1a
types: Result and Validator use data.Bytes
2017-04-27 19:21:26 -04:00
Ethan Buchman
be5a4345a3
formatting and update CHANGELOG
2017-03-06 02:58:26 -05:00
Ethan Buchman
31bdda27ad
Query: LastHeight -> Height :)
2017-02-14 16:53:21 -05:00
Ethan Buchman
e909cafa0b
BaseApplication
2017-02-13 20:16:21 -05:00
Ethan Buchman
b6afa8d85b
Query: Height -> LastHeight
2017-02-13 20:16:17 -05:00
Ethan Buchman
b025c13f67
drop BlockchainAware
2017-02-06 19:20:02 -05:00
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
2017-01-27 10:35:27 -08:00
Jae Kwon
4bdddf9829
First commit to demonstrate change
2017-01-23 20:54:24 -08:00
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
2017-01-17 17:22:34 +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
Jae Kwon
05096de368
Add Result.String
2017-01-15 14:43:16 -08:00
Jae Kwon
b9d1465488
Make sure we install before test, since test relies on counter etc
2017-01-13 10:12:38 -08:00
Ethan Buchman
42b7bfbf0c
update version and glide
2017-01-12 21:20:09 -05: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
Ethan Buchman
490a96ef66
drop unneeded variable copy
2017-01-12 15:18:38 -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
Jae Kwon
0d82d26408
Frist commit on types.proto
2017-01-12 14:50:08 -05:00
Ethan Buchman
40448a3897
types: update LastBlockInfo and ConfigInfo
2016-11-23 18:27:27 -05:00
Ethan Buchman
2dce41ad6a
types: pretty print validators
2016-11-23 18:22:44 -05:00
Ethan Buchman
b200b82418
dummy: valset changes and tests
2016-11-22 14:01:25 -05:00
Ethan Buchman
9a2d3e51ed
heights are uint64
2016-11-22 14:00:31 -05:00
Ethan Buchman
60e0842ef9
Header.LastBlockID
2016-11-16 16:11:36 -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
debbf122db
add version/block/config to Info. add header to BeginBlock
2016-11-16 13:32:01 -05:00
Ethan Buchman
8374785c1d
update glide, grpc to v4
2016-11-15 14:11:01 -05:00
Ethan Buchman
73e5c3cb7b
update grpc version
2016-06-16 19:12:54 -04:00
Ethan Buchman
8c947760e6
grpc.SupportPackageIsVersion3
2016-06-16 19:04:59 -04:00
Ethan Buchman
516a929e5f
some cleanup
2016-05-24 22:40:47 -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
Ethan Buchman
35f4f0e271
use real protobuf message types
2016-05-14 02:22:32 -04:00
Jae Kwon
3910f871dd
Trivial
2016-05-05 13:58:39 -07:00
Jae Kwon
ca95184373
s/Invalid[Address,Amount]/Invalid[Input,Output]/g
2016-04-13 14:42:00 -07:00
Jae Kwon
82a411fca5
New TMSP message BeginBlock
2016-03-26 22:35:23 -07:00
Jae Kwon
121db71f48
Add ErrBaseUnknownPlugin
2016-03-24 14:17:48 -07:00
Jae Kwon
1dfc6950dd
TMSPResult tweak
2016-03-24 11:27:04 -07:00
Jae Kwon
ccc55bd304
Add ErrUnknownAddress
2016-03-24 11:12:16 -07:00
Jae Kwon
6785b9a3b6
CommitSync returns tmsp.Result
2016-03-23 02:50:29 -07:00
Jae Kwon
5a3975d54a
Add wire expression support
2016-03-22 15:18:03 -07:00
Jae Kwon
3d2d8c7d6a
Result convenience methods; Shuffled Base* code types
2016-03-21 15:33:16 -07:00
Jae Kwon
06a0ac8188
Add NewError -> Result with no data
2016-03-20 17:20:41 -07:00
Jae Kwon
55e2ce9de2
Group (code,data,log) return values into types.Result
2016-03-20 17:10:13 -07:00
Jae Kwon
29a6d511b4
Add testutil; Clean gov return codes
2016-03-15 11:39:20 -07:00
Jae Kwon
61c34ade0d
Remove BeginBlock
2016-03-06 18:01:37 -08:00
Jae Kwon
36c25f242f
s/InitValidators/InitChain/g, s/SyncValidators/EndBlock/g, added BeginBlock
2016-03-05 19:18:34 -08:00
Jae Kwon
dcabdad9b9
Implement Init/Sync Validators
2016-02-28 19:46:01 -08:00
Jae Kwon
1ffe780976
Initial update for Init/SyncValidators
2016-02-28 18:53:24 -08:00
Jae Kwon
88fcacac7a
s/GetHash/Commit/g
2016-02-14 13:11:06 -08:00
Jae Kwon
cf0ad66d51
Compile new types.proto for new CodeType enums
2016-02-05 23:15:08 -08:00
Jae Kwon
2281bba708
Add two new CodeTypes
2016-02-03 01:58:23 -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
9696a71f6e
Log not error; Remove Listener TMSP messages...; Make counter BigEndian
2016-01-25 13:58:34 -08:00
Jae Kwon
c4b87dcf14
new_message
2016-01-23 20:49:15 -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
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
Ethan Buchman
a357f3156a
RetCodeEncodingError
2015-12-17 13:48:36 -08:00
Jae Kwon
5d994944c6
Refactor Application to Application & AppContext
2015-11-29 14:22:30 -08:00
Jae Kwon
e40c4834a8
Replace SetEventsMode with SetOption
2015-11-27 10:14:46 -08:00
Ethan Buchman
4d0eb1d95a
retcode.Error() from go generate
2015-11-27 11:07:16 -05:00
Jae Kwon
201bf2374b
Update README; Remove GetEvents() from Application
2015-11-16 15:50:26 -08:00
Jae Kwon
cce812b1fa
Remove retcode from echo; Add Info message
2015-11-09 16:29:45 -08:00
Jae Kwon
ef93c95853
Added new Flush request/response type
2015-11-08 15:18:58 -08:00
Jae Kwon
0bd4061cf6
initial commit
2015-11-07 20:42:02 -08:00