Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
7 years ago
Anton Kaliaev
67d2a5f66d
set Code to OK in ResponseQuery in BaseApplication
See https://github.com/tendermint/abci/pull/130#discussion_r152713220
7 years ago
Anton Kaliaev
9b30fab4fc
preserve behaviour of BaseApplication
7 years ago
Anton Kaliaev
2cfad8523a
test HumanCode
7 years ago
Anton Kaliaev
1726e82865
add IsErr and Error method for ResultQuery
7 years ago
Anton Kaliaev
91efacfabc
remove types.Result
7 years ago
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
7 years ago
Anton Kaliaev
01252e8cc8
mark Result as deprecated
7 years ago
Anton Kaliaev
5fd83b3eee
implement error interface for ResponseDeliverTx/CheckTx/Commit
7 years ago
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.
7 years ago
Anton Kaliaev
3a3d508e5c
CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
Commit now returns ResponseCommit
7 years ago
Anton Kaliaev
fc7db13fa8
remove tags from CheckTx
add value_type field to KVPair
7 years ago
Anton Kaliaev
33b51378f2
reformat types.proto
7 years ago
Anton Kaliaev
bb0d7e9526
add tags field to DeliverTx and CheckTx
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
fe426de5d4
lint: couple more fixes
7 years ago
Ethan Buchman
318345f996
fix tests
7 years ago
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
7 years ago
Ethan Buchman
f1094f760b
types: remove redundant version file
7 years ago
Ethan Buchman
5dabeffb35
fixes from review
8 years ago
rigel rozanski
05dc4d12dd
result.IsSameCode
8 years ago
Adrian Brink
577ec5452f
Fix indentation
8 years ago
Adrian Brink
322b4e54de
Remove unused enum MessageTypes
8 years ago
Krzysztof Jurewicz
a3d4e5797d
Comment out MessageType
As it is an unused enum, leaving it uncommented causes dead Protocol
Buffers code to be generated.
8 years ago
Ethan Buchman
8d8e35ae53
types: methods convert pb types to use data.Bytes
8 years ago
Ethan Buchman
8339dc3b1a
types: Result and Validator use data.Bytes
8 years ago
Ethan Buchman
be5a4345a3
formatting and update CHANGELOG
8 years ago
Ethan Buchman
31bdda27ad
Query: LastHeight -> Height :)
8 years ago
Ethan Buchman
e909cafa0b
BaseApplication
8 years ago
Ethan Buchman
b6afa8d85b
Query: Height -> LastHeight
8 years ago
Ethan Buchman
b025c13f67
drop BlockchainAware
8 years ago
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
8 years ago
Jae Kwon
4bdddf9829
First commit to demonstrate change
8 years ago
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
8 years ago
Ethan Frey
7cd39dafea
Update protocol buffers
8 years ago
Ethan Frey
58ea995032
Begin adding proof calls
8 years ago
Jae Kwon
05096de368
Add Result.String
8 years ago
Jae Kwon
b9d1465488
Make sure we install before test, since test relies on counter etc
8 years ago
Ethan Buchman
42b7bfbf0c
update version and glide
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
8 years ago
Ethan Buchman
490a96ef66
drop unneeded variable copy
8 years ago
Jae Kwon
f8167872d8
EndBlock also returns ResponseEndBlock
8 years ago
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
8 years ago
Jae Kwon
0d82d26408
Frist commit on types.proto
8 years ago
Ethan Buchman
40448a3897
types: update LastBlockInfo and ConfigInfo
8 years ago
Ethan Buchman
2dce41ad6a
types: pretty print validators
8 years ago
Ethan Buchman
b200b82418
dummy: valset changes and tests
8 years ago
Ethan Buchman
9a2d3e51ed
heights are uint64
8 years ago
Ethan Buchman
60e0842ef9
Header.LastBlockID
8 years ago