Commit Graph

55 Commits

Author SHA1 Message Date
Jae Kwon e4b9f1abe7 Id -> ID using gogo 2017-12-20 17:33:59 -08:00
Jae Kwon 57a83fe73e
Merge branch 'develop' into feature/enhance-endblock 2017-12-20 00:11:57 -08:00
Jae Kwon c14d3982ac ValidatorSetUpdates -> ValidatorUpdates 2017-12-20 00:02:41 -08:00
Emmanuel T Odeke 811dc071aa protoc: "//nolint: gas" directive after pb generation (#164)
* protoc: "//nolint: gas" directive after pb generation

Fixes #138

Since we can't add package directives through the protoc
compiler, yet we need to "//nolint: gas" the Go generated
protobuf file, added a script whose purpose is to
go find the "package (\w+)$" declaration after go fmt
was run by protoc.

The competing solutions were more complex and can be
examined by visiting
https://github.com/tendermint/abci/issues/138#issuecomment-352226217

* simplify script

* rewrite script to work on Mac
2017-12-19 12:29:59 -06:00
Anton Kaliaev 66296fe11a
updates -> validator_set_updates
ConsensusParamChanges -> ConsensusParamUpdates
2017-12-19 12:13:45 -06:00
Ethan Frey 9c5e1a824d Updated naming of EndBlock parameters
* Changes -> Updates for validators
* ConsensusParams.XXXParams -> ConsensusParams.XXX
* As per feedback from Jae on PR
2017-12-14 09:27:20 +01:00
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
2017-12-13 17:50:24 +01:00
Ethan Buchman 1b2c383205 ResponseSetOption includes a response Code. Closes #64" 2017-12-05 18:41:52 -05:00
Ethan Buchman 2b804bb5a1 remove custom type int https://github.com/gogo/protobuf/issues/359 2017-12-02 11:47:02 -05:00
Ethan Buchman 82d56571b5 types: int32 with gogo int 2017-12-02 01:48:46 -05:00
Ethan Buchman b20273439d types: RequestBeginBlock includes absent and byzantine validators 2017-12-01 03:00:11 -05:00
Ethan Buchman 0ad7dea71f uint64 -> int64 2017-12-01 00:41:07 -05:00
Ethan Buchman 81e4effbdb types: use data.Bytes directly in type.proto via gogo/protobuf. wow 2017-11-30 15:31:12 -05:00
Ethan Buchman 308cb8e454 use gogo/protobuf 2017-11-30 14:47:09 -05:00
Ethan Buchman 42a8e3240c remove CodeType 2017-11-30 14:29:12 -05:00
Ethan Buchman ab51bdef99 types.pb.go isnt linted. use nolint :( 2017-11-27 20:53:03 +00:00
Ethan Buchman 7dc5b746ac types: add gas and fee fields to CheckTx 2017-11-27 20:10:11 +00:00
Anton Kaliaev fc7db13fa8
remove tags from CheckTx
add value_type field to KVPair
2017-11-20 18:21:59 -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
Ethan Buchman 31bdda27ad Query: LastHeight -> Height :) 2017-02-14 16:53:21 -05:00
Ethan Buchman b6afa8d85b Query: Height -> LastHeight 2017-02-13 20:16:17 -05:00
Jae Kwon 2a4894310d Remove Proof message, replace with more flexible Query 2017-01-27 10:35:27 -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
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 5189a2248d TMSP -> ABCI 2017-01-12 16:04:32 -05:00
Ethan Buchman 80f377135b AppendTx -> DeliverTx 2017-01-12 15:27:08 -05:00
Jae Kwon 8b76f3dd00 Make fields in ResponseInfo be flat 2017-01-12 14:50:41 -05:00
Ethan Buchman 40448a3897 types: update LastBlockInfo and ConfigInfo 2016-11-23 18:27:27 -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 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 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 35f4f0e271 use real protobuf message types 2016-05-14 02:22:32 -04: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 ccc55bd304 Add ErrUnknownAddress 2016-03-24 11:12:16 -07:00
Jae Kwon 3d2d8c7d6a Result convenience methods; Shuffled Base* code types 2016-03-21 15:33:16 -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