Commit Graph

73 Commits

Author SHA1 Message Date
3dbdc87edb protoc and update everything 2018-05-23 22:24:39 -04:00
e196dacf80 Add 'type' field to abci.Evidence 2018-05-18 20:29:32 +02:00
4c73ceee08 Add time field to abci.Evidence 2018-05-17 19:46:00 +02:00
9b20287463 add tags to begin/end block 2018-05-14 19:01:49 -04:00
f7d775337b absent_validators: repeated int -> repeated bytes 2018-05-14 18:54:48 -04:00
f80b3aee48 Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application.
That way the application has access to the chain_id, the timestap, ...
2018-05-13 19:50:15 -04:00
ef67705524 Allow ResponseInitChain to return the initial validator set
ResponseInitChain should be able to return an initial validator set that
is determined by some logic within the genesis.json file.
2018-05-13 19:04:03 -04:00
8fc21cdcd9 remove omitempty 2018-03-22 23:59:25 -04:00
5310e85bbb run make protoc 2018-03-22 23:46:23 -04:00
e0c174b02b remove nullable=false from fee 2018-03-22 22:50:26 -04:00
5306147a2d types: revert CheckTx/DeliverTx changes. make them the same 2018-03-22 19:11:34 -04:00
f7afa3d91f comment some fields in ResponseCheck/DeliverTx. closes #214 2018-03-13 13:40:41 +01:00
a6be687088 types: RequestInitChain.AppStateBytes 2018-02-16 19:49:33 -05:00
8f87efd7f8 ABCI message updates (code/log/info)
* Add info to Response[CheckTx/DeliverTx/Query]
* Remove code and log from Response[SetOption/Commit]
2017-12-26 15:46:06 -08:00
66580408f8 GasWanted and GasUsed for Check & Deliver 2017-12-26 05:29:33 -08:00
e1ff53fd0b Use []byte instead of Bytes, use tmlibs/common.KVPair 2017-12-26 04:52:02 -08:00
f390385baf Fee is a KNPair (#167)
KVPair is {[]byte,[]byte}
2017-12-24 18:39:16 -08:00
aaaacba1cd Use gogoproto's nullable=false (#166)
* Use gogoproto's nullable=false where appropriate.
2017-12-22 19:41:19 -08:00
e4b9f1abe7 Id -> ID using gogo 2017-12-20 17:33:59 -08:00
57a83fe73e Merge branch 'develop' into feature/enhance-endblock 2017-12-20 00:11:57 -08:00
c14d3982ac ValidatorSetUpdates -> ValidatorUpdates 2017-12-20 00:02:41 -08:00
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
66296fe11a updates -> validator_set_updates
ConsensusParamChanges -> ConsensusParamUpdates
2017-12-19 12:13:45 -06:00
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
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
1b2c383205 ResponseSetOption includes a response Code. Closes #64" 2017-12-05 18:41:52 -05:00
2b804bb5a1 remove custom type int https://github.com/gogo/protobuf/issues/359 2017-12-02 11:47:02 -05:00
82d56571b5 types: int32 with gogo int 2017-12-02 01:48:46 -05:00
b20273439d types: RequestBeginBlock includes absent and byzantine validators 2017-12-01 03:00:11 -05:00
0ad7dea71f uint64 -> int64 2017-12-01 00:41:07 -05:00
81e4effbdb types: use data.Bytes directly in type.proto via gogo/protobuf. wow 2017-11-30 15:31:12 -05:00
308cb8e454 use gogo/protobuf 2017-11-30 14:47:09 -05:00
42a8e3240c remove CodeType 2017-11-30 14:29:12 -05:00
ab51bdef99 types.pb.go isnt linted. use nolint :( 2017-11-27 20:53:03 +00:00
7dc5b746ac types: add gas and fee fields to CheckTx 2017-11-27 20:10:11 +00:00
fc7db13fa8 remove tags from CheckTx
add value_type field to KVPair
2017-11-20 18:21:59 -06:00
bb0d7e9526 add tags field to DeliverTx and CheckTx 2017-11-20 16:56:57 -06:00
667c2543ea use request struct for Info 2017-09-22 11:10:55 -04:00
31bdda27ad Query: LastHeight -> Height :) 2017-02-14 16:53:21 -05:00
b6afa8d85b Query: Height -> LastHeight 2017-02-13 20:16:17 -05:00
2a4894310d Remove Proof message, replace with more flexible Query 2017-01-27 10:35:27 -08:00
fdc047ae7a Proof uses uint64 for blockHeight 2017-01-17 17:22:34 +01:00
7cd39dafea Update protocol buffers 2017-01-17 15:44:40 +01:00
b9d1465488 Make sure we install before test, since test relies on counter etc 2017-01-13 10:12:38 -08:00
5189a2248d TMSP -> ABCI 2017-01-12 16:04:32 -05:00
80f377135b AppendTx -> DeliverTx 2017-01-12 15:27:08 -05:00
8b76f3dd00 Make fields in ResponseInfo be flat 2017-01-12 14:50:41 -05:00
40448a3897 types: update LastBlockInfo and ConfigInfo 2016-11-23 18:27:27 -05:00
9a2d3e51ed heights are uint64 2016-11-22 14:00:31 -05:00
60e0842ef9 Header.LastBlockID 2016-11-16 16:11:36 -05:00