Jae Kwon
8f87efd7f8
ABCI message updates (code/log/info)
* Add info to Response[CheckTx/DeliverTx/Query]
* Remove code and log from Response[SetOption/Commit]
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
3890a2058f
types: IsOK()
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
42a8e3240c
remove CodeType
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
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
bb0d7e9526
add tags field to DeliverTx and CheckTx
7 years ago
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
7 years ago
rigel rozanski
05dc4d12dd
result.IsSameCode
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
Jae Kwon
05096de368
Add Result.String
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago
Jae Kwon
1dfc6950dd
TMSPResult tweak
9 years ago
Jae Kwon
6785b9a3b6
CommitSync returns tmsp.Result
9 years ago
Jae Kwon
5a3975d54a
Add wire expression support
9 years ago
Jae Kwon
3d2d8c7d6a
Result convenience methods; Shuffled Base* code types
9 years ago
Jae Kwon
06a0ac8188
Add NewError -> Result with no data
9 years ago
Jae Kwon
55e2ce9de2
Group (code,data,log) return values into types.Result
9 years ago