Jae Kwon
3798f9fa8e
Reorder README
7 years ago
Jae Kwon
c14d3982ac
ValidatorSetUpdates -> ValidatorUpdates
7 years ago
Anton Kaliaev
66296fe11a
updates -> validator_set_updates
ConsensusParamChanges -> ConsensusParamUpdates
7 years ago
Ethan Frey
eb6d412a82
Add tests to protobuf objects for pr coverage
7 years ago
Ethan Frey
9c5e1a824d
Updated naming of EndBlock parameters
* Changes -> Updates for validators
* ConsensusParams.XXXParams -> ConsensusParams.XXX
* As per feedback from Jae on PR
7 years ago
Ethan Frey
25f6f6518c
Update the ResponseEndBlock values
* Rename diffs -> changes
* Add consensus_param_changes
For context, see:
https://github.com/tendermint/tendermint/issues/924
https://github.com/tendermint/tendermint/issues/952
7 years ago
Ethan Buchman
310beae63c
types: check ResponseCheckTx too
7 years ago
Emmanuel Odeke
7167d4e4c7
types: compile type assertions to avoid sneaky runtime surprises
Ensure that the types in result.go implement both
json.Marshaler and json.Unmarshaler
and thus avoid any accidental deletions of their respective
methods which would then cause surprises at runtime.
7 years ago
Ethan Buchman
47216538fd
types: add UnmarshalJSON funcs for Response types
7 years ago
Ethan Buchman
e1ee4d6bf5
types: add MarshalJSON funcs for Response types with a Code
7 years ago
Ethan Buchman
1b2c383205
ResponseSetOption includes a response Code. Closes #64"
7 years ago
Ethan Buchman
2b804bb5a1
remove custom type int https://github.com/gogo/protobuf/issues/359
7 years ago
Ethan Buchman
82d56571b5
types: int32 with gogo int
7 years ago
Ethan Buchman
3890a2058f
types: IsOK()
7 years ago
Ethan Buchman
b20273439d
types: RequestBeginBlock includes absent and byzantine validators
7 years ago
Ethan Buchman
9272756c49
types: add note about ReadMessage having no cap
7 years ago
Ethan Buchman
3d3d1288d1
types: consolidate some file
7 years ago
Ethan Buchman
0ad7dea71f
uint64 -> int64
7 years ago
Ethan Buchman
e3f6666ecc
update changelog; add rudis script for safe keeping
7 years ago
Ethan Buchman
81e4effbdb
types: use data.Bytes directly in type.proto via gogo/protobuf. wow
7 years ago
Ethan Buchman
308cb8e454
use gogo/protobuf
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Anton Kaliaev
20befcf6d6
add 2 helper methods for building KVPair(s)
7 years ago
Ethan Buchman
ab51bdef99
types.pb.go isnt linted. use nolint :(
7 years ago
Ethan Buchman
e08885e3cd
minor fix
7 years ago
Ethan Buchman
7dc5b746ac
types: add gas and fee fields to CheckTx
7 years ago
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