mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
make BlockTimeIota a consensus parameter, not a locally configurable … (#3048)
* make BlockTimeIota a consensus parameter, not a locally configurable option Refs #2920 * make TimeIota int64 ms Refs #2920 * update Gopkg.toml * fixes after Ethan's review * fix TestRemoteSignerProposalSigningFailed * update changelog
This commit is contained in:
parent
f39138aa2e
commit
52771e1287
@ -24,6 +24,9 @@ Special thanks to external contributors on this release:
|
|||||||
- [mempool] \#3079 bound mempool memory usage (`mempool.max_txs_bytes` is set to 1GB by default; see config.toml)
|
- [mempool] \#3079 bound mempool memory usage (`mempool.max_txs_bytes` is set to 1GB by default; see config.toml)
|
||||||
mempool's current `txs_total_bytes` is exposed via `total_bytes` field in
|
mempool's current `txs_total_bytes` is exposed via `total_bytes` field in
|
||||||
`/num_unconfirmed_txs` and `/unconfirmed_txs` RPC endpoints.
|
`/num_unconfirmed_txs` and `/unconfirmed_txs` RPC endpoints.
|
||||||
|
- [config] \#2920 Remove `consensus.blocktime_iota` parameter
|
||||||
|
- [genesis] \#2920 Add `time_iota_ms` to block's consensus parameters
|
||||||
|
- [genesis] \#2920 Rename `consensus_params.block_size` to `consensus_params.block`
|
||||||
|
|
||||||
### IMPROVEMENTS:
|
### IMPROVEMENTS:
|
||||||
- [libs/common] \#3238 exit with zero (0) code upon receiving SIGTERM/SIGINT
|
- [libs/common] \#3238 exit with zero (0) code upon receiving SIGTERM/SIGINT
|
||||||
|
@ -61,7 +61,7 @@ func (m *Request) Reset() { *m = Request{} }
|
|||||||
func (m *Request) String() string { return proto.CompactTextString(m) }
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Request) ProtoMessage() {}
|
func (*Request) ProtoMessage() {}
|
||||||
func (*Request) Descriptor() ([]byte, []int) {
|
func (*Request) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{0}
|
return fileDescriptor_types_e441973ce6650a0d, []int{0}
|
||||||
}
|
}
|
||||||
func (m *Request) XXX_Unmarshal(b []byte) error {
|
func (m *Request) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -483,7 +483,7 @@ func (m *RequestEcho) Reset() { *m = RequestEcho{} }
|
|||||||
func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
|
func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestEcho) ProtoMessage() {}
|
func (*RequestEcho) ProtoMessage() {}
|
||||||
func (*RequestEcho) Descriptor() ([]byte, []int) {
|
func (*RequestEcho) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{1}
|
return fileDescriptor_types_e441973ce6650a0d, []int{1}
|
||||||
}
|
}
|
||||||
func (m *RequestEcho) XXX_Unmarshal(b []byte) error {
|
func (m *RequestEcho) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -529,7 +529,7 @@ func (m *RequestFlush) Reset() { *m = RequestFlush{} }
|
|||||||
func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
|
func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestFlush) ProtoMessage() {}
|
func (*RequestFlush) ProtoMessage() {}
|
||||||
func (*RequestFlush) Descriptor() ([]byte, []int) {
|
func (*RequestFlush) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{2}
|
return fileDescriptor_types_e441973ce6650a0d, []int{2}
|
||||||
}
|
}
|
||||||
func (m *RequestFlush) XXX_Unmarshal(b []byte) error {
|
func (m *RequestFlush) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -571,7 +571,7 @@ func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
|||||||
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestInfo) ProtoMessage() {}
|
func (*RequestInfo) ProtoMessage() {}
|
||||||
func (*RequestInfo) Descriptor() ([]byte, []int) {
|
func (*RequestInfo) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{3}
|
return fileDescriptor_types_e441973ce6650a0d, []int{3}
|
||||||
}
|
}
|
||||||
func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
|
func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -634,7 +634,7 @@ func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
|
|||||||
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
|
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestSetOption) ProtoMessage() {}
|
func (*RequestSetOption) ProtoMessage() {}
|
||||||
func (*RequestSetOption) Descriptor() ([]byte, []int) {
|
func (*RequestSetOption) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{4}
|
return fileDescriptor_types_e441973ce6650a0d, []int{4}
|
||||||
}
|
}
|
||||||
func (m *RequestSetOption) XXX_Unmarshal(b []byte) error {
|
func (m *RequestSetOption) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -692,7 +692,7 @@ func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
|
|||||||
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
|
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestInitChain) ProtoMessage() {}
|
func (*RequestInitChain) ProtoMessage() {}
|
||||||
func (*RequestInitChain) Descriptor() ([]byte, []int) {
|
func (*RequestInitChain) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{5}
|
return fileDescriptor_types_e441973ce6650a0d, []int{5}
|
||||||
}
|
}
|
||||||
func (m *RequestInitChain) XXX_Unmarshal(b []byte) error {
|
func (m *RequestInitChain) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -770,7 +770,7 @@ func (m *RequestQuery) Reset() { *m = RequestQuery{} }
|
|||||||
func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
|
func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestQuery) ProtoMessage() {}
|
func (*RequestQuery) ProtoMessage() {}
|
||||||
func (*RequestQuery) Descriptor() ([]byte, []int) {
|
func (*RequestQuery) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{6}
|
return fileDescriptor_types_e441973ce6650a0d, []int{6}
|
||||||
}
|
}
|
||||||
func (m *RequestQuery) XXX_Unmarshal(b []byte) error {
|
func (m *RequestQuery) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -841,7 +841,7 @@ func (m *RequestBeginBlock) Reset() { *m = RequestBeginBlock{} }
|
|||||||
func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
|
func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestBeginBlock) ProtoMessage() {}
|
func (*RequestBeginBlock) ProtoMessage() {}
|
||||||
func (*RequestBeginBlock) Descriptor() ([]byte, []int) {
|
func (*RequestBeginBlock) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{7}
|
return fileDescriptor_types_e441973ce6650a0d, []int{7}
|
||||||
}
|
}
|
||||||
func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error {
|
func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -909,7 +909,7 @@ func (m *RequestCheckTx) Reset() { *m = RequestCheckTx{} }
|
|||||||
func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
|
func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestCheckTx) ProtoMessage() {}
|
func (*RequestCheckTx) ProtoMessage() {}
|
||||||
func (*RequestCheckTx) Descriptor() ([]byte, []int) {
|
func (*RequestCheckTx) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{8}
|
return fileDescriptor_types_e441973ce6650a0d, []int{8}
|
||||||
}
|
}
|
||||||
func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error {
|
func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -956,7 +956,7 @@ func (m *RequestDeliverTx) Reset() { *m = RequestDeliverTx{} }
|
|||||||
func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
|
func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestDeliverTx) ProtoMessage() {}
|
func (*RequestDeliverTx) ProtoMessage() {}
|
||||||
func (*RequestDeliverTx) Descriptor() ([]byte, []int) {
|
func (*RequestDeliverTx) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{9}
|
return fileDescriptor_types_e441973ce6650a0d, []int{9}
|
||||||
}
|
}
|
||||||
func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error {
|
func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1003,7 +1003,7 @@ func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
|
|||||||
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
|
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestEndBlock) ProtoMessage() {}
|
func (*RequestEndBlock) ProtoMessage() {}
|
||||||
func (*RequestEndBlock) Descriptor() ([]byte, []int) {
|
func (*RequestEndBlock) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{10}
|
return fileDescriptor_types_e441973ce6650a0d, []int{10}
|
||||||
}
|
}
|
||||||
func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error {
|
func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1049,7 +1049,7 @@ func (m *RequestCommit) Reset() { *m = RequestCommit{} }
|
|||||||
func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
|
func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RequestCommit) ProtoMessage() {}
|
func (*RequestCommit) ProtoMessage() {}
|
||||||
func (*RequestCommit) Descriptor() ([]byte, []int) {
|
func (*RequestCommit) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{11}
|
return fileDescriptor_types_e441973ce6650a0d, []int{11}
|
||||||
}
|
}
|
||||||
func (m *RequestCommit) XXX_Unmarshal(b []byte) error {
|
func (m *RequestCommit) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1102,7 +1102,7 @@ func (m *Response) Reset() { *m = Response{} }
|
|||||||
func (m *Response) String() string { return proto.CompactTextString(m) }
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Response) ProtoMessage() {}
|
func (*Response) ProtoMessage() {}
|
||||||
func (*Response) Descriptor() ([]byte, []int) {
|
func (*Response) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{12}
|
return fileDescriptor_types_e441973ce6650a0d, []int{12}
|
||||||
}
|
}
|
||||||
func (m *Response) XXX_Unmarshal(b []byte) error {
|
func (m *Response) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1555,7 +1555,7 @@ func (m *ResponseException) Reset() { *m = ResponseException{} }
|
|||||||
func (m *ResponseException) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseException) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseException) ProtoMessage() {}
|
func (*ResponseException) ProtoMessage() {}
|
||||||
func (*ResponseException) Descriptor() ([]byte, []int) {
|
func (*ResponseException) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{13}
|
return fileDescriptor_types_e441973ce6650a0d, []int{13}
|
||||||
}
|
}
|
||||||
func (m *ResponseException) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseException) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1602,7 +1602,7 @@ func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
|
|||||||
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseEcho) ProtoMessage() {}
|
func (*ResponseEcho) ProtoMessage() {}
|
||||||
func (*ResponseEcho) Descriptor() ([]byte, []int) {
|
func (*ResponseEcho) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{14}
|
return fileDescriptor_types_e441973ce6650a0d, []int{14}
|
||||||
}
|
}
|
||||||
func (m *ResponseEcho) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseEcho) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1648,7 +1648,7 @@ func (m *ResponseFlush) Reset() { *m = ResponseFlush{} }
|
|||||||
func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseFlush) ProtoMessage() {}
|
func (*ResponseFlush) ProtoMessage() {}
|
||||||
func (*ResponseFlush) Descriptor() ([]byte, []int) {
|
func (*ResponseFlush) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{15}
|
return fileDescriptor_types_e441973ce6650a0d, []int{15}
|
||||||
}
|
}
|
||||||
func (m *ResponseFlush) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseFlush) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1692,7 +1692,7 @@ func (m *ResponseInfo) Reset() { *m = ResponseInfo{} }
|
|||||||
func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseInfo) ProtoMessage() {}
|
func (*ResponseInfo) ProtoMessage() {}
|
||||||
func (*ResponseInfo) Descriptor() ([]byte, []int) {
|
func (*ResponseInfo) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{16}
|
return fileDescriptor_types_e441973ce6650a0d, []int{16}
|
||||||
}
|
}
|
||||||
func (m *ResponseInfo) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseInfo) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1771,7 +1771,7 @@ func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
|
|||||||
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseSetOption) ProtoMessage() {}
|
func (*ResponseSetOption) ProtoMessage() {}
|
||||||
func (*ResponseSetOption) Descriptor() ([]byte, []int) {
|
func (*ResponseSetOption) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{17}
|
return fileDescriptor_types_e441973ce6650a0d, []int{17}
|
||||||
}
|
}
|
||||||
func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1833,7 +1833,7 @@ func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
|
|||||||
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseInitChain) ProtoMessage() {}
|
func (*ResponseInitChain) ProtoMessage() {}
|
||||||
func (*ResponseInitChain) Descriptor() ([]byte, []int) {
|
func (*ResponseInitChain) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{18}
|
return fileDescriptor_types_e441973ce6650a0d, []int{18}
|
||||||
}
|
}
|
||||||
func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1896,7 +1896,7 @@ func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
|
|||||||
func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseQuery) ProtoMessage() {}
|
func (*ResponseQuery) ProtoMessage() {}
|
||||||
func (*ResponseQuery) Descriptor() ([]byte, []int) {
|
func (*ResponseQuery) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{19}
|
return fileDescriptor_types_e441973ce6650a0d, []int{19}
|
||||||
}
|
}
|
||||||
func (m *ResponseQuery) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseQuery) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -1999,7 +1999,7 @@ func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
|
|||||||
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseBeginBlock) ProtoMessage() {}
|
func (*ResponseBeginBlock) ProtoMessage() {}
|
||||||
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) {
|
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{20}
|
return fileDescriptor_types_e441973ce6650a0d, []int{20}
|
||||||
}
|
}
|
||||||
func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2053,7 +2053,7 @@ func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
|
|||||||
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseCheckTx) ProtoMessage() {}
|
func (*ResponseCheckTx) ProtoMessage() {}
|
||||||
func (*ResponseCheckTx) Descriptor() ([]byte, []int) {
|
func (*ResponseCheckTx) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{21}
|
return fileDescriptor_types_e441973ce6650a0d, []int{21}
|
||||||
}
|
}
|
||||||
func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2156,7 +2156,7 @@ func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
|
|||||||
func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseDeliverTx) ProtoMessage() {}
|
func (*ResponseDeliverTx) ProtoMessage() {}
|
||||||
func (*ResponseDeliverTx) Descriptor() ([]byte, []int) {
|
func (*ResponseDeliverTx) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{22}
|
return fileDescriptor_types_e441973ce6650a0d, []int{22}
|
||||||
}
|
}
|
||||||
func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2254,7 +2254,7 @@ func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
|
|||||||
func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseEndBlock) ProtoMessage() {}
|
func (*ResponseEndBlock) ProtoMessage() {}
|
||||||
func (*ResponseEndBlock) Descriptor() ([]byte, []int) {
|
func (*ResponseEndBlock) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{23}
|
return fileDescriptor_types_e441973ce6650a0d, []int{23}
|
||||||
}
|
}
|
||||||
func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2316,7 +2316,7 @@ func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
|
|||||||
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
|
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ResponseCommit) ProtoMessage() {}
|
func (*ResponseCommit) ProtoMessage() {}
|
||||||
func (*ResponseCommit) Descriptor() ([]byte, []int) {
|
func (*ResponseCommit) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{24}
|
return fileDescriptor_types_e441973ce6650a0d, []int{24}
|
||||||
}
|
}
|
||||||
func (m *ResponseCommit) XXX_Unmarshal(b []byte) error {
|
func (m *ResponseCommit) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2355,7 +2355,7 @@ func (m *ResponseCommit) GetData() []byte {
|
|||||||
// ConsensusParams contains all consensus-relevant parameters
|
// ConsensusParams contains all consensus-relevant parameters
|
||||||
// that can be adjusted by the abci app
|
// that can be adjusted by the abci app
|
||||||
type ConsensusParams struct {
|
type ConsensusParams struct {
|
||||||
BlockSize *BlockSizeParams `protobuf:"bytes,1,opt,name=block_size,json=blockSize" json:"block_size,omitempty"`
|
Block *BlockParams `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
|
||||||
Evidence *EvidenceParams `protobuf:"bytes,2,opt,name=evidence" json:"evidence,omitempty"`
|
Evidence *EvidenceParams `protobuf:"bytes,2,opt,name=evidence" json:"evidence,omitempty"`
|
||||||
Validator *ValidatorParams `protobuf:"bytes,3,opt,name=validator" json:"validator,omitempty"`
|
Validator *ValidatorParams `protobuf:"bytes,3,opt,name=validator" json:"validator,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
@ -2367,7 +2367,7 @@ func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
|
|||||||
func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
|
func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ConsensusParams) ProtoMessage() {}
|
func (*ConsensusParams) ProtoMessage() {}
|
||||||
func (*ConsensusParams) Descriptor() ([]byte, []int) {
|
func (*ConsensusParams) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{25}
|
return fileDescriptor_types_e441973ce6650a0d, []int{25}
|
||||||
}
|
}
|
||||||
func (m *ConsensusParams) XXX_Unmarshal(b []byte) error {
|
func (m *ConsensusParams) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2396,9 +2396,9 @@ func (m *ConsensusParams) XXX_DiscardUnknown() {
|
|||||||
|
|
||||||
var xxx_messageInfo_ConsensusParams proto.InternalMessageInfo
|
var xxx_messageInfo_ConsensusParams proto.InternalMessageInfo
|
||||||
|
|
||||||
func (m *ConsensusParams) GetBlockSize() *BlockSizeParams {
|
func (m *ConsensusParams) GetBlock() *BlockParams {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.BlockSize
|
return m.Block
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -2417,29 +2417,31 @@ func (m *ConsensusParams) GetValidator() *ValidatorParams {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlockSize contains limits on the block size.
|
// BlockParams contains limits on the block size and timestamp.
|
||||||
type BlockSizeParams struct {
|
type BlockParams struct {
|
||||||
// Note: must be greater than 0
|
// Note: must be greater than 0
|
||||||
MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
||||||
// Note: must be greater or equal to -1
|
// Note: must be greater or equal to -1
|
||||||
MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
|
MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
|
||||||
|
// Note: must be greater than 0
|
||||||
|
TimeIotaMs int64 `protobuf:"varint,3,opt,name=time_iota_ms,json=timeIotaMs,proto3" json:"time_iota_ms,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *BlockSizeParams) Reset() { *m = BlockSizeParams{} }
|
func (m *BlockParams) Reset() { *m = BlockParams{} }
|
||||||
func (m *BlockSizeParams) String() string { return proto.CompactTextString(m) }
|
func (m *BlockParams) String() string { return proto.CompactTextString(m) }
|
||||||
func (*BlockSizeParams) ProtoMessage() {}
|
func (*BlockParams) ProtoMessage() {}
|
||||||
func (*BlockSizeParams) Descriptor() ([]byte, []int) {
|
func (*BlockParams) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{26}
|
return fileDescriptor_types_e441973ce6650a0d, []int{26}
|
||||||
}
|
}
|
||||||
func (m *BlockSizeParams) XXX_Unmarshal(b []byte) error {
|
func (m *BlockParams) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
}
|
}
|
||||||
func (m *BlockSizeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
func (m *BlockParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
if deterministic {
|
if deterministic {
|
||||||
return xxx_messageInfo_BlockSizeParams.Marshal(b, m, deterministic)
|
return xxx_messageInfo_BlockParams.Marshal(b, m, deterministic)
|
||||||
} else {
|
} else {
|
||||||
b = b[:cap(b)]
|
b = b[:cap(b)]
|
||||||
n, err := m.MarshalTo(b)
|
n, err := m.MarshalTo(b)
|
||||||
@ -2449,32 +2451,39 @@ func (m *BlockSizeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, err
|
|||||||
return b[:n], nil
|
return b[:n], nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func (dst *BlockSizeParams) XXX_Merge(src proto.Message) {
|
func (dst *BlockParams) XXX_Merge(src proto.Message) {
|
||||||
xxx_messageInfo_BlockSizeParams.Merge(dst, src)
|
xxx_messageInfo_BlockParams.Merge(dst, src)
|
||||||
}
|
}
|
||||||
func (m *BlockSizeParams) XXX_Size() int {
|
func (m *BlockParams) XXX_Size() int {
|
||||||
return m.Size()
|
return m.Size()
|
||||||
}
|
}
|
||||||
func (m *BlockSizeParams) XXX_DiscardUnknown() {
|
func (m *BlockParams) XXX_DiscardUnknown() {
|
||||||
xxx_messageInfo_BlockSizeParams.DiscardUnknown(m)
|
xxx_messageInfo_BlockParams.DiscardUnknown(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
var xxx_messageInfo_BlockSizeParams proto.InternalMessageInfo
|
var xxx_messageInfo_BlockParams proto.InternalMessageInfo
|
||||||
|
|
||||||
func (m *BlockSizeParams) GetMaxBytes() int64 {
|
func (m *BlockParams) GetMaxBytes() int64 {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.MaxBytes
|
return m.MaxBytes
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *BlockSizeParams) GetMaxGas() int64 {
|
func (m *BlockParams) GetMaxGas() int64 {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.MaxGas
|
return m.MaxGas
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *BlockParams) GetTimeIotaMs() int64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.TimeIotaMs
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
// EvidenceParams contains limits on the evidence.
|
// EvidenceParams contains limits on the evidence.
|
||||||
type EvidenceParams struct {
|
type EvidenceParams struct {
|
||||||
// Note: must be greater than 0
|
// Note: must be greater than 0
|
||||||
@ -2488,7 +2497,7 @@ func (m *EvidenceParams) Reset() { *m = EvidenceParams{} }
|
|||||||
func (m *EvidenceParams) String() string { return proto.CompactTextString(m) }
|
func (m *EvidenceParams) String() string { return proto.CompactTextString(m) }
|
||||||
func (*EvidenceParams) ProtoMessage() {}
|
func (*EvidenceParams) ProtoMessage() {}
|
||||||
func (*EvidenceParams) Descriptor() ([]byte, []int) {
|
func (*EvidenceParams) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{27}
|
return fileDescriptor_types_e441973ce6650a0d, []int{27}
|
||||||
}
|
}
|
||||||
func (m *EvidenceParams) XXX_Unmarshal(b []byte) error {
|
func (m *EvidenceParams) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2536,7 +2545,7 @@ func (m *ValidatorParams) Reset() { *m = ValidatorParams{} }
|
|||||||
func (m *ValidatorParams) String() string { return proto.CompactTextString(m) }
|
func (m *ValidatorParams) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ValidatorParams) ProtoMessage() {}
|
func (*ValidatorParams) ProtoMessage() {}
|
||||||
func (*ValidatorParams) Descriptor() ([]byte, []int) {
|
func (*ValidatorParams) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{28}
|
return fileDescriptor_types_e441973ce6650a0d, []int{28}
|
||||||
}
|
}
|
||||||
func (m *ValidatorParams) XXX_Unmarshal(b []byte) error {
|
func (m *ValidatorParams) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2584,7 +2593,7 @@ func (m *LastCommitInfo) Reset() { *m = LastCommitInfo{} }
|
|||||||
func (m *LastCommitInfo) String() string { return proto.CompactTextString(m) }
|
func (m *LastCommitInfo) String() string { return proto.CompactTextString(m) }
|
||||||
func (*LastCommitInfo) ProtoMessage() {}
|
func (*LastCommitInfo) ProtoMessage() {}
|
||||||
func (*LastCommitInfo) Descriptor() ([]byte, []int) {
|
func (*LastCommitInfo) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{29}
|
return fileDescriptor_types_e441973ce6650a0d, []int{29}
|
||||||
}
|
}
|
||||||
func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error {
|
func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2658,7 +2667,7 @@ func (m *Header) Reset() { *m = Header{} }
|
|||||||
func (m *Header) String() string { return proto.CompactTextString(m) }
|
func (m *Header) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Header) ProtoMessage() {}
|
func (*Header) ProtoMessage() {}
|
||||||
func (*Header) Descriptor() ([]byte, []int) {
|
func (*Header) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{30}
|
return fileDescriptor_types_e441973ce6650a0d, []int{30}
|
||||||
}
|
}
|
||||||
func (m *Header) XXX_Unmarshal(b []byte) error {
|
func (m *Header) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2811,7 +2820,7 @@ func (m *Version) Reset() { *m = Version{} }
|
|||||||
func (m *Version) String() string { return proto.CompactTextString(m) }
|
func (m *Version) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Version) ProtoMessage() {}
|
func (*Version) ProtoMessage() {}
|
||||||
func (*Version) Descriptor() ([]byte, []int) {
|
func (*Version) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{31}
|
return fileDescriptor_types_e441973ce6650a0d, []int{31}
|
||||||
}
|
}
|
||||||
func (m *Version) XXX_Unmarshal(b []byte) error {
|
func (m *Version) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2866,7 +2875,7 @@ func (m *BlockID) Reset() { *m = BlockID{} }
|
|||||||
func (m *BlockID) String() string { return proto.CompactTextString(m) }
|
func (m *BlockID) String() string { return proto.CompactTextString(m) }
|
||||||
func (*BlockID) ProtoMessage() {}
|
func (*BlockID) ProtoMessage() {}
|
||||||
func (*BlockID) Descriptor() ([]byte, []int) {
|
func (*BlockID) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{32}
|
return fileDescriptor_types_e441973ce6650a0d, []int{32}
|
||||||
}
|
}
|
||||||
func (m *BlockID) XXX_Unmarshal(b []byte) error {
|
func (m *BlockID) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2921,7 +2930,7 @@ func (m *PartSetHeader) Reset() { *m = PartSetHeader{} }
|
|||||||
func (m *PartSetHeader) String() string { return proto.CompactTextString(m) }
|
func (m *PartSetHeader) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PartSetHeader) ProtoMessage() {}
|
func (*PartSetHeader) ProtoMessage() {}
|
||||||
func (*PartSetHeader) Descriptor() ([]byte, []int) {
|
func (*PartSetHeader) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{33}
|
return fileDescriptor_types_e441973ce6650a0d, []int{33}
|
||||||
}
|
}
|
||||||
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error {
|
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -2978,7 +2987,7 @@ func (m *Validator) Reset() { *m = Validator{} }
|
|||||||
func (m *Validator) String() string { return proto.CompactTextString(m) }
|
func (m *Validator) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Validator) ProtoMessage() {}
|
func (*Validator) ProtoMessage() {}
|
||||||
func (*Validator) Descriptor() ([]byte, []int) {
|
func (*Validator) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{34}
|
return fileDescriptor_types_e441973ce6650a0d, []int{34}
|
||||||
}
|
}
|
||||||
func (m *Validator) XXX_Unmarshal(b []byte) error {
|
func (m *Validator) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -3034,7 +3043,7 @@ func (m *ValidatorUpdate) Reset() { *m = ValidatorUpdate{} }
|
|||||||
func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) }
|
func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ValidatorUpdate) ProtoMessage() {}
|
func (*ValidatorUpdate) ProtoMessage() {}
|
||||||
func (*ValidatorUpdate) Descriptor() ([]byte, []int) {
|
func (*ValidatorUpdate) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{35}
|
return fileDescriptor_types_e441973ce6650a0d, []int{35}
|
||||||
}
|
}
|
||||||
func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error {
|
func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -3090,7 +3099,7 @@ func (m *VoteInfo) Reset() { *m = VoteInfo{} }
|
|||||||
func (m *VoteInfo) String() string { return proto.CompactTextString(m) }
|
func (m *VoteInfo) String() string { return proto.CompactTextString(m) }
|
||||||
func (*VoteInfo) ProtoMessage() {}
|
func (*VoteInfo) ProtoMessage() {}
|
||||||
func (*VoteInfo) Descriptor() ([]byte, []int) {
|
func (*VoteInfo) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{36}
|
return fileDescriptor_types_e441973ce6650a0d, []int{36}
|
||||||
}
|
}
|
||||||
func (m *VoteInfo) XXX_Unmarshal(b []byte) error {
|
func (m *VoteInfo) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -3145,7 +3154,7 @@ func (m *PubKey) Reset() { *m = PubKey{} }
|
|||||||
func (m *PubKey) String() string { return proto.CompactTextString(m) }
|
func (m *PubKey) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PubKey) ProtoMessage() {}
|
func (*PubKey) ProtoMessage() {}
|
||||||
func (*PubKey) Descriptor() ([]byte, []int) {
|
func (*PubKey) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{37}
|
return fileDescriptor_types_e441973ce6650a0d, []int{37}
|
||||||
}
|
}
|
||||||
func (m *PubKey) XXX_Unmarshal(b []byte) error {
|
func (m *PubKey) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -3203,7 +3212,7 @@ func (m *Evidence) Reset() { *m = Evidence{} }
|
|||||||
func (m *Evidence) String() string { return proto.CompactTextString(m) }
|
func (m *Evidence) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Evidence) ProtoMessage() {}
|
func (*Evidence) ProtoMessage() {}
|
||||||
func (*Evidence) Descriptor() ([]byte, []int) {
|
func (*Evidence) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_types_dfa4953f824ab2aa, []int{38}
|
return fileDescriptor_types_e441973ce6650a0d, []int{38}
|
||||||
}
|
}
|
||||||
func (m *Evidence) XXX_Unmarshal(b []byte) error {
|
func (m *Evidence) XXX_Unmarshal(b []byte) error {
|
||||||
return m.Unmarshal(b)
|
return m.Unmarshal(b)
|
||||||
@ -3320,8 +3329,8 @@ func init() {
|
|||||||
golang_proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
|
golang_proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
|
||||||
proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
|
proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
|
||||||
golang_proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
|
golang_proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
|
||||||
proto.RegisterType((*BlockSizeParams)(nil), "types.BlockSizeParams")
|
proto.RegisterType((*BlockParams)(nil), "types.BlockParams")
|
||||||
golang_proto.RegisterType((*BlockSizeParams)(nil), "types.BlockSizeParams")
|
golang_proto.RegisterType((*BlockParams)(nil), "types.BlockParams")
|
||||||
proto.RegisterType((*EvidenceParams)(nil), "types.EvidenceParams")
|
proto.RegisterType((*EvidenceParams)(nil), "types.EvidenceParams")
|
||||||
golang_proto.RegisterType((*EvidenceParams)(nil), "types.EvidenceParams")
|
golang_proto.RegisterType((*EvidenceParams)(nil), "types.EvidenceParams")
|
||||||
proto.RegisterType((*ValidatorParams)(nil), "types.ValidatorParams")
|
proto.RegisterType((*ValidatorParams)(nil), "types.ValidatorParams")
|
||||||
@ -4768,7 +4777,7 @@ func (this *ConsensusParams) Equal(that interface{}) bool {
|
|||||||
} else if this == nil {
|
} else if this == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if !this.BlockSize.Equal(that1.BlockSize) {
|
if !this.Block.Equal(that1.Block) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if !this.Evidence.Equal(that1.Evidence) {
|
if !this.Evidence.Equal(that1.Evidence) {
|
||||||
@ -4782,14 +4791,14 @@ func (this *ConsensusParams) Equal(that interface{}) bool {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
func (this *BlockSizeParams) Equal(that interface{}) bool {
|
func (this *BlockParams) Equal(that interface{}) bool {
|
||||||
if that == nil {
|
if that == nil {
|
||||||
return this == nil
|
return this == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
that1, ok := that.(*BlockSizeParams)
|
that1, ok := that.(*BlockParams)
|
||||||
if !ok {
|
if !ok {
|
||||||
that2, ok := that.(BlockSizeParams)
|
that2, ok := that.(BlockParams)
|
||||||
if ok {
|
if ok {
|
||||||
that1 = &that2
|
that1 = &that2
|
||||||
} else {
|
} else {
|
||||||
@ -4807,6 +4816,9 @@ func (this *BlockSizeParams) Equal(that interface{}) bool {
|
|||||||
if this.MaxGas != that1.MaxGas {
|
if this.MaxGas != that1.MaxGas {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if this.TimeIotaMs != that1.TimeIotaMs {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -6950,11 +6962,11 @@ func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if m.BlockSize != nil {
|
if m.Block != nil {
|
||||||
dAtA[i] = 0xa
|
dAtA[i] = 0xa
|
||||||
i++
|
i++
|
||||||
i = encodeVarintTypes(dAtA, i, uint64(m.BlockSize.Size()))
|
i = encodeVarintTypes(dAtA, i, uint64(m.Block.Size()))
|
||||||
n33, err := m.BlockSize.MarshalTo(dAtA[i:])
|
n33, err := m.Block.MarshalTo(dAtA[i:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -6986,7 +6998,7 @@ func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *BlockSizeParams) Marshal() (dAtA []byte, err error) {
|
func (m *BlockParams) Marshal() (dAtA []byte, err error) {
|
||||||
size := m.Size()
|
size := m.Size()
|
||||||
dAtA = make([]byte, size)
|
dAtA = make([]byte, size)
|
||||||
n, err := m.MarshalTo(dAtA)
|
n, err := m.MarshalTo(dAtA)
|
||||||
@ -6996,7 +7008,7 @@ func (m *BlockSizeParams) Marshal() (dAtA []byte, err error) {
|
|||||||
return dAtA[:n], nil
|
return dAtA[:n], nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *BlockSizeParams) MarshalTo(dAtA []byte) (int, error) {
|
func (m *BlockParams) MarshalTo(dAtA []byte) (int, error) {
|
||||||
var i int
|
var i int
|
||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
@ -7011,6 +7023,11 @@ func (m *BlockSizeParams) MarshalTo(dAtA []byte) (int, error) {
|
|||||||
i++
|
i++
|
||||||
i = encodeVarintTypes(dAtA, i, uint64(m.MaxGas))
|
i = encodeVarintTypes(dAtA, i, uint64(m.MaxGas))
|
||||||
}
|
}
|
||||||
|
if m.TimeIotaMs != 0 {
|
||||||
|
dAtA[i] = 0x18
|
||||||
|
i++
|
||||||
|
i = encodeVarintTypes(dAtA, i, uint64(m.TimeIotaMs))
|
||||||
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
i += copy(dAtA[i:], m.XXX_unrecognized)
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
||||||
}
|
}
|
||||||
@ -8109,7 +8126,7 @@ func NewPopulatedResponseCommit(r randyTypes, easy bool) *ResponseCommit {
|
|||||||
func NewPopulatedConsensusParams(r randyTypes, easy bool) *ConsensusParams {
|
func NewPopulatedConsensusParams(r randyTypes, easy bool) *ConsensusParams {
|
||||||
this := &ConsensusParams{}
|
this := &ConsensusParams{}
|
||||||
if r.Intn(10) != 0 {
|
if r.Intn(10) != 0 {
|
||||||
this.BlockSize = NewPopulatedBlockSizeParams(r, easy)
|
this.Block = NewPopulatedBlockParams(r, easy)
|
||||||
}
|
}
|
||||||
if r.Intn(10) != 0 {
|
if r.Intn(10) != 0 {
|
||||||
this.Evidence = NewPopulatedEvidenceParams(r, easy)
|
this.Evidence = NewPopulatedEvidenceParams(r, easy)
|
||||||
@ -8123,8 +8140,8 @@ func NewPopulatedConsensusParams(r randyTypes, easy bool) *ConsensusParams {
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewPopulatedBlockSizeParams(r randyTypes, easy bool) *BlockSizeParams {
|
func NewPopulatedBlockParams(r randyTypes, easy bool) *BlockParams {
|
||||||
this := &BlockSizeParams{}
|
this := &BlockParams{}
|
||||||
this.MaxBytes = int64(r.Int63())
|
this.MaxBytes = int64(r.Int63())
|
||||||
if r.Intn(2) == 0 {
|
if r.Intn(2) == 0 {
|
||||||
this.MaxBytes *= -1
|
this.MaxBytes *= -1
|
||||||
@ -8133,8 +8150,12 @@ func NewPopulatedBlockSizeParams(r randyTypes, easy bool) *BlockSizeParams {
|
|||||||
if r.Intn(2) == 0 {
|
if r.Intn(2) == 0 {
|
||||||
this.MaxGas *= -1
|
this.MaxGas *= -1
|
||||||
}
|
}
|
||||||
|
this.TimeIotaMs = int64(r.Int63())
|
||||||
|
if r.Intn(2) == 0 {
|
||||||
|
this.TimeIotaMs *= -1
|
||||||
|
}
|
||||||
if !easy && r.Intn(10) != 0 {
|
if !easy && r.Intn(10) != 0 {
|
||||||
this.XXX_unrecognized = randUnrecognizedTypes(r, 3)
|
this.XXX_unrecognized = randUnrecognizedTypes(r, 4)
|
||||||
}
|
}
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
@ -9284,8 +9305,8 @@ func (m *ConsensusParams) Size() (n int) {
|
|||||||
}
|
}
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if m.BlockSize != nil {
|
if m.Block != nil {
|
||||||
l = m.BlockSize.Size()
|
l = m.Block.Size()
|
||||||
n += 1 + l + sovTypes(uint64(l))
|
n += 1 + l + sovTypes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.Evidence != nil {
|
if m.Evidence != nil {
|
||||||
@ -9302,7 +9323,7 @@ func (m *ConsensusParams) Size() (n int) {
|
|||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *BlockSizeParams) Size() (n int) {
|
func (m *BlockParams) Size() (n int) {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@ -9314,6 +9335,9 @@ func (m *BlockSizeParams) Size() (n int) {
|
|||||||
if m.MaxGas != 0 {
|
if m.MaxGas != 0 {
|
||||||
n += 1 + sovTypes(uint64(m.MaxGas))
|
n += 1 + sovTypes(uint64(m.MaxGas))
|
||||||
}
|
}
|
||||||
|
if m.TimeIotaMs != 0 {
|
||||||
|
n += 1 + sovTypes(uint64(m.TimeIotaMs))
|
||||||
|
}
|
||||||
if m.XXX_unrecognized != nil {
|
if m.XXX_unrecognized != nil {
|
||||||
n += len(m.XXX_unrecognized)
|
n += len(m.XXX_unrecognized)
|
||||||
}
|
}
|
||||||
@ -13394,7 +13418,7 @@ func (m *ConsensusParams) Unmarshal(dAtA []byte) error {
|
|||||||
switch fieldNum {
|
switch fieldNum {
|
||||||
case 1:
|
case 1:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field BlockSize", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -13418,10 +13442,10 @@ func (m *ConsensusParams) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.BlockSize == nil {
|
if m.Block == nil {
|
||||||
m.BlockSize = &BlockSizeParams{}
|
m.Block = &BlockParams{}
|
||||||
}
|
}
|
||||||
if err := m.BlockSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -13513,7 +13537,7 @@ func (m *ConsensusParams) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (m *BlockSizeParams) Unmarshal(dAtA []byte) error {
|
func (m *BlockParams) Unmarshal(dAtA []byte) error {
|
||||||
l := len(dAtA)
|
l := len(dAtA)
|
||||||
iNdEx := 0
|
iNdEx := 0
|
||||||
for iNdEx < l {
|
for iNdEx < l {
|
||||||
@ -13536,10 +13560,10 @@ func (m *BlockSizeParams) Unmarshal(dAtA []byte) error {
|
|||||||
fieldNum := int32(wire >> 3)
|
fieldNum := int32(wire >> 3)
|
||||||
wireType := int(wire & 0x7)
|
wireType := int(wire & 0x7)
|
||||||
if wireType == 4 {
|
if wireType == 4 {
|
||||||
return fmt.Errorf("proto: BlockSizeParams: wiretype end group for non-group")
|
return fmt.Errorf("proto: BlockParams: wiretype end group for non-group")
|
||||||
}
|
}
|
||||||
if fieldNum <= 0 {
|
if fieldNum <= 0 {
|
||||||
return fmt.Errorf("proto: BlockSizeParams: illegal tag %d (wire type %d)", fieldNum, wire)
|
return fmt.Errorf("proto: BlockParams: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
}
|
}
|
||||||
switch fieldNum {
|
switch fieldNum {
|
||||||
case 1:
|
case 1:
|
||||||
@ -13580,6 +13604,25 @@ func (m *BlockSizeParams) Unmarshal(dAtA []byte) error {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
case 3:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeIotaMs", wireType)
|
||||||
|
}
|
||||||
|
m.TimeIotaMs = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowTypes
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.TimeIotaMs |= (int64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
skippy, err := skipTypes(dAtA[iNdEx:])
|
skippy, err := skipTypes(dAtA[iNdEx:])
|
||||||
@ -15357,150 +15400,150 @@ var (
|
|||||||
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
|
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_dfa4953f824ab2aa) }
|
func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_e441973ce6650a0d) }
|
||||||
func init() {
|
func init() {
|
||||||
golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_dfa4953f824ab2aa)
|
golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_e441973ce6650a0d)
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_types_dfa4953f824ab2aa = []byte{
|
var fileDescriptor_types_e441973ce6650a0d = []byte{
|
||||||
// 2214 bytes of a gzipped FileDescriptorProto
|
// 2223 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcb, 0x73, 0x1b, 0xc7,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x73, 0x1c, 0x47,
|
||||||
0xd1, 0xe7, 0x82, 0x20, 0x81, 0x6d, 0x10, 0x0f, 0x8d, 0x28, 0x09, 0xc2, 0xe7, 0x8f, 0x54, 0xad,
|
0x15, 0xd7, 0xec, 0xf7, 0xbc, 0xd5, 0x7e, 0xa4, 0x2d, 0xdb, 0xeb, 0x25, 0x48, 0xae, 0x31, 0x24,
|
||||||
0x12, 0x5b, 0x8c, 0x65, 0xd0, 0xa6, 0xa3, 0x14, 0x65, 0x39, 0xa9, 0x22, 0x24, 0xc5, 0x64, 0xd9,
|
0x12, 0x51, 0x56, 0x89, 0x82, 0x29, 0x39, 0x0e, 0x54, 0x69, 0x6d, 0x83, 0x54, 0x49, 0x40, 0x8c,
|
||||||
0x49, 0x98, 0x95, 0xc4, 0x5c, 0x52, 0xb5, 0x35, 0xc0, 0x8e, 0x80, 0x2d, 0x02, 0xbb, 0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4, 0x7e, 0x09, 0x9a, 0x14, 0x8f, 0xbf,
|
0x03, 0x26, 0xf9, 0x85, 0x33, 0x68, 0xf2, 0xa0, 0x00, 0x4d, 0xf2, 0xc7, 0x5f, 0x01, 0x27, 0x0f,
|
||||||
0x04, 0x4e, 0xee, 0x97, 0xc0, 0x49, 0xf7, 0xd2, 0x5e, 0xa5, 0x78, 0x72, 0x37, 0x8f, 0x27, 0xc5,
|
0x0a, 0xe0, 0xa4, 0x77, 0x6d, 0xaf, 0x42, 0x3c, 0xd9, 0xcd, 0xe2, 0x49, 0xfe, 0x3a, 0x39, 0x40,
|
||||||
0xeb, 0x14, 0x00, 0xe5, 0xc3, 0x32, 0x40, 0xb9, 0x59, 0xd0, 0x59, 0x8a, 0x28, 0xef, 0x5f, 0x42,
|
0xf9, 0xa0, 0x08, 0x50, 0xee, 0xe4, 0x74, 0x56, 0x22, 0xca, 0x7b, 0xd7, 0x10, 0xe5, 0x56, 0x4e,
|
||||||
0x94, 0xeb, 0x05, 0xd5, 0x12, 0x48, 0xb9, 0x9f, 0xcb, 0xf5, 0x50, 0x7a, 0xb7, 0xf2, 0x64, 0x4f,
|
0xb5, 0x00, 0x52, 0x1e, 0x64, 0x72, 0x3d, 0x14, 0xde, 0xad, 0x38, 0xd9, 0x93, 0xef, 0x5d, 0x47,
|
||||||
0xbe, 0x77, 0x19, 0x8d, 0x6e, 0x14, 0x3f, 0x6d, 0x19, 0x1c, 0xed, 0x16, 0xe0, 0xe8, 0x5a, 0xf1,
|
0xa3, 0xdb, 0xf9, 0x4f, 0x5b, 0x04, 0x47, 0x7b, 0x39, 0x38, 0xba, 0x99, 0x3f, 0x65, 0x0e, 0x8f,
|
||||||
0x94, 0x05, 0x3c, 0x4a, 0x51, 0x65, 0x47, 0xc4, 0x7d, 0xc1, 0xd3, 0x44, 0x8e, 0x60, 0x51, 0x14,
|
0x12, 0x54, 0xd9, 0x11, 0x71, 0x9f, 0xf3, 0x34, 0x91, 0x23, 0x58, 0x10, 0x78, 0x81, 0x4a, 0xd8,
|
||||||
0x44, 0x2a, 0x61, 0xcb, 0x89, 0x75, 0x47, 0x64, 0xa2, 0xd4, 0xbf, 0x5e, 0x81, 0x40, 0xe8, 0xf4,
|
0x72, 0x62, 0x6c, 0x8b, 0x4c, 0x94, 0xf8, 0xd7, 0x4b, 0x10, 0x08, 0x9d, 0x3e, 0xe5, 0x5d, 0xc6,
|
||||||
0x19, 0xef, 0xb2, 0xbe, 0x34, 0x52, 0x5d, 0x8c, 0xe8, 0x6c, 0x16, 0x33, 0x55, 0x16, 0xcb, 0x00,
|
0x17, 0x5a, 0xa2, 0x8b, 0x11, 0x9d, 0xce, 0x62, 0xba, 0xca, 0x62, 0x29, 0x60, 0x2a, 0x65, 0x81,
|
||||||
0x53, 0x25, 0x0f, 0x4c, 0xdb, 0xd0, 0x10, 0xb9, 0xb2, 0x80, 0x39, 0x34, 0xd4, 0x98, 0x43, 0xbe,
|
0x69, 0x0b, 0x9a, 0x22, 0x57, 0xe6, 0x30, 0x87, 0xfa, 0x11, 0xe6, 0x90, 0xef, 0xc0, 0x6b, 0x98,
|
||||||
0x03, 0x57, 0x30, 0xcf, 0x48, 0xf8, 0x52, 0x81, 0x58, 0xc5, 0x40, 0x6c, 0x0b, 0x86, 0xb4, 0x98,
|
0x67, 0x24, 0x7c, 0xa9, 0x40, 0xac, 0x60, 0x20, 0x76, 0x04, 0x43, 0x5a, 0x4c, 0x26, 0xc0, 0xb7,
|
||||||
0x4c, 0x80, 0xef, 0xc0, 0xd5, 0x8c, 0xac, 0x58, 0x17, 0x73, 0x9c, 0x4c, 0xbe, 0x9d, 0x44, 0xfa,
|
0xe1, 0x46, 0x4a, 0x56, 0xac, 0x8b, 0x39, 0x4e, 0x26, 0xdf, 0x6e, 0x2c, 0x7d, 0xe8, 0xfb, 0x47,
|
||||||
0x20, 0x0c, 0x0f, 0x69, 0x3c, 0xb1, 0x7e, 0x94, 0x1a, 0x28, 0xc5, 0x33, 0x02, 0xd5, 0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a8, 0x23, 0x41,
|
0xee, 0x62, 0x6e, 0xf1, 0x65, 0xa8, 0x92, 0x43, 0xcd, 0x5d, 0xcc, 0x9f, 0x2d, 0xf1, 0xe3, 0x72,
|
||||||
0x30, 0xf7, 0xa1, 0x99, 0x81, 0x7a, 0xcf, 0x55, 0x25, 0x63, 0x2b, 0xeb, 0x8d, 0x47, 0x8f, 0xd4,
|
0x8f, 0xd3, 0x19, 0xb2, 0x64, 0x6a, 0x68, 0x20, 0x41, 0x30, 0x0f, 0xa0, 0x95, 0xc2, 0x7e, 0xc7,
|
||||||
0x2d, 0x1b, 0x09, 0xf4, 0x1f, 0xb9, 0xe4, 0x4e, 0xbe, 0x71, 0xc1, 0x0a, 0xa1, 0x8e, 0x8e, 0x9f,
|
0x56, 0x35, 0x64, 0x3b, 0xed, 0xa3, 0xc7, 0x8f, 0xd5, 0x2d, 0x9b, 0x71, 0x2d, 0x70, 0x6c, 0x93,
|
||||||
0xe9, 0x4d, 0x44, 0x7d, 0x20, 0x0e, 0x20, 0x42, 0x41, 0x8a, 0x98, 0x28, 0x52, 0x17, 0x04, 0x64,
|
0xed, 0x6c, 0x27, 0x83, 0x25, 0x43, 0x03, 0x23, 0x21, 0xd5, 0xac, 0x88, 0x82, 0x41, 0x1c, 0x40,
|
||||||
0xbe, 0x05, 0xed, 0x14, 0x64, 0xa5, 0x08, 0xc8, 0x55, 0x52, 0x32, 0x0a, 0xbe, 0x0b, 0x9b, 0x3e,
|
0xc4, 0x86, 0x14, 0xd1, 0x51, 0xa4, 0x21, 0x08, 0xc8, 0x7c, 0x13, 0x3a, 0x09, 0xea, 0x4a, 0x11,
|
||||||
0x5b, 0x70, 0xa7, 0x28, 0xdd, 0x40, 0x69, 0x22, 0x78, 0x27, 0x79, 0x8d, 0x6f, 0x43, 0x2b, 0x4d,
|
0x90, 0xab, 0x24, 0x64, 0x14, 0x7c, 0x07, 0x36, 0x5c, 0xb6, 0xe4, 0x56, 0x5e, 0xba, 0x89, 0xd2,
|
||||||
0x16, 0x28, 0xbb, 0x21, 0xdb, 0xc7, 0x84, 0x8a, 0x62, 0x37, 0xa1, 0x9e, 0x94, 0x38, 0x4d, 0x14,
|
0x44, 0xf0, 0x4e, 0xb3, 0x1a, 0xdf, 0x86, 0x76, 0x92, 0x3d, 0x50, 0x76, 0x5d, 0xf6, 0x93, 0x31,
|
||||||
0xa8, 0x51, 0x59, 0xd9, 0x24, 0x45, 0x53, 0xc4, 0xe2, 0xf9, 0x94, 0xab, 0x45, 0x5a, 0x28, 0x83,
|
0x15, 0xc5, 0xee, 0x40, 0x23, 0xae, 0x79, 0x5a, 0x28, 0x50, 0xa7, 0xb2, 0xd4, 0x89, 0xab, 0xa8,
|
||||||
0x45, 0x93, 0x2d, 0xe9, 0x28, 0x7b, 0x1b, 0x9a, 0x3a, 0xec, 0xa4, 0x5c, 0x1b, 0xe5, 0x36, 0x34,
|
0x80, 0x85, 0x8b, 0x19, 0x57, 0x8b, 0xb4, 0x51, 0x06, 0xab, 0x28, 0x53, 0xd2, 0x51, 0xf6, 0x1e,
|
||||||
0x11, 0x85, 0x76, 0xa0, 0x13, 0x46, 0x41, 0x18, 0xc4, 0x2c, 0x72, 0xa8, 0xeb, 0x46, 0x2c, 0x8e,
|
0xb4, 0xa2, 0xa0, 0x94, 0x72, 0x1d, 0x94, 0x5b, 0x8f, 0x88, 0x28, 0xb4, 0x03, 0x5d, 0x3f, 0xf0,
|
||||||
0xbb, 0x1d, 0xb9, 0x9e, 0xa6, 0x1f, 0x48, 0xb2, 0xf5, 0x1e, 0xd4, 0x74, 0xed, 0xb6, 0x09, 0x6b,
|
0x7c, 0x2f, 0x64, 0x81, 0x45, 0x6d, 0x3b, 0x60, 0x61, 0xd8, 0xeb, 0xca, 0xf5, 0x22, 0xfa, 0xa1,
|
||||||
0x68, 0x75, 0x74, 0xc1, 0xaa, 0x2d, 0x27, 0x02, 0x25, 0x0e, 0xc2, 0x50, 0xbd, 0x40, 0x88, 0xa1,
|
0x24, 0x1b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, 0xc5,
|
0x87, 0xd0, 0x48, 0x1e, 0x9d, 0x8a, 0x5f, 0xaa, 0xfb, 0xab, 0xde, 0x0c, 0x86, 0xaf, 0xff, 0xeb,
|
||||||
0x96, 0xf1, 0xd5, 0xc5, 0x96, 0xf1, 0xbb, 0x8b, 0x2d, 0xe3, 0x8f, 0x17, 0x5b, 0xc6, 0x6f, 0xfe,
|
0xcf, 0x9b, 0xda, 0x6f, 0xae, 0x36, 0xb5, 0x2f, 0xae, 0x36, 0xb5, 0x2f, 0xaf, 0x36, 0xb5, 0xdf,
|
||||||
0xbc, 0x65, 0x0c, 0xd7, 0xd1, 0xfd, 0xdf, 0xff, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x8d,
|
0x5f, 0x6d, 0x6a, 0x7f, 0xba, 0xda, 0xd4, 0x7e, 0xfb, 0x97, 0x4d, 0x6d, 0x54, 0x43, 0xf7, 0x7f,
|
||||||
0xcb, 0x04, 0x88, 0x19, 0x00, 0x00,
|
0xef, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x85, 0xdc, 0x74, 0x8d, 0x99, 0x19, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,9 @@ package types;
|
|||||||
// For more information on gogo.proto, see:
|
// For more information on gogo.proto, see:
|
||||||
// https://github.com/gogo/protobuf/blob/master/extensions.md
|
// https://github.com/gogo/protobuf/blob/master/extensions.md
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
|
||||||
import "github.com/tendermint/tendermint/libs/common/types.proto";
|
|
||||||
import "github.com/tendermint/tendermint/crypto/merkle/merkle.proto";
|
import "github.com/tendermint/tendermint/crypto/merkle/merkle.proto";
|
||||||
|
import "github.com/tendermint/tendermint/libs/common/types.proto";
|
||||||
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
// This file is copied from http://github.com/tendermint/abci
|
// This file is copied from http://github.com/tendermint/abci
|
||||||
// NOTE: When using custom types, mind the warnings.
|
// NOTE: When using custom types, mind the warnings.
|
||||||
@ -207,17 +207,19 @@ message ResponseCommit {
|
|||||||
// ConsensusParams contains all consensus-relevant parameters
|
// ConsensusParams contains all consensus-relevant parameters
|
||||||
// that can be adjusted by the abci app
|
// that can be adjusted by the abci app
|
||||||
message ConsensusParams {
|
message ConsensusParams {
|
||||||
BlockSizeParams block_size = 1;
|
BlockParams block = 1;
|
||||||
EvidenceParams evidence = 2;
|
EvidenceParams evidence = 2;
|
||||||
ValidatorParams validator = 3;
|
ValidatorParams validator = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlockSize contains limits on the block size.
|
// BlockParams contains limits on the block size and timestamp.
|
||||||
message BlockSizeParams {
|
message BlockParams {
|
||||||
// Note: must be greater than 0
|
// Note: must be greater than 0
|
||||||
int64 max_bytes = 1;
|
int64 max_bytes = 1;
|
||||||
// Note: must be greater or equal to -1
|
// Note: must be greater or equal to -1
|
||||||
int64 max_gas = 2;
|
int64 max_gas = 2;
|
||||||
|
// Note: must be greater than 0
|
||||||
|
int64 time_iota_ms = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// EvidenceParams contains limits on the evidence.
|
// EvidenceParams contains limits on the evidence.
|
||||||
|
@ -1479,15 +1479,15 @@ func TestConsensusParamsMarshalTo(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlockSizeParamsProto(t *testing.T) {
|
func TestBlockParamsProto(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, false)
|
p := NewPopulatedBlockParams(popr, false)
|
||||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
msg := &BlockSizeParams{}
|
msg := &BlockParams{}
|
||||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
@ -1510,10 +1510,10 @@ func TestBlockSizeParamsProto(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlockSizeParamsMarshalTo(t *testing.T) {
|
func TestBlockParamsMarshalTo(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, false)
|
p := NewPopulatedBlockParams(popr, false)
|
||||||
size := p.Size()
|
size := p.Size()
|
||||||
dAtA := make([]byte, size)
|
dAtA := make([]byte, size)
|
||||||
for i := range dAtA {
|
for i := range dAtA {
|
||||||
@ -1523,7 +1523,7 @@ func TestBlockSizeParamsMarshalTo(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
msg := &BlockSizeParams{}
|
msg := &BlockParams{}
|
||||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
@ -2675,16 +2675,16 @@ func TestConsensusParamsJSON(t *testing.T) {
|
|||||||
t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p)
|
t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func TestBlockSizeParamsJSON(t *testing.T) {
|
func TestBlockParamsJSON(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, true)
|
p := NewPopulatedBlockParams(popr, true)
|
||||||
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
||||||
jsondata, err := marshaler.MarshalToString(p)
|
jsondata, err := marshaler.MarshalToString(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
msg := &BlockSizeParams{}
|
msg := &BlockParams{}
|
||||||
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
@ -3637,12 +3637,12 @@ func TestConsensusParamsProtoCompactText(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlockSizeParamsProtoText(t *testing.T) {
|
func TestBlockParamsProtoText(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, true)
|
p := NewPopulatedBlockParams(popr, true)
|
||||||
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
||||||
msg := &BlockSizeParams{}
|
msg := &BlockParams{}
|
||||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
@ -3651,12 +3651,12 @@ func TestBlockSizeParamsProtoText(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlockSizeParamsProtoCompactText(t *testing.T) {
|
func TestBlockParamsProtoCompactText(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, true)
|
p := NewPopulatedBlockParams(popr, true)
|
||||||
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
||||||
msg := &BlockSizeParams{}
|
msg := &BlockParams{}
|
||||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||||
}
|
}
|
||||||
@ -4573,10 +4573,10 @@ func TestConsensusParamsSize(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBlockSizeParamsSize(t *testing.T) {
|
func TestBlockParamsSize(t *testing.T) {
|
||||||
seed := time.Now().UnixNano()
|
seed := time.Now().UnixNano()
|
||||||
popr := math_rand.New(math_rand.NewSource(seed))
|
popr := math_rand.New(math_rand.NewSource(seed))
|
||||||
p := NewPopulatedBlockSizeParams(popr, true)
|
p := NewPopulatedBlockParams(popr, true)
|
||||||
size2 := github_com_gogo_protobuf_proto.Size(p)
|
size2 := github_com_gogo_protobuf_proto.Size(p)
|
||||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -613,9 +613,6 @@ type ConsensusConfig struct {
|
|||||||
// Reactor sleep duration parameters
|
// Reactor sleep duration parameters
|
||||||
PeerGossipSleepDuration time.Duration `mapstructure:"peer_gossip_sleep_duration"`
|
PeerGossipSleepDuration time.Duration `mapstructure:"peer_gossip_sleep_duration"`
|
||||||
PeerQueryMaj23SleepDuration time.Duration `mapstructure:"peer_query_maj23_sleep_duration"`
|
PeerQueryMaj23SleepDuration time.Duration `mapstructure:"peer_query_maj23_sleep_duration"`
|
||||||
|
|
||||||
// Block time parameters. Corresponds to the minimum time increment between consecutive blocks.
|
|
||||||
BlockTimeIota time.Duration `mapstructure:"blocktime_iota"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefaultConsensusConfig returns a default configuration for the consensus service
|
// DefaultConsensusConfig returns a default configuration for the consensus service
|
||||||
@ -634,7 +631,6 @@ func DefaultConsensusConfig() *ConsensusConfig {
|
|||||||
CreateEmptyBlocksInterval: 0 * time.Second,
|
CreateEmptyBlocksInterval: 0 * time.Second,
|
||||||
PeerGossipSleepDuration: 100 * time.Millisecond,
|
PeerGossipSleepDuration: 100 * time.Millisecond,
|
||||||
PeerQueryMaj23SleepDuration: 2000 * time.Millisecond,
|
PeerQueryMaj23SleepDuration: 2000 * time.Millisecond,
|
||||||
BlockTimeIota: 1000 * time.Millisecond,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -651,16 +647,9 @@ func TestConsensusConfig() *ConsensusConfig {
|
|||||||
cfg.SkipTimeoutCommit = true
|
cfg.SkipTimeoutCommit = true
|
||||||
cfg.PeerGossipSleepDuration = 5 * time.Millisecond
|
cfg.PeerGossipSleepDuration = 5 * time.Millisecond
|
||||||
cfg.PeerQueryMaj23SleepDuration = 250 * time.Millisecond
|
cfg.PeerQueryMaj23SleepDuration = 250 * time.Millisecond
|
||||||
cfg.BlockTimeIota = 10 * time.Millisecond
|
|
||||||
return cfg
|
return cfg
|
||||||
}
|
}
|
||||||
|
|
||||||
// MinValidVoteTime returns the minimum acceptable block time.
|
|
||||||
// See the [BFT time spec](https://godoc.org/github.com/tendermint/tendermint/docs/spec/consensus/bft-time.md).
|
|
||||||
func (cfg *ConsensusConfig) MinValidVoteTime(lastBlockTime time.Time) time.Time {
|
|
||||||
return lastBlockTime.Add(cfg.BlockTimeIota)
|
|
||||||
}
|
|
||||||
|
|
||||||
// WaitForTxs returns true if the consensus should wait for transactions before entering the propose step
|
// WaitForTxs returns true if the consensus should wait for transactions before entering the propose step
|
||||||
func (cfg *ConsensusConfig) WaitForTxs() bool {
|
func (cfg *ConsensusConfig) WaitForTxs() bool {
|
||||||
return !cfg.CreateEmptyBlocks || cfg.CreateEmptyBlocksInterval > 0
|
return !cfg.CreateEmptyBlocks || cfg.CreateEmptyBlocksInterval > 0
|
||||||
@ -738,9 +727,6 @@ func (cfg *ConsensusConfig) ValidateBasic() error {
|
|||||||
if cfg.PeerQueryMaj23SleepDuration < 0 {
|
if cfg.PeerQueryMaj23SleepDuration < 0 {
|
||||||
return errors.New("peer_query_maj23_sleep_duration can't be negative")
|
return errors.New("peer_query_maj23_sleep_duration can't be negative")
|
||||||
}
|
}
|
||||||
if cfg.BlockTimeIota < 0 {
|
|
||||||
return errors.New("blocktime_iota can't be negative")
|
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -272,9 +272,6 @@ create_empty_blocks_interval = "{{ .Consensus.CreateEmptyBlocksInterval }}"
|
|||||||
peer_gossip_sleep_duration = "{{ .Consensus.PeerGossipSleepDuration }}"
|
peer_gossip_sleep_duration = "{{ .Consensus.PeerGossipSleepDuration }}"
|
||||||
peer_query_maj23_sleep_duration = "{{ .Consensus.PeerQueryMaj23SleepDuration }}"
|
peer_query_maj23_sleep_duration = "{{ .Consensus.PeerQueryMaj23SleepDuration }}"
|
||||||
|
|
||||||
# Block time parameters. Corresponds to the minimum time increment between consecutive blocks.
|
|
||||||
blocktime_iota = "{{ .Consensus.BlockTimeIota }}"
|
|
||||||
|
|
||||||
##### transactions indexer configuration options #####
|
##### transactions indexer configuration options #####
|
||||||
[tx_index]
|
[tx_index]
|
||||||
|
|
||||||
|
@ -1459,7 +1459,7 @@ func (cs *ConsensusState) addProposalBlockPart(msg *BlockPartMessage, peerID p2p
|
|||||||
_, err = cdc.UnmarshalBinaryLengthPrefixedReader(
|
_, err = cdc.UnmarshalBinaryLengthPrefixedReader(
|
||||||
cs.ProposalBlockParts.GetReader(),
|
cs.ProposalBlockParts.GetReader(),
|
||||||
&cs.ProposalBlock,
|
&cs.ProposalBlock,
|
||||||
int64(cs.state.ConsensusParams.BlockSize.MaxBytes),
|
int64(cs.state.ConsensusParams.Block.MaxBytes),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return added, err
|
return added, err
|
||||||
@ -1701,10 +1701,12 @@ func (cs *ConsensusState) voteTime() time.Time {
|
|||||||
minVoteTime := now
|
minVoteTime := now
|
||||||
// TODO: We should remove next line in case we don't vote for v in case cs.ProposalBlock == nil,
|
// TODO: We should remove next line in case we don't vote for v in case cs.ProposalBlock == nil,
|
||||||
// even if cs.LockedBlock != nil. See https://github.com/tendermint/spec.
|
// even if cs.LockedBlock != nil. See https://github.com/tendermint/spec.
|
||||||
|
timeIotaMs := time.Duration(cs.state.ConsensusParams.Block.TimeIotaMs) * time.Millisecond
|
||||||
if cs.LockedBlock != nil {
|
if cs.LockedBlock != nil {
|
||||||
minVoteTime = cs.config.MinValidVoteTime(cs.LockedBlock.Time)
|
// See the BFT time spec https://tendermint.com/docs/spec/consensus/bft-time.html
|
||||||
|
minVoteTime = cs.LockedBlock.Time.Add(timeIotaMs)
|
||||||
} else if cs.ProposalBlock != nil {
|
} else if cs.ProposalBlock != nil {
|
||||||
minVoteTime = cs.config.MinValidVoteTime(cs.ProposalBlock.Time)
|
minVoteTime = cs.ProposalBlock.Time.Add(timeIotaMs)
|
||||||
}
|
}
|
||||||
|
|
||||||
if now.After(minVoteTime) {
|
if now.After(minVoteTime) {
|
||||||
|
@ -443,12 +443,12 @@ Commit are included in the header of the next block.
|
|||||||
### ConsensusParams
|
### ConsensusParams
|
||||||
|
|
||||||
- **Fields**:
|
- **Fields**:
|
||||||
- `BlockSize (BlockSizeParams)`: Parameters limiting the size of a block.
|
- `Block (BlockParams)`: Parameters limiting the size of a block and time between consecutive blocks.
|
||||||
- `Evidence (EvidenceParams)`: Parameters limiting the validity of
|
- `Evidence (EvidenceParams)`: Parameters limiting the validity of
|
||||||
evidence of byzantine behaviour.
|
evidence of byzantine behaviour.
|
||||||
- `Validator (ValidatorParams)`: Parameters limitng the types of pubkeys validators can use.
|
- `Validator (ValidatorParams)`: Parameters limitng the types of pubkeys validators can use.
|
||||||
|
|
||||||
### BlockSizeParams
|
### BlockParams
|
||||||
|
|
||||||
- **Fields**:
|
- **Fields**:
|
||||||
- `MaxBytes (int64)`: Max size of a block, in bytes.
|
- `MaxBytes (int64)`: Max size of a block, in bytes.
|
||||||
@ -456,6 +456,8 @@ Commit are included in the header of the next block.
|
|||||||
- NOTE: blocks that violate this may be committed if there are Byzantine proposers.
|
- NOTE: blocks that violate this may be committed if there are Byzantine proposers.
|
||||||
It's the application's responsibility to handle this when processing a
|
It's the application's responsibility to handle this when processing a
|
||||||
block!
|
block!
|
||||||
|
- `TimeIotaMs (int64)`: Minimum time increment between consecutive blocks (in milliseconds).
|
||||||
|
|
||||||
|
|
||||||
### EvidenceParams
|
### EvidenceParams
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ the difference credited back. Tendermint adopts a similar abstraction,
|
|||||||
though uses it only optionally and weakly, allowing applications to define
|
though uses it only optionally and weakly, allowing applications to define
|
||||||
their own sense of the cost of execution.
|
their own sense of the cost of execution.
|
||||||
|
|
||||||
In Tendermint, the `ConsensusParams.BlockSize.MaxGas` limits the amount of `gas` that can be used in a block.
|
In Tendermint, the `ConsensusParams.Block.MaxGas` limits the amount of `gas` that can be used in a block.
|
||||||
The default value is `-1`, meaning no limit, or that the concept of gas is
|
The default value is `-1`, meaning no limit, or that the concept of gas is
|
||||||
meaningless.
|
meaningless.
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ ConsensusParams enforce certain limits in the blockchain, like the maximum size
|
|||||||
of blocks, amount of gas used in a block, and the maximum acceptable age of
|
of blocks, amount of gas used in a block, and the maximum acceptable age of
|
||||||
evidence. They can be set in InitChain and updated in EndBlock.
|
evidence. They can be set in InitChain and updated in EndBlock.
|
||||||
|
|
||||||
### BlockSize.MaxBytes
|
### Block.MaxBytes
|
||||||
|
|
||||||
The maximum size of a complete Amino encoded block.
|
The maximum size of a complete Amino encoded block.
|
||||||
This is enforced by Tendermint consensus.
|
This is enforced by Tendermint consensus.
|
||||||
@ -235,7 +235,7 @@ the header, the validator set, and any included evidence in the block.
|
|||||||
|
|
||||||
Must have `0 < MaxBytes < 100 MB`.
|
Must have `0 < MaxBytes < 100 MB`.
|
||||||
|
|
||||||
### BlockSize.MaxGas
|
### Block.MaxGas
|
||||||
|
|
||||||
The maximum of the sum of `GasWanted` in a proposed block.
|
The maximum of the sum of `GasWanted` in a proposed block.
|
||||||
This is *not* enforced by Tendermint consensus.
|
This is *not* enforced by Tendermint consensus.
|
||||||
@ -246,6 +246,13 @@ txs included in a proposed block.
|
|||||||
Must have `MaxGas >= -1`.
|
Must have `MaxGas >= -1`.
|
||||||
If `MaxGas == -1`, no limit is enforced.
|
If `MaxGas == -1`, no limit is enforced.
|
||||||
|
|
||||||
|
### Block.TimeIotaMs
|
||||||
|
|
||||||
|
The minimum time between consecutive blocks (in milliseconds).
|
||||||
|
This is enforced by Tendermint consensus.
|
||||||
|
|
||||||
|
Must have `TimeIotaMs > 0` to ensure time monotonicity.
|
||||||
|
|
||||||
### EvidenceParams.MaxAge
|
### EvidenceParams.MaxAge
|
||||||
|
|
||||||
This is the maximum age of evidence.
|
This is the maximum age of evidence.
|
||||||
@ -260,8 +267,8 @@ Must have `0 < MaxAge`.
|
|||||||
The application may set the ConsensusParams during InitChain, and update them during
|
The application may set the ConsensusParams during InitChain, and update them during
|
||||||
EndBlock. If the ConsensusParams is empty, it will be ignored. Each field
|
EndBlock. If the ConsensusParams is empty, it will be ignored. Each field
|
||||||
that is not empty will be applied in full. For instance, if updating the
|
that is not empty will be applied in full. For instance, if updating the
|
||||||
BlockSize.MaxBytes, applications must also set the other BlockSize fields (like
|
Block.MaxBytes, applications must also set the other Block fields (like
|
||||||
BlockSize.MaxGas), even if they are unchanged, as they will otherwise cause the
|
Block.MaxGas), even if they are unchanged, as they will otherwise cause the
|
||||||
value to be updated to 0.
|
value to be updated to 0.
|
||||||
|
|
||||||
#### InitChain
|
#### InitChain
|
||||||
|
@ -83,7 +83,7 @@ evolve without breaking the header.
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
type ConsensusParams struct {
|
type ConsensusParams struct {
|
||||||
BlockSize
|
Block
|
||||||
Evidence
|
Evidence
|
||||||
Validator
|
Validator
|
||||||
}
|
}
|
||||||
@ -95,38 +95,38 @@ type hashedParams struct {
|
|||||||
|
|
||||||
func (params ConsensusParams) Hash() []byte {
|
func (params ConsensusParams) Hash() []byte {
|
||||||
SHA256(hashedParams{
|
SHA256(hashedParams{
|
||||||
BlockMaxBytes: params.BlockSize.MaxBytes,
|
BlockMaxBytes: params.Block.MaxBytes,
|
||||||
BlockMaxGas: params.BlockSize.MaxGas,
|
BlockMaxGas: params.Block.MaxGas,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
type BlockSize struct {
|
type BlockParams struct {
|
||||||
MaxBytes int64
|
MaxBytes int64
|
||||||
MaxGas int64
|
MaxGas int64
|
||||||
|
TimeIotaMs int64
|
||||||
}
|
}
|
||||||
|
|
||||||
type Evidence struct {
|
type EvidenceParams struct {
|
||||||
MaxAge int64
|
MaxAge int64
|
||||||
}
|
}
|
||||||
|
|
||||||
type Validator struct {
|
|
||||||
PubKeyTypes []string
|
|
||||||
}
|
|
||||||
|
|
||||||
type ValidatorParams struct {
|
type ValidatorParams struct {
|
||||||
PubKeyTypes []string
|
PubKeyTypes []string
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### BlockSize
|
#### Block
|
||||||
|
|
||||||
The total size of a block is limited in bytes by the `ConsensusParams.BlockSize.MaxBytes`.
|
The total size of a block is limited in bytes by the `ConsensusParams.Block.MaxBytes`.
|
||||||
Proposed blocks must be less than this size, and will be considered invalid
|
Proposed blocks must be less than this size, and will be considered invalid
|
||||||
otherwise.
|
otherwise.
|
||||||
|
|
||||||
Blocks should additionally be limited by the amount of "gas" consumed by the
|
Blocks should additionally be limited by the amount of "gas" consumed by the
|
||||||
transactions in the block, though this is not yet implemented.
|
transactions in the block, though this is not yet implemented.
|
||||||
|
|
||||||
|
The minimal time between consecutive blocks is controlled by the
|
||||||
|
`ConsensusParams.Block.TimeIotaMs`.
|
||||||
|
|
||||||
#### Evidence
|
#### Evidence
|
||||||
|
|
||||||
For evidence in a block to be valid, it must satisfy:
|
For evidence in a block to be valid, it must satisfy:
|
||||||
|
@ -4,7 +4,7 @@ A block consists of a header, transactions, votes (the commit),
|
|||||||
and a list of evidence of malfeasance (ie. signing conflicting votes).
|
and a list of evidence of malfeasance (ie. signing conflicting votes).
|
||||||
|
|
||||||
We include no more than 1/10th of the maximum block size
|
We include no more than 1/10th of the maximum block size
|
||||||
(`ConsensusParams.BlockSize.MaxBytes`) of evidence with each block.
|
(`ConsensusParams.Block.MaxBytes`) of evidence with each block.
|
||||||
|
|
||||||
## Reaping transactions from the mempool
|
## Reaping transactions from the mempool
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ func TestCreateProposalBlock(t *testing.T) {
|
|||||||
var height int64 = 1
|
var height int64 = 1
|
||||||
state, stateDB := state(1, height)
|
state, stateDB := state(1, height)
|
||||||
maxBytes := 16384
|
maxBytes := 16384
|
||||||
state.ConsensusParams.BlockSize.MaxBytes = int64(maxBytes)
|
state.ConsensusParams.Block.MaxBytes = int64(maxBytes)
|
||||||
proposerAddr, _ := state.Validators.GetByIndex(0)
|
proposerAddr, _ := state.Validators.GetByIndex(0)
|
||||||
|
|
||||||
// Make Mempool
|
// Make Mempool
|
||||||
|
@ -82,8 +82,8 @@ func (blockExec *BlockExecutor) CreateProposalBlock(
|
|||||||
proposerAddr []byte,
|
proposerAddr []byte,
|
||||||
) (*types.Block, *types.PartSet) {
|
) (*types.Block, *types.PartSet) {
|
||||||
|
|
||||||
maxBytes := state.ConsensusParams.BlockSize.MaxBytes
|
maxBytes := state.ConsensusParams.Block.MaxBytes
|
||||||
maxGas := state.ConsensusParams.BlockSize.MaxGas
|
maxGas := state.ConsensusParams.Block.MaxGas
|
||||||
|
|
||||||
// Fetch a limited amount of valid evidence
|
// Fetch a limited amount of valid evidence
|
||||||
maxNumEvidence, _ := types.MaxEvidencePerBlock(maxBytes)
|
maxNumEvidence, _ := types.MaxEvidencePerBlock(maxBytes)
|
||||||
|
@ -908,7 +908,7 @@ func TestConsensusParamsChangesSaveLoad(t *testing.T) {
|
|||||||
params[0] = state.ConsensusParams
|
params[0] = state.ConsensusParams
|
||||||
for i := 1; i < N+1; i++ {
|
for i := 1; i < N+1; i++ {
|
||||||
params[i] = *types.DefaultConsensusParams()
|
params[i] = *types.DefaultConsensusParams()
|
||||||
params[i].BlockSize.MaxBytes += int64(i)
|
params[i].Block.MaxBytes += int64(i)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build the params history by running updateState
|
// Build the params history by running updateState
|
||||||
@ -956,11 +956,16 @@ func TestConsensusParamsChangesSaveLoad(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeParams(blockBytes, blockGas, evidenceAge int64) types.ConsensusParams {
|
func makeParams(
|
||||||
|
blockBytes, blockGas int64,
|
||||||
|
blockTimeIotaMs int64,
|
||||||
|
evidenceAge int64,
|
||||||
|
) types.ConsensusParams {
|
||||||
return types.ConsensusParams{
|
return types.ConsensusParams{
|
||||||
BlockSize: types.BlockSizeParams{
|
Block: types.BlockParams{
|
||||||
MaxBytes: blockBytes,
|
MaxBytes: blockBytes,
|
||||||
MaxGas: blockGas,
|
MaxGas: blockGas,
|
||||||
|
TimeIotaMs: blockTimeIotaMs,
|
||||||
},
|
},
|
||||||
Evidence: types.EvidenceParams{
|
Evidence: types.EvidenceParams{
|
||||||
MaxAge: evidenceAge,
|
MaxAge: evidenceAge,
|
||||||
@ -969,7 +974,7 @@ func makeParams(blockBytes, blockGas, evidenceAge int64) types.ConsensusParams {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestApplyUpdates(t *testing.T) {
|
func TestApplyUpdates(t *testing.T) {
|
||||||
initParams := makeParams(1, 2, 3)
|
initParams := makeParams(1, 2, 3, 4)
|
||||||
|
|
||||||
cases := [...]struct {
|
cases := [...]struct {
|
||||||
init types.ConsensusParams
|
init types.ConsensusParams
|
||||||
@ -980,19 +985,20 @@ func TestApplyUpdates(t *testing.T) {
|
|||||||
1: {initParams, abci.ConsensusParams{}, initParams},
|
1: {initParams, abci.ConsensusParams{}, initParams},
|
||||||
2: {initParams,
|
2: {initParams,
|
||||||
abci.ConsensusParams{
|
abci.ConsensusParams{
|
||||||
BlockSize: &abci.BlockSizeParams{
|
Block: &abci.BlockParams{
|
||||||
MaxBytes: 44,
|
MaxBytes: 44,
|
||||||
MaxGas: 55,
|
MaxGas: 55,
|
||||||
|
TimeIotaMs: 66,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
makeParams(44, 55, 3)},
|
makeParams(44, 55, 66, 4)},
|
||||||
3: {initParams,
|
3: {initParams,
|
||||||
abci.ConsensusParams{
|
abci.ConsensusParams{
|
||||||
Evidence: &abci.EvidenceParams{
|
Evidence: &abci.EvidenceParams{
|
||||||
MaxAge: 66,
|
MaxAge: 66,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
makeParams(1, 2, 66)},
|
makeParams(1, 2, 3, 66)},
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, tc := range cases {
|
for i, tc := range cases {
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
// The function limits the size of a transaction to the block's maximum data size.
|
// The function limits the size of a transaction to the block's maximum data size.
|
||||||
func TxPreCheck(state State) mempl.PreCheckFunc {
|
func TxPreCheck(state State) mempl.PreCheckFunc {
|
||||||
maxDataBytes := types.MaxDataBytesUnknownEvidence(
|
maxDataBytes := types.MaxDataBytesUnknownEvidence(
|
||||||
state.ConsensusParams.BlockSize.MaxBytes,
|
state.ConsensusParams.Block.MaxBytes,
|
||||||
state.Validators.Size(),
|
state.Validators.Size(),
|
||||||
)
|
)
|
||||||
return mempl.PreCheckAminoMaxBytes(maxDataBytes)
|
return mempl.PreCheckAminoMaxBytes(maxDataBytes)
|
||||||
@ -18,5 +18,5 @@ func TxPreCheck(state State) mempl.PreCheckFunc {
|
|||||||
// TxPostCheck returns a function to filter transactions after processing.
|
// TxPostCheck returns a function to filter transactions after processing.
|
||||||
// The function limits the gas wanted by a transaction to the block's maximum total gas.
|
// The function limits the gas wanted by a transaction to the block's maximum total gas.
|
||||||
func TxPostCheck(state State) mempl.PostCheckFunc {
|
func TxPostCheck(state State) mempl.PostCheckFunc {
|
||||||
return mempl.PostCheckMaxGas(state.ConsensusParams.BlockSize.MaxGas)
|
return mempl.PostCheckMaxGas(state.ConsensusParams.Block.MaxGas)
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
func TestTxFilter(t *testing.T) {
|
func TestTxFilter(t *testing.T) {
|
||||||
genDoc := randomGenesisDoc()
|
genDoc := randomGenesisDoc()
|
||||||
genDoc.ConsensusParams.BlockSize.MaxBytes = 3000
|
genDoc.ConsensusParams.Block.MaxBytes = 3000
|
||||||
|
|
||||||
// Max size of Txs is much smaller than size of block,
|
// Max size of Txs is much smaller than size of block,
|
||||||
// since we need to account for commits and evidence.
|
// since we need to account for commits and evidence.
|
||||||
|
@ -133,7 +133,7 @@ func validateBlock(evidencePool EvidencePool, stateDB dbm.DB, state State, block
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Limit the amount of evidence
|
// Limit the amount of evidence
|
||||||
maxNumEvidence, _ := types.MaxEvidencePerBlock(state.ConsensusParams.BlockSize.MaxBytes)
|
maxNumEvidence, _ := types.MaxEvidencePerBlock(state.ConsensusParams.Block.MaxBytes)
|
||||||
numEvidence := int64(len(block.Evidence.Evidence))
|
numEvidence := int64(len(block.Evidence.Evidence))
|
||||||
if numEvidence > maxNumEvidence {
|
if numEvidence > maxNumEvidence {
|
||||||
return types.NewErrEvidenceOverflow(maxNumEvidence, numEvidence)
|
return types.NewErrEvidenceOverflow(maxNumEvidence, numEvidence)
|
||||||
|
@ -108,7 +108,7 @@ func TestValidateBlockEvidence(t *testing.T) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// A block with too much evidence fails.
|
// A block with too much evidence fails.
|
||||||
maxBlockSize := state.ConsensusParams.BlockSize.MaxBytes
|
maxBlockSize := state.ConsensusParams.Block.MaxBytes
|
||||||
maxNumEvidence, _ := types.MaxEvidencePerBlock(maxBlockSize)
|
maxNumEvidence, _ := types.MaxEvidencePerBlock(maxBlockSize)
|
||||||
require.True(t, maxNumEvidence > 2)
|
require.True(t, maxNumEvidence > 2)
|
||||||
for i := int64(0); i < maxNumEvidence; i++ {
|
for i := int64(0); i < maxNumEvidence; i++ {
|
||||||
|
@ -41,9 +41,10 @@ const (
|
|||||||
"genesis_time": "2019-01-15T11:56:34.8963Z",
|
"genesis_time": "2019-01-15T11:56:34.8963Z",
|
||||||
"chain_id": "test-chain-0XwP5E",
|
"chain_id": "test-chain-0XwP5E",
|
||||||
"consensus_params": {
|
"consensus_params": {
|
||||||
"block_size": {
|
"block": {
|
||||||
"max_bytes": "22020096",
|
"max_bytes": "22020096",
|
||||||
"max_gas": "-1"
|
"max_gas": "-1",
|
||||||
|
"time_iota_ms": "1000"
|
||||||
},
|
},
|
||||||
"evidence": {
|
"evidence": {
|
||||||
"max_age": "100000"
|
"max_age": "100000"
|
||||||
|
@ -312,7 +312,7 @@ func MaxDataBytes(maxBytes int64, valsCount, evidenceCount int) int64 {
|
|||||||
|
|
||||||
if maxDataBytes < 0 {
|
if maxDataBytes < 0 {
|
||||||
panic(fmt.Sprintf(
|
panic(fmt.Sprintf(
|
||||||
"Negative MaxDataBytes. BlockSize.MaxBytes=%d is too small to accommodate header&lastCommit&evidence=%d",
|
"Negative MaxDataBytes. Block.MaxBytes=%d is too small to accommodate header&lastCommit&evidence=%d",
|
||||||
maxBytes,
|
maxBytes,
|
||||||
-(maxDataBytes - maxBytes),
|
-(maxDataBytes - maxBytes),
|
||||||
))
|
))
|
||||||
@ -337,7 +337,7 @@ func MaxDataBytesUnknownEvidence(maxBytes int64, valsCount int) int64 {
|
|||||||
|
|
||||||
if maxDataBytes < 0 {
|
if maxDataBytes < 0 {
|
||||||
panic(fmt.Sprintf(
|
panic(fmt.Sprintf(
|
||||||
"Negative MaxDataBytesUnknownEvidence. BlockSize.MaxBytes=%d is too small to accommodate header&lastCommit&evidence=%d",
|
"Negative MaxDataBytesUnknownEvidence. Block.MaxBytes=%d is too small to accommodate header&lastCommit&evidence=%d",
|
||||||
maxBytes,
|
maxBytes,
|
||||||
-(maxDataBytes - maxBytes),
|
-(maxDataBytes - maxBytes),
|
||||||
))
|
))
|
||||||
|
@ -65,7 +65,7 @@ func TestGenesisGood(t *testing.T) {
|
|||||||
assert.NoError(t, err, "expected no error for valid genDoc json")
|
assert.NoError(t, err, "expected no error for valid genDoc json")
|
||||||
|
|
||||||
// test with invalid consensus params
|
// test with invalid consensus params
|
||||||
genDoc.ConsensusParams.BlockSize.MaxBytes = 0
|
genDoc.ConsensusParams.Block.MaxBytes = 0
|
||||||
genDocBytes, err = cdc.MarshalJSON(genDoc)
|
genDocBytes, err = cdc.MarshalJSON(genDoc)
|
||||||
assert.NoError(t, err, "error marshalling genDoc")
|
assert.NoError(t, err, "error marshalling genDoc")
|
||||||
genDoc, err = GenesisDocFromJSON(genDocBytes)
|
genDoc, err = GenesisDocFromJSON(genDocBytes)
|
||||||
|
@ -17,7 +17,7 @@ const (
|
|||||||
// ConsensusParams contains consensus critical parameters that determine the
|
// ConsensusParams contains consensus critical parameters that determine the
|
||||||
// validity of blocks.
|
// validity of blocks.
|
||||||
type ConsensusParams struct {
|
type ConsensusParams struct {
|
||||||
BlockSize BlockSizeParams `json:"block_size"`
|
Block BlockParams `json:"block"`
|
||||||
Evidence EvidenceParams `json:"evidence"`
|
Evidence EvidenceParams `json:"evidence"`
|
||||||
Validator ValidatorParams `json:"validator"`
|
Validator ValidatorParams `json:"validator"`
|
||||||
}
|
}
|
||||||
@ -30,13 +30,16 @@ type HashedParams struct {
|
|||||||
BlockMaxGas int64
|
BlockMaxGas int64
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlockSizeParams define limits on the block size.
|
// BlockParams define limits on the block size and gas plus minimum time
|
||||||
type BlockSizeParams struct {
|
// between blocks.
|
||||||
|
type BlockParams struct {
|
||||||
MaxBytes int64 `json:"max_bytes"`
|
MaxBytes int64 `json:"max_bytes"`
|
||||||
MaxGas int64 `json:"max_gas"`
|
MaxGas int64 `json:"max_gas"`
|
||||||
|
// Minimum time increment between consecutive blocks (in milliseconds)
|
||||||
|
TimeIotaMs int64 `json:"time_iota_ms"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// EvidenceParams determine how we handle evidence of malfeasance
|
// EvidenceParams determine how we handle evidence of malfeasance.
|
||||||
type EvidenceParams struct {
|
type EvidenceParams struct {
|
||||||
MaxAge int64 `json:"max_age"` // only accept new evidence more recent than this
|
MaxAge int64 `json:"max_age"` // only accept new evidence more recent than this
|
||||||
}
|
}
|
||||||
@ -50,17 +53,18 @@ type ValidatorParams struct {
|
|||||||
// DefaultConsensusParams returns a default ConsensusParams.
|
// DefaultConsensusParams returns a default ConsensusParams.
|
||||||
func DefaultConsensusParams() *ConsensusParams {
|
func DefaultConsensusParams() *ConsensusParams {
|
||||||
return &ConsensusParams{
|
return &ConsensusParams{
|
||||||
DefaultBlockSizeParams(),
|
DefaultBlockParams(),
|
||||||
DefaultEvidenceParams(),
|
DefaultEvidenceParams(),
|
||||||
DefaultValidatorParams(),
|
DefaultValidatorParams(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefaultBlockSizeParams returns a default BlockSizeParams.
|
// DefaultBlockParams returns a default BlockParams.
|
||||||
func DefaultBlockSizeParams() BlockSizeParams {
|
func DefaultBlockParams() BlockParams {
|
||||||
return BlockSizeParams{
|
return BlockParams{
|
||||||
MaxBytes: 22020096, // 21MB
|
MaxBytes: 22020096, // 21MB
|
||||||
MaxGas: -1,
|
MaxGas: -1,
|
||||||
|
TimeIotaMs: 1000, // 1s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,18 +93,23 @@ func (params *ValidatorParams) IsValidPubkeyType(pubkeyType string) bool {
|
|||||||
// Validate validates the ConsensusParams to ensure all values are within their
|
// Validate validates the ConsensusParams to ensure all values are within their
|
||||||
// allowed limits, and returns an error if they are not.
|
// allowed limits, and returns an error if they are not.
|
||||||
func (params *ConsensusParams) Validate() error {
|
func (params *ConsensusParams) Validate() error {
|
||||||
if params.BlockSize.MaxBytes <= 0 {
|
if params.Block.MaxBytes <= 0 {
|
||||||
return cmn.NewError("BlockSize.MaxBytes must be greater than 0. Got %d",
|
return cmn.NewError("Block.MaxBytes must be greater than 0. Got %d",
|
||||||
params.BlockSize.MaxBytes)
|
params.Block.MaxBytes)
|
||||||
}
|
}
|
||||||
if params.BlockSize.MaxBytes > MaxBlockSizeBytes {
|
if params.Block.MaxBytes > MaxBlockSizeBytes {
|
||||||
return cmn.NewError("BlockSize.MaxBytes is too big. %d > %d",
|
return cmn.NewError("Block.MaxBytes is too big. %d > %d",
|
||||||
params.BlockSize.MaxBytes, MaxBlockSizeBytes)
|
params.Block.MaxBytes, MaxBlockSizeBytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
if params.BlockSize.MaxGas < -1 {
|
if params.Block.MaxGas < -1 {
|
||||||
return cmn.NewError("BlockSize.MaxGas must be greater or equal to -1. Got %d",
|
return cmn.NewError("Block.MaxGas must be greater or equal to -1. Got %d",
|
||||||
params.BlockSize.MaxGas)
|
params.Block.MaxGas)
|
||||||
|
}
|
||||||
|
|
||||||
|
if params.Block.TimeIotaMs <= 0 {
|
||||||
|
return cmn.NewError("Block.TimeIotaMs must be greater than 0. Got %v",
|
||||||
|
params.Block.TimeIotaMs)
|
||||||
}
|
}
|
||||||
|
|
||||||
if params.Evidence.MaxAge <= 0 {
|
if params.Evidence.MaxAge <= 0 {
|
||||||
@ -131,8 +140,8 @@ func (params *ConsensusParams) Validate() error {
|
|||||||
func (params *ConsensusParams) Hash() []byte {
|
func (params *ConsensusParams) Hash() []byte {
|
||||||
hasher := tmhash.New()
|
hasher := tmhash.New()
|
||||||
bz := cdcEncode(HashedParams{
|
bz := cdcEncode(HashedParams{
|
||||||
params.BlockSize.MaxBytes,
|
params.Block.MaxBytes,
|
||||||
params.BlockSize.MaxGas,
|
params.Block.MaxGas,
|
||||||
})
|
})
|
||||||
if bz == nil {
|
if bz == nil {
|
||||||
panic("cannot fail to encode ConsensusParams")
|
panic("cannot fail to encode ConsensusParams")
|
||||||
@ -142,7 +151,7 @@ func (params *ConsensusParams) Hash() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (params *ConsensusParams) Equals(params2 *ConsensusParams) bool {
|
func (params *ConsensusParams) Equals(params2 *ConsensusParams) bool {
|
||||||
return params.BlockSize == params2.BlockSize &&
|
return params.Block == params2.Block &&
|
||||||
params.Evidence == params2.Evidence &&
|
params.Evidence == params2.Evidence &&
|
||||||
cmn.StringSliceEqual(params.Validator.PubKeyTypes, params2.Validator.PubKeyTypes)
|
cmn.StringSliceEqual(params.Validator.PubKeyTypes, params2.Validator.PubKeyTypes)
|
||||||
}
|
}
|
||||||
@ -157,9 +166,10 @@ func (params ConsensusParams) Update(params2 *abci.ConsensusParams) ConsensusPar
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we must defensively consider any structs may be nil
|
// we must defensively consider any structs may be nil
|
||||||
if params2.BlockSize != nil {
|
if params2.Block != nil {
|
||||||
res.BlockSize.MaxBytes = params2.BlockSize.MaxBytes
|
res.Block.MaxBytes = params2.Block.MaxBytes
|
||||||
res.BlockSize.MaxGas = params2.BlockSize.MaxGas
|
res.Block.MaxGas = params2.Block.MaxGas
|
||||||
|
res.Block.TimeIotaMs = params2.Block.TimeIotaMs
|
||||||
}
|
}
|
||||||
if params2.Evidence != nil {
|
if params2.Evidence != nil {
|
||||||
res.Evidence.MaxAge = params2.Evidence.MaxAge
|
res.Evidence.MaxAge = params2.Evidence.MaxAge
|
||||||
|
@ -19,22 +19,23 @@ func TestConsensusParamsValidation(t *testing.T) {
|
|||||||
params ConsensusParams
|
params ConsensusParams
|
||||||
valid bool
|
valid bool
|
||||||
}{
|
}{
|
||||||
// test block size
|
// test block params
|
||||||
0: {makeParams(1, 0, 1, valEd25519), true},
|
0: {makeParams(1, 0, 10, 1, valEd25519), true},
|
||||||
1: {makeParams(0, 0, 1, valEd25519), false},
|
1: {makeParams(0, 0, 10, 1, valEd25519), false},
|
||||||
2: {makeParams(47*1024*1024, 0, 1, valEd25519), true},
|
2: {makeParams(47*1024*1024, 0, 10, 1, valEd25519), true},
|
||||||
3: {makeParams(10, 0, 1, valEd25519), true},
|
3: {makeParams(10, 0, 10, 1, valEd25519), true},
|
||||||
4: {makeParams(100*1024*1024, 0, 1, valEd25519), true},
|
4: {makeParams(100*1024*1024, 0, 10, 1, valEd25519), true},
|
||||||
5: {makeParams(101*1024*1024, 0, 1, valEd25519), false},
|
5: {makeParams(101*1024*1024, 0, 10, 1, valEd25519), false},
|
||||||
6: {makeParams(1024*1024*1024, 0, 1, valEd25519), false},
|
6: {makeParams(1024*1024*1024, 0, 10, 1, valEd25519), false},
|
||||||
7: {makeParams(1024*1024*1024, 0, -1, valEd25519), false},
|
7: {makeParams(1024*1024*1024, 0, 10, -1, valEd25519), false},
|
||||||
// test evidence age
|
8: {makeParams(1, 0, -10, 1, valEd25519), false},
|
||||||
8: {makeParams(1, 0, 0, valEd25519), false},
|
// test evidence params
|
||||||
9: {makeParams(1, 0, -1, valEd25519), false},
|
9: {makeParams(1, 0, 10, 0, valEd25519), false},
|
||||||
|
10: {makeParams(1, 0, 10, -1, valEd25519), false},
|
||||||
// test no pubkey type provided
|
// test no pubkey type provided
|
||||||
10: {makeParams(1, 0, 1, []string{}), false},
|
11: {makeParams(1, 0, 10, 1, []string{}), false},
|
||||||
// test invalid pubkey type provided
|
// test invalid pubkey type provided
|
||||||
11: {makeParams(1, 0, 1, []string{"potatoes make good pubkeys"}), false},
|
12: {makeParams(1, 0, 10, 1, []string{"potatoes make good pubkeys"}), false},
|
||||||
}
|
}
|
||||||
for i, tc := range testCases {
|
for i, tc := range testCases {
|
||||||
if tc.valid {
|
if tc.valid {
|
||||||
@ -45,11 +46,17 @@ func TestConsensusParamsValidation(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeParams(blockBytes, blockGas, evidenceAge int64, pubkeyTypes []string) ConsensusParams {
|
func makeParams(
|
||||||
|
blockBytes, blockGas int64,
|
||||||
|
blockTimeIotaMs int64,
|
||||||
|
evidenceAge int64,
|
||||||
|
pubkeyTypes []string,
|
||||||
|
) ConsensusParams {
|
||||||
return ConsensusParams{
|
return ConsensusParams{
|
||||||
BlockSize: BlockSizeParams{
|
Block: BlockParams{
|
||||||
MaxBytes: blockBytes,
|
MaxBytes: blockBytes,
|
||||||
MaxGas: blockGas,
|
MaxGas: blockGas,
|
||||||
|
TimeIotaMs: blockTimeIotaMs,
|
||||||
},
|
},
|
||||||
Evidence: EvidenceParams{
|
Evidence: EvidenceParams{
|
||||||
MaxAge: evidenceAge,
|
MaxAge: evidenceAge,
|
||||||
@ -62,14 +69,14 @@ func makeParams(blockBytes, blockGas, evidenceAge int64, pubkeyTypes []string) C
|
|||||||
|
|
||||||
func TestConsensusParamsHash(t *testing.T) {
|
func TestConsensusParamsHash(t *testing.T) {
|
||||||
params := []ConsensusParams{
|
params := []ConsensusParams{
|
||||||
makeParams(4, 2, 3, valEd25519),
|
makeParams(4, 2, 10, 3, valEd25519),
|
||||||
makeParams(1, 4, 3, valEd25519),
|
makeParams(1, 4, 10, 3, valEd25519),
|
||||||
makeParams(1, 2, 4, valEd25519),
|
makeParams(1, 2, 10, 4, valEd25519),
|
||||||
makeParams(2, 5, 7, valEd25519),
|
makeParams(2, 5, 10, 7, valEd25519),
|
||||||
makeParams(1, 7, 6, valEd25519),
|
makeParams(1, 7, 10, 6, valEd25519),
|
||||||
makeParams(9, 5, 4, valEd25519),
|
makeParams(9, 5, 10, 4, valEd25519),
|
||||||
makeParams(7, 8, 9, valEd25519),
|
makeParams(7, 8, 10, 9, valEd25519),
|
||||||
makeParams(4, 6, 5, valEd25519),
|
makeParams(4, 6, 10, 5, valEd25519),
|
||||||
}
|
}
|
||||||
|
|
||||||
hashes := make([][]byte, len(params))
|
hashes := make([][]byte, len(params))
|
||||||
@ -95,26 +102,27 @@ func TestConsensusParamsUpdate(t *testing.T) {
|
|||||||
}{
|
}{
|
||||||
// empty updates
|
// empty updates
|
||||||
{
|
{
|
||||||
makeParams(1, 2, 3, valEd25519),
|
makeParams(1, 2, 10, 3, valEd25519),
|
||||||
&abci.ConsensusParams{},
|
&abci.ConsensusParams{},
|
||||||
makeParams(1, 2, 3, valEd25519),
|
makeParams(1, 2, 10, 3, valEd25519),
|
||||||
},
|
},
|
||||||
// fine updates
|
// fine updates
|
||||||
{
|
{
|
||||||
makeParams(1, 2, 3, valEd25519),
|
makeParams(1, 2, 10, 3, valEd25519),
|
||||||
&abci.ConsensusParams{
|
&abci.ConsensusParams{
|
||||||
BlockSize: &abci.BlockSizeParams{
|
Block: &abci.BlockParams{
|
||||||
MaxBytes: 100,
|
MaxBytes: 100,
|
||||||
MaxGas: 200,
|
MaxGas: 200,
|
||||||
|
TimeIotaMs: 300,
|
||||||
},
|
},
|
||||||
Evidence: &abci.EvidenceParams{
|
Evidence: &abci.EvidenceParams{
|
||||||
MaxAge: 300,
|
MaxAge: 400,
|
||||||
},
|
},
|
||||||
Validator: &abci.ValidatorParams{
|
Validator: &abci.ValidatorParams{
|
||||||
PubKeyTypes: valSecp256k1,
|
PubKeyTypes: valSecp256k1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
makeParams(100, 200, 300, valSecp256k1),
|
makeParams(100, 200, 300, 400, valSecp256k1),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
|
@ -125,9 +125,10 @@ func (tm2pb) ValidatorUpdates(vals *ValidatorSet) []abci.ValidatorUpdate {
|
|||||||
|
|
||||||
func (tm2pb) ConsensusParams(params *ConsensusParams) *abci.ConsensusParams {
|
func (tm2pb) ConsensusParams(params *ConsensusParams) *abci.ConsensusParams {
|
||||||
return &abci.ConsensusParams{
|
return &abci.ConsensusParams{
|
||||||
BlockSize: &abci.BlockSizeParams{
|
Block: &abci.BlockParams{
|
||||||
MaxBytes: params.BlockSize.MaxBytes,
|
MaxBytes: params.Block.MaxBytes,
|
||||||
MaxGas: params.BlockSize.MaxGas,
|
MaxGas: params.Block.MaxGas,
|
||||||
|
TimeIotaMs: params.Block.TimeIotaMs,
|
||||||
},
|
},
|
||||||
Evidence: &abci.EvidenceParams{
|
Evidence: &abci.EvidenceParams{
|
||||||
MaxAge: params.Evidence.MaxAge,
|
MaxAge: params.Evidence.MaxAge,
|
||||||
@ -222,16 +223,28 @@ func (pb2tm) ValidatorUpdates(vals []abci.ValidatorUpdate) ([]*Validator, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (pb2tm) ConsensusParams(csp *abci.ConsensusParams) ConsensusParams {
|
func (pb2tm) ConsensusParams(csp *abci.ConsensusParams) ConsensusParams {
|
||||||
return ConsensusParams{
|
params := ConsensusParams{}
|
||||||
BlockSize: BlockSizeParams{
|
|
||||||
MaxBytes: csp.BlockSize.MaxBytes,
|
// we must defensively consider any structs may be nil
|
||||||
MaxGas: csp.BlockSize.MaxGas,
|
if csp.Block != nil {
|
||||||
},
|
params.Block = BlockParams{
|
||||||
Evidence: EvidenceParams{
|
MaxBytes: csp.Block.MaxBytes,
|
||||||
MaxAge: csp.Evidence.MaxAge,
|
MaxGas: csp.Block.MaxGas,
|
||||||
},
|
TimeIotaMs: csp.Block.TimeIotaMs,
|
||||||
Validator: ValidatorParams{
|
|
||||||
PubKeyTypes: csp.Validator.PubKeyTypes,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if csp.Evidence != nil {
|
||||||
|
params.Evidence = EvidenceParams{
|
||||||
|
MaxAge: csp.Evidence.MaxAge,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if csp.Validator != nil {
|
||||||
|
params.Validator = ValidatorParams{
|
||||||
|
PubKeyTypes: csp.Validator.PubKeyTypes,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return params
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user