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
388f66c9b3
types: drop uint64 from protobuf.go
7 years ago
Anton Kaliaev
10f7858453
use rand.Int63n, remove underflow check, remove unnecessary cast
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Anton Kaliaev
86af889dfb
remove unnecessary casts (Refs #911 )
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
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
Anton Kaliaev
91f2184003
fixes after bucky's review
7 years ago
Anton Kaliaev
ea0b205455
searching transaction results
7 years ago
Anton Kaliaev
16cf7a5e0a
use a switch when validating tags
7 years ago
Anton Kaliaev
56abea7427
rename tm.events.type to just tm.event
7 years ago
Anton Kaliaev
29cd1a1b8f
rewrite indexer to be a listener of eventBus
7 years ago
Anton Kaliaev
acae38ab9e
validate tags
7 years ago
Anton Kaliaev
a52cdbfe43
extract tags from DeliverTx/Result
and send them along with predefined
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
Zach Ramsay
414a8cb0ba
pass tests!
7 years ago
Zach Ramsay
c84c7250ba
linting: few more fixes
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago
Zach Ramsay
7ad8a8ab55
Tests almost passing
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
1721543e5c
linting: apply misspell
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
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