Browse Source

deps: update gogo/protobuf from 1.1.1 to 1.2.1 and golang/protobuf from 1.1.0 to 1.3.0 (#3357)

* deps: update gogo/proto from 1.1.1 to 1.2.1

- verified changes manually
  git diff 636bf030~ ba06b47c --stat -- ':!*.pb.go' ':!test'

* deps: update golang/protobuf from 1.1.0 to 1.3.0

- verified changes manually
  git diff b4deda0~ c823c79 -- ':!*.pb.go' ':!test'
pull/3374/head
Anton Kaliaev 6 years ago
committed by GitHub
parent
commit
8a962ffc46
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 286 additions and 79 deletions
  1. +6
    -6
      Gopkg.lock
  2. +2
    -2
      Gopkg.toml
  3. +228
    -42
      abci/types/types.pb.go
  4. +10
    -4
      crypto/merkle/merkle.pb.go
  5. +13
    -8
      libs/common/types.pb.go
  6. +20
    -10
      rpc/grpc/types.pb.go
  7. +7
    -7
      types/proto3/block.pb.go

+ 6
- 6
Gopkg.lock View File

@ -91,7 +91,7 @@
version = "v1.8.0" version = "v1.8.0"
[[projects]] [[projects]]
digest = "1:35621fe20f140f05a0c4ef662c26c0ab4ee50bca78aa30fe87d33120bd28165e"
digest = "1:95e1006e41c641abd2f365dfa0f1213c04da294e7cd5f0bf983af234b775db64"
name = "github.com/gogo/protobuf" name = "github.com/gogo/protobuf"
packages = [ packages = [
"gogoproto", "gogoproto",
@ -102,11 +102,11 @@
"types", "types",
] ]
pruneopts = "UT" pruneopts = "UT"
revision = "636bf0302bc95575d69441b25a2603156ffdddf1"
version = "v1.1.1"
revision = "ba06b47c162d49f2af050fb4c75bcbc86a159d5c"
version = "v1.2.1"
[[projects]] [[projects]]
digest = "1:17fe264ee908afc795734e8c4e63db2accabaf57326dbf21763a7d6b86096260"
digest = "1:239c4c7fd2159585454003d9be7207167970194216193a8a210b8d29576f19c9"
name = "github.com/golang/protobuf" name = "github.com/golang/protobuf"
packages = [ packages = [
"proto", "proto",
@ -116,8 +116,8 @@
"ptypes/timestamp", "ptypes/timestamp",
] ]
pruneopts = "UT" pruneopts = "UT"
revision = "b4deda0973fb4c70b50d226b1af49f3da59f5265"
version = "v1.1.0"
revision = "c823c79ea1570fb5ff454033735a8e68575d1d0f"
version = "v1.3.0"
[[projects]] [[projects]]
branch = "master" branch = "master"


+ 2
- 2
Gopkg.toml View File

@ -28,11 +28,11 @@
[[constraint]] [[constraint]]
name = "github.com/gogo/protobuf" name = "github.com/gogo/protobuf"
version = "~1.1.1"
version = "~1.2.1"
[[constraint]] [[constraint]]
name = "github.com/golang/protobuf" name = "github.com/golang/protobuf"
version = "~1.1.0"
version = "~1.3.0"
# Allow only minor releases for other libraries # Allow only minor releases for other libraries
[[constraint]] [[constraint]]


+ 228
- 42
abci/types/types.pb.go View File

@ -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_5b877df1938afe10, []int{0}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{1}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{2}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{3}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{4}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{5}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{6}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{7}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{8}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{9}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{10}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{11}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{12}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{13}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{14}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{15}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{16}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{17}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{18}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{19}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{20}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{21}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{22}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{23}
return fileDescriptor_types_dfa4953f824ab2aa, []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_5b877df1938afe10, []int{24}
return fileDescriptor_types_dfa4953f824ab2aa, []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)
@ -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_5b877df1938afe10, []int{25}
return fileDescriptor_types_dfa4953f824ab2aa, []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)
@ -2432,7 +2432,7 @@ func (m *BlockSizeParams) Reset() { *m = BlockSizeParams{} }
func (m *BlockSizeParams) String() string { return proto.CompactTextString(m) } func (m *BlockSizeParams) String() string { return proto.CompactTextString(m) }
func (*BlockSizeParams) ProtoMessage() {} func (*BlockSizeParams) ProtoMessage() {}
func (*BlockSizeParams) Descriptor() ([]byte, []int) { func (*BlockSizeParams) Descriptor() ([]byte, []int) {
return fileDescriptor_types_5b877df1938afe10, []int{26}
return fileDescriptor_types_dfa4953f824ab2aa, []int{26}
} }
func (m *BlockSizeParams) XXX_Unmarshal(b []byte) error { func (m *BlockSizeParams) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2488,7 +2488,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_5b877df1938afe10, []int{27}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2536,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_5b877df1938afe10, []int{28}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2584,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_5b877df1938afe10, []int{29}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2658,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_5b877df1938afe10, []int{30}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2811,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_5b877df1938afe10, []int{31}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2866,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_5b877df1938afe10, []int{32}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2921,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_5b877df1938afe10, []int{33}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +2978,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_5b877df1938afe10, []int{34}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +3034,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_5b877df1938afe10, []int{35}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +3090,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_5b877df1938afe10, []int{36}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +3145,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_5b877df1938afe10, []int{37}
return fileDescriptor_types_dfa4953f824ab2aa, []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 +3203,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_5b877df1938afe10, []int{38}
return fileDescriptor_types_dfa4953f824ab2aa, []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)
@ -8448,6 +8448,9 @@ func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte {
return dAtA return dAtA
} }
func (m *Request) Size() (n int) { func (m *Request) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Value != nil { if m.Value != nil {
@ -8460,6 +8463,9 @@ func (m *Request) Size() (n int) {
} }
func (m *Request_Echo) Size() (n int) { func (m *Request_Echo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Echo != nil { if m.Echo != nil {
@ -8469,6 +8475,9 @@ func (m *Request_Echo) Size() (n int) {
return n return n
} }
func (m *Request_Flush) Size() (n int) { func (m *Request_Flush) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Flush != nil { if m.Flush != nil {
@ -8478,6 +8487,9 @@ func (m *Request_Flush) Size() (n int) {
return n return n
} }
func (m *Request_Info) Size() (n int) { func (m *Request_Info) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Info != nil { if m.Info != nil {
@ -8487,6 +8499,9 @@ func (m *Request_Info) Size() (n int) {
return n return n
} }
func (m *Request_SetOption) Size() (n int) { func (m *Request_SetOption) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.SetOption != nil { if m.SetOption != nil {
@ -8496,6 +8511,9 @@ func (m *Request_SetOption) Size() (n int) {
return n return n
} }
func (m *Request_InitChain) Size() (n int) { func (m *Request_InitChain) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.InitChain != nil { if m.InitChain != nil {
@ -8505,6 +8523,9 @@ func (m *Request_InitChain) Size() (n int) {
return n return n
} }
func (m *Request_Query) Size() (n int) { func (m *Request_Query) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Query != nil { if m.Query != nil {
@ -8514,6 +8535,9 @@ func (m *Request_Query) Size() (n int) {
return n return n
} }
func (m *Request_BeginBlock) Size() (n int) { func (m *Request_BeginBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.BeginBlock != nil { if m.BeginBlock != nil {
@ -8523,6 +8547,9 @@ func (m *Request_BeginBlock) Size() (n int) {
return n return n
} }
func (m *Request_CheckTx) Size() (n int) { func (m *Request_CheckTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.CheckTx != nil { if m.CheckTx != nil {
@ -8532,6 +8559,9 @@ func (m *Request_CheckTx) Size() (n int) {
return n return n
} }
func (m *Request_EndBlock) Size() (n int) { func (m *Request_EndBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.EndBlock != nil { if m.EndBlock != nil {
@ -8541,6 +8571,9 @@ func (m *Request_EndBlock) Size() (n int) {
return n return n
} }
func (m *Request_Commit) Size() (n int) { func (m *Request_Commit) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Commit != nil { if m.Commit != nil {
@ -8550,6 +8583,9 @@ func (m *Request_Commit) Size() (n int) {
return n return n
} }
func (m *Request_DeliverTx) Size() (n int) { func (m *Request_DeliverTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.DeliverTx != nil { if m.DeliverTx != nil {
@ -8559,6 +8595,9 @@ func (m *Request_DeliverTx) Size() (n int) {
return n return n
} }
func (m *RequestEcho) Size() (n int) { func (m *RequestEcho) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Message) l = len(m.Message)
@ -8572,6 +8611,9 @@ func (m *RequestEcho) Size() (n int) {
} }
func (m *RequestFlush) Size() (n int) { func (m *RequestFlush) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
@ -8581,6 +8623,9 @@ func (m *RequestFlush) Size() (n int) {
} }
func (m *RequestInfo) Size() (n int) { func (m *RequestInfo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Version) l = len(m.Version)
@ -8600,6 +8645,9 @@ func (m *RequestInfo) Size() (n int) {
} }
func (m *RequestSetOption) Size() (n int) { func (m *RequestSetOption) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Key) l = len(m.Key)
@ -8617,6 +8665,9 @@ func (m *RequestSetOption) Size() (n int) {
} }
func (m *RequestInitChain) Size() (n int) { func (m *RequestInitChain) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
@ -8646,6 +8697,9 @@ func (m *RequestInitChain) Size() (n int) {
} }
func (m *RequestQuery) Size() (n int) { func (m *RequestQuery) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Data) l = len(m.Data)
@ -8669,6 +8723,9 @@ func (m *RequestQuery) Size() (n int) {
} }
func (m *RequestBeginBlock) Size() (n int) { func (m *RequestBeginBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Hash) l = len(m.Hash)
@ -8692,6 +8749,9 @@ func (m *RequestBeginBlock) Size() (n int) {
} }
func (m *RequestCheckTx) Size() (n int) { func (m *RequestCheckTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Tx) l = len(m.Tx)
@ -8705,6 +8765,9 @@ func (m *RequestCheckTx) Size() (n int) {
} }
func (m *RequestDeliverTx) Size() (n int) { func (m *RequestDeliverTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Tx) l = len(m.Tx)
@ -8718,6 +8781,9 @@ func (m *RequestDeliverTx) Size() (n int) {
} }
func (m *RequestEndBlock) Size() (n int) { func (m *RequestEndBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Height != 0 { if m.Height != 0 {
@ -8730,6 +8796,9 @@ func (m *RequestEndBlock) Size() (n int) {
} }
func (m *RequestCommit) Size() (n int) { func (m *RequestCommit) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
@ -8739,6 +8808,9 @@ func (m *RequestCommit) Size() (n int) {
} }
func (m *Response) Size() (n int) { func (m *Response) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Value != nil { if m.Value != nil {
@ -8751,6 +8823,9 @@ func (m *Response) Size() (n int) {
} }
func (m *Response_Exception) Size() (n int) { func (m *Response_Exception) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Exception != nil { if m.Exception != nil {
@ -8760,6 +8835,9 @@ func (m *Response_Exception) Size() (n int) {
return n return n
} }
func (m *Response_Echo) Size() (n int) { func (m *Response_Echo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Echo != nil { if m.Echo != nil {
@ -8769,6 +8847,9 @@ func (m *Response_Echo) Size() (n int) {
return n return n
} }
func (m *Response_Flush) Size() (n int) { func (m *Response_Flush) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Flush != nil { if m.Flush != nil {
@ -8778,6 +8859,9 @@ func (m *Response_Flush) Size() (n int) {
return n return n
} }
func (m *Response_Info) Size() (n int) { func (m *Response_Info) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Info != nil { if m.Info != nil {
@ -8787,6 +8871,9 @@ func (m *Response_Info) Size() (n int) {
return n return n
} }
func (m *Response_SetOption) Size() (n int) { func (m *Response_SetOption) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.SetOption != nil { if m.SetOption != nil {
@ -8796,6 +8883,9 @@ func (m *Response_SetOption) Size() (n int) {
return n return n
} }
func (m *Response_InitChain) Size() (n int) { func (m *Response_InitChain) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.InitChain != nil { if m.InitChain != nil {
@ -8805,6 +8895,9 @@ func (m *Response_InitChain) Size() (n int) {
return n return n
} }
func (m *Response_Query) Size() (n int) { func (m *Response_Query) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Query != nil { if m.Query != nil {
@ -8814,6 +8907,9 @@ func (m *Response_Query) Size() (n int) {
return n return n
} }
func (m *Response_BeginBlock) Size() (n int) { func (m *Response_BeginBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.BeginBlock != nil { if m.BeginBlock != nil {
@ -8823,6 +8919,9 @@ func (m *Response_BeginBlock) Size() (n int) {
return n return n
} }
func (m *Response_CheckTx) Size() (n int) { func (m *Response_CheckTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.CheckTx != nil { if m.CheckTx != nil {
@ -8832,6 +8931,9 @@ func (m *Response_CheckTx) Size() (n int) {
return n return n
} }
func (m *Response_DeliverTx) Size() (n int) { func (m *Response_DeliverTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.DeliverTx != nil { if m.DeliverTx != nil {
@ -8841,6 +8943,9 @@ func (m *Response_DeliverTx) Size() (n int) {
return n return n
} }
func (m *Response_EndBlock) Size() (n int) { func (m *Response_EndBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.EndBlock != nil { if m.EndBlock != nil {
@ -8850,6 +8955,9 @@ func (m *Response_EndBlock) Size() (n int) {
return n return n
} }
func (m *Response_Commit) Size() (n int) { func (m *Response_Commit) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Commit != nil { if m.Commit != nil {
@ -8859,6 +8967,9 @@ func (m *Response_Commit) Size() (n int) {
return n return n
} }
func (m *ResponseException) Size() (n int) { func (m *ResponseException) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Error) l = len(m.Error)
@ -8872,6 +8983,9 @@ func (m *ResponseException) Size() (n int) {
} }
func (m *ResponseEcho) Size() (n int) { func (m *ResponseEcho) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Message) l = len(m.Message)
@ -8885,6 +8999,9 @@ func (m *ResponseEcho) Size() (n int) {
} }
func (m *ResponseFlush) Size() (n int) { func (m *ResponseFlush) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
@ -8894,6 +9011,9 @@ func (m *ResponseFlush) Size() (n int) {
} }
func (m *ResponseInfo) Size() (n int) { func (m *ResponseInfo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Data) l = len(m.Data)
@ -8921,6 +9041,9 @@ func (m *ResponseInfo) Size() (n int) {
} }
func (m *ResponseSetOption) Size() (n int) { func (m *ResponseSetOption) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Code != 0 { if m.Code != 0 {
@ -8941,6 +9064,9 @@ func (m *ResponseSetOption) Size() (n int) {
} }
func (m *ResponseInitChain) Size() (n int) { func (m *ResponseInitChain) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.ConsensusParams != nil { if m.ConsensusParams != nil {
@ -8960,6 +9086,9 @@ func (m *ResponseInitChain) Size() (n int) {
} }
func (m *ResponseQuery) Size() (n int) { func (m *ResponseQuery) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Code != 0 { if m.Code != 0 {
@ -9002,6 +9131,9 @@ func (m *ResponseQuery) Size() (n int) {
} }
func (m *ResponseBeginBlock) Size() (n int) { func (m *ResponseBeginBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if len(m.Tags) > 0 { if len(m.Tags) > 0 {
@ -9017,6 +9149,9 @@ func (m *ResponseBeginBlock) Size() (n int) {
} }
func (m *ResponseCheckTx) Size() (n int) { func (m *ResponseCheckTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Code != 0 { if m.Code != 0 {
@ -9057,6 +9192,9 @@ func (m *ResponseCheckTx) Size() (n int) {
} }
func (m *ResponseDeliverTx) Size() (n int) { func (m *ResponseDeliverTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Code != 0 { if m.Code != 0 {
@ -9097,6 +9235,9 @@ func (m *ResponseDeliverTx) Size() (n int) {
} }
func (m *ResponseEndBlock) Size() (n int) { func (m *ResponseEndBlock) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if len(m.ValidatorUpdates) > 0 { if len(m.ValidatorUpdates) > 0 {
@ -9122,6 +9263,9 @@ func (m *ResponseEndBlock) Size() (n int) {
} }
func (m *ResponseCommit) Size() (n int) { func (m *ResponseCommit) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Data) l = len(m.Data)
@ -9135,6 +9279,9 @@ func (m *ResponseCommit) Size() (n int) {
} }
func (m *ConsensusParams) Size() (n int) { func (m *ConsensusParams) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.BlockSize != nil { if m.BlockSize != nil {
@ -9156,6 +9303,9 @@ func (m *ConsensusParams) Size() (n int) {
} }
func (m *BlockSizeParams) Size() (n int) { func (m *BlockSizeParams) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.MaxBytes != 0 { if m.MaxBytes != 0 {
@ -9171,6 +9321,9 @@ func (m *BlockSizeParams) Size() (n int) {
} }
func (m *EvidenceParams) Size() (n int) { func (m *EvidenceParams) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.MaxAge != 0 { if m.MaxAge != 0 {
@ -9183,6 +9336,9 @@ func (m *EvidenceParams) Size() (n int) {
} }
func (m *ValidatorParams) Size() (n int) { func (m *ValidatorParams) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if len(m.PubKeyTypes) > 0 { if len(m.PubKeyTypes) > 0 {
@ -9198,6 +9354,9 @@ func (m *ValidatorParams) Size() (n int) {
} }
func (m *LastCommitInfo) Size() (n int) { func (m *LastCommitInfo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Round != 0 { if m.Round != 0 {
@ -9216,6 +9375,9 @@ func (m *LastCommitInfo) Size() (n int) {
} }
func (m *Header) Size() (n int) { func (m *Header) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = m.Version.Size() l = m.Version.Size()
@ -9280,6 +9442,9 @@ func (m *Header) Size() (n int) {
} }
func (m *Version) Size() (n int) { func (m *Version) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Block != 0 { if m.Block != 0 {
@ -9295,6 +9460,9 @@ func (m *Version) Size() (n int) {
} }
func (m *BlockID) Size() (n int) { func (m *BlockID) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Hash) l = len(m.Hash)
@ -9310,6 +9478,9 @@ func (m *BlockID) Size() (n int) {
} }
func (m *PartSetHeader) Size() (n int) { func (m *PartSetHeader) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.Total != 0 { if m.Total != 0 {
@ -9326,6 +9497,9 @@ func (m *PartSetHeader) Size() (n int) {
} }
func (m *Validator) Size() (n int) { func (m *Validator) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Address) l = len(m.Address)
@ -9342,6 +9516,9 @@ func (m *Validator) Size() (n int) {
} }
func (m *ValidatorUpdate) Size() (n int) { func (m *ValidatorUpdate) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = m.PubKey.Size() l = m.PubKey.Size()
@ -9356,6 +9533,9 @@ func (m *ValidatorUpdate) Size() (n int) {
} }
func (m *VoteInfo) Size() (n int) { func (m *VoteInfo) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = m.Validator.Size() l = m.Validator.Size()
@ -9370,6 +9550,9 @@ func (m *VoteInfo) Size() (n int) {
} }
func (m *PubKey) Size() (n int) { func (m *PubKey) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Type) l = len(m.Type)
@ -9387,6 +9570,9 @@ func (m *PubKey) Size() (n int) {
} }
func (m *Evidence) Size() (n int) { func (m *Evidence) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Type) l = len(m.Type)
@ -15171,12 +15357,12 @@ var (
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
) )
func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_5b877df1938afe10) }
func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_dfa4953f824ab2aa) }
func init() { func init() {
golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_5b877df1938afe10)
golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_dfa4953f824ab2aa)
} }
var fileDescriptor_types_5b877df1938afe10 = []byte{
var fileDescriptor_types_dfa4953f824ab2aa = []byte{
// 2214 bytes of a gzipped FileDescriptorProto // 2214 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, 0xcb, 0x73, 0x1b, 0xc7,
0xd1, 0xe7, 0x82, 0x20, 0x81, 0x6d, 0x10, 0x0f, 0x8d, 0x28, 0x09, 0xc2, 0xe7, 0x8f, 0x54, 0xad, 0xd1, 0xe7, 0x82, 0x20, 0x81, 0x6d, 0x10, 0x0f, 0x8d, 0x28, 0x09, 0xc2, 0xe7, 0x8f, 0x54, 0xad,


+ 10
- 4
crypto/merkle/merkle.pb.go View File

@ -39,7 +39,7 @@ func (m *ProofOp) Reset() { *m = ProofOp{} }
func (m *ProofOp) String() string { return proto.CompactTextString(m) } func (m *ProofOp) String() string { return proto.CompactTextString(m) }
func (*ProofOp) ProtoMessage() {} func (*ProofOp) ProtoMessage() {}
func (*ProofOp) Descriptor() ([]byte, []int) { func (*ProofOp) Descriptor() ([]byte, []int) {
return fileDescriptor_merkle_5d3f6051907285da, []int{0}
return fileDescriptor_merkle_24be8bc4e405ac66, []int{0}
} }
func (m *ProofOp) XXX_Unmarshal(b []byte) error { func (m *ProofOp) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -101,7 +101,7 @@ func (m *Proof) Reset() { *m = Proof{} }
func (m *Proof) String() string { return proto.CompactTextString(m) } func (m *Proof) String() string { return proto.CompactTextString(m) }
func (*Proof) ProtoMessage() {} func (*Proof) ProtoMessage() {}
func (*Proof) Descriptor() ([]byte, []int) { func (*Proof) Descriptor() ([]byte, []int) {
return fileDescriptor_merkle_5d3f6051907285da, []int{1}
return fileDescriptor_merkle_24be8bc4e405ac66, []int{1}
} }
func (m *Proof) XXX_Unmarshal(b []byte) error { func (m *Proof) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -395,6 +395,9 @@ func encodeVarintPopulateMerkle(dAtA []byte, v uint64) []byte {
return dAtA return dAtA
} }
func (m *ProofOp) Size() (n int) { func (m *ProofOp) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Type) l = len(m.Type)
@ -416,6 +419,9 @@ func (m *ProofOp) Size() (n int) {
} }
func (m *Proof) Size() (n int) { func (m *Proof) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if len(m.Ops) > 0 { if len(m.Ops) > 0 {
@ -772,9 +778,9 @@ var (
ErrIntOverflowMerkle = fmt.Errorf("proto: integer overflow") ErrIntOverflowMerkle = fmt.Errorf("proto: integer overflow")
) )
func init() { proto.RegisterFile("crypto/merkle/merkle.proto", fileDescriptor_merkle_5d3f6051907285da) }
func init() { proto.RegisterFile("crypto/merkle/merkle.proto", fileDescriptor_merkle_24be8bc4e405ac66) }
var fileDescriptor_merkle_5d3f6051907285da = []byte{
var fileDescriptor_merkle_24be8bc4e405ac66 = []byte{
// 200 bytes of a gzipped FileDescriptorProto // 200 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0x2e, 0xaa, 0x2c, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0x2e, 0xaa, 0x2c,
0x28, 0xc9, 0xd7, 0xcf, 0x4d, 0x2d, 0xca, 0xce, 0x49, 0x85, 0x52, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0x28, 0xc9, 0xd7, 0xcf, 0x4d, 0x2d, 0xca, 0xce, 0x49, 0x85, 0x52, 0x7a, 0x05, 0x45, 0xf9, 0x25,


+ 13
- 8
libs/common/types.pb.go View File

@ -1,7 +1,6 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: libs/common/types.proto // source: libs/common/types.proto
//nolint
package common package common
import proto "github.com/gogo/protobuf/proto" import proto "github.com/gogo/protobuf/proto"
@ -26,7 +25,7 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
// Define these here for compatibility but use libs/common.KVPair.
// Define these here for compatibility but use tmlibs/common.KVPair.
type KVPair struct { type KVPair struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
@ -39,7 +38,7 @@ func (m *KVPair) Reset() { *m = KVPair{} }
func (m *KVPair) String() string { return proto.CompactTextString(m) } func (m *KVPair) String() string { return proto.CompactTextString(m) }
func (*KVPair) ProtoMessage() {} func (*KVPair) ProtoMessage() {}
func (*KVPair) Descriptor() ([]byte, []int) { func (*KVPair) Descriptor() ([]byte, []int) {
return fileDescriptor_types_611b4364a8604338, []int{0}
return fileDescriptor_types_a863d437ea36eb85, []int{0}
} }
func (m *KVPair) XXX_Unmarshal(b []byte) error { func (m *KVPair) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -82,7 +81,7 @@ func (m *KVPair) GetValue() []byte {
return nil return nil
} }
// Define these here for compatibility but use libs/common.KI64Pair.
// Define these here for compatibility but use tmlibs/common.KI64Pair.
type KI64Pair struct { type KI64Pair struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
@ -95,7 +94,7 @@ func (m *KI64Pair) Reset() { *m = KI64Pair{} }
func (m *KI64Pair) String() string { return proto.CompactTextString(m) } func (m *KI64Pair) String() string { return proto.CompactTextString(m) }
func (*KI64Pair) ProtoMessage() {} func (*KI64Pair) ProtoMessage() {}
func (*KI64Pair) Descriptor() ([]byte, []int) { func (*KI64Pair) Descriptor() ([]byte, []int) {
return fileDescriptor_types_611b4364a8604338, []int{1}
return fileDescriptor_types_a863d437ea36eb85, []int{1}
} }
func (m *KI64Pair) XXX_Unmarshal(b []byte) error { func (m *KI64Pair) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -386,6 +385,9 @@ func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte {
return dAtA return dAtA
} }
func (m *KVPair) Size() (n int) { func (m *KVPair) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Key) l = len(m.Key)
@ -403,6 +405,9 @@ func (m *KVPair) Size() (n int) {
} }
func (m *KI64Pair) Size() (n int) { func (m *KI64Pair) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Key) l = len(m.Key)
@ -750,12 +755,12 @@ var (
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
) )
func init() { proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_611b4364a8604338) }
func init() { proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_a863d437ea36eb85) }
func init() { func init() {
golang_proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_611b4364a8604338)
golang_proto.RegisterFile("libs/common/types.proto", fileDescriptor_types_a863d437ea36eb85)
} }
var fileDescriptor_types_611b4364a8604338 = []byte{
var fileDescriptor_types_a863d437ea36eb85 = []byte{
// 174 bytes of a gzipped FileDescriptorProto // 174 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xc9, 0x4c, 0x2a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xc9, 0x4c, 0x2a,
0xd6, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xd6, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28,


+ 20
- 10
rpc/grpc/types.pb.go View File

@ -1,7 +1,6 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: rpc/grpc/types.proto // source: rpc/grpc/types.proto
//nolint
package core_grpc package core_grpc
import proto "github.com/gogo/protobuf/proto" import proto "github.com/gogo/protobuf/proto"
@ -42,7 +41,7 @@ func (m *RequestPing) Reset() { *m = RequestPing{} }
func (m *RequestPing) String() string { return proto.CompactTextString(m) } func (m *RequestPing) String() string { return proto.CompactTextString(m) }
func (*RequestPing) ProtoMessage() {} func (*RequestPing) ProtoMessage() {}
func (*RequestPing) Descriptor() ([]byte, []int) { func (*RequestPing) Descriptor() ([]byte, []int) {
return fileDescriptor_types_48bb8d9591d37e66, []int{0}
return fileDescriptor_types_8721e2f2d306fca2, []int{0}
} }
func (m *RequestPing) XXX_Unmarshal(b []byte) error { func (m *RequestPing) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -82,7 +81,7 @@ func (m *RequestBroadcastTx) Reset() { *m = RequestBroadcastTx{} }
func (m *RequestBroadcastTx) String() string { return proto.CompactTextString(m) } func (m *RequestBroadcastTx) String() string { return proto.CompactTextString(m) }
func (*RequestBroadcastTx) ProtoMessage() {} func (*RequestBroadcastTx) ProtoMessage() {}
func (*RequestBroadcastTx) Descriptor() ([]byte, []int) { func (*RequestBroadcastTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_48bb8d9591d37e66, []int{1}
return fileDescriptor_types_8721e2f2d306fca2, []int{1}
} }
func (m *RequestBroadcastTx) XXX_Unmarshal(b []byte) error { func (m *RequestBroadcastTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -128,7 +127,7 @@ func (m *ResponsePing) Reset() { *m = ResponsePing{} }
func (m *ResponsePing) String() string { return proto.CompactTextString(m) } func (m *ResponsePing) String() string { return proto.CompactTextString(m) }
func (*ResponsePing) ProtoMessage() {} func (*ResponsePing) ProtoMessage() {}
func (*ResponsePing) Descriptor() ([]byte, []int) { func (*ResponsePing) Descriptor() ([]byte, []int) {
return fileDescriptor_types_48bb8d9591d37e66, []int{2}
return fileDescriptor_types_8721e2f2d306fca2, []int{2}
} }
func (m *ResponsePing) XXX_Unmarshal(b []byte) error { func (m *ResponsePing) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -169,7 +168,7 @@ func (m *ResponseBroadcastTx) Reset() { *m = ResponseBroadcastTx{} }
func (m *ResponseBroadcastTx) String() string { return proto.CompactTextString(m) } func (m *ResponseBroadcastTx) String() string { return proto.CompactTextString(m) }
func (*ResponseBroadcastTx) ProtoMessage() {} func (*ResponseBroadcastTx) ProtoMessage() {}
func (*ResponseBroadcastTx) Descriptor() ([]byte, []int) { func (*ResponseBroadcastTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_48bb8d9591d37e66, []int{3}
return fileDescriptor_types_8721e2f2d306fca2, []int{3}
} }
func (m *ResponseBroadcastTx) XXX_Unmarshal(b []byte) error { func (m *ResponseBroadcastTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -370,8 +369,7 @@ func (c *broadcastAPIClient) BroadcastTx(ctx context.Context, in *RequestBroadca
return out, nil return out, nil
} }
// Server API for BroadcastAPI service
// BroadcastAPIServer is the server API for BroadcastAPI service.
type BroadcastAPIServer interface { type BroadcastAPIServer interface {
Ping(context.Context, *RequestPing) (*ResponsePing, error) Ping(context.Context, *RequestPing) (*ResponsePing, error)
BroadcastTx(context.Context, *RequestBroadcastTx) (*ResponseBroadcastTx, error) BroadcastTx(context.Context, *RequestBroadcastTx) (*ResponseBroadcastTx, error)
@ -669,6 +667,9 @@ func encodeVarintPopulateTypes(dAtA []byte, v uint64) []byte {
return dAtA return dAtA
} }
func (m *RequestPing) Size() (n int) { func (m *RequestPing) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
@ -678,6 +679,9 @@ func (m *RequestPing) Size() (n int) {
} }
func (m *RequestBroadcastTx) Size() (n int) { func (m *RequestBroadcastTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
l = len(m.Tx) l = len(m.Tx)
@ -691,6 +695,9 @@ func (m *RequestBroadcastTx) Size() (n int) {
} }
func (m *ResponsePing) Size() (n int) { func (m *ResponsePing) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
@ -700,6 +707,9 @@ func (m *ResponsePing) Size() (n int) {
} }
func (m *ResponseBroadcastTx) Size() (n int) { func (m *ResponseBroadcastTx) Size() (n int) {
if m == nil {
return 0
}
var l int var l int
_ = l _ = l
if m.CheckTx != nil { if m.CheckTx != nil {
@ -1135,10 +1145,10 @@ var (
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
) )
func init() { proto.RegisterFile("rpc/grpc/types.proto", fileDescriptor_types_48bb8d9591d37e66) }
func init() { golang_proto.RegisterFile("rpc/grpc/types.proto", fileDescriptor_types_48bb8d9591d37e66) }
func init() { proto.RegisterFile("rpc/grpc/types.proto", fileDescriptor_types_8721e2f2d306fca2) }
func init() { golang_proto.RegisterFile("rpc/grpc/types.proto", fileDescriptor_types_8721e2f2d306fca2) }
var fileDescriptor_types_48bb8d9591d37e66 = []byte{
var fileDescriptor_types_8721e2f2d306fca2 = []byte{
// 321 bytes of a gzipped FileDescriptorProto // 321 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0x2a, 0x48, 0xd6, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0x2a, 0x48, 0xd6,
0x4f, 0x07, 0x11, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x4f, 0x07, 0x11, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c,


+ 7
- 7
types/proto3/block.pb.go View File

@ -30,7 +30,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_block_57c41dfc0fc285b3, []int{0}
return fileDescriptor_block_1ca6cebf74619a45, []int{0}
} }
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error { func (m *PartSetHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PartSetHeader.Unmarshal(m, b) return xxx_messageInfo_PartSetHeader.Unmarshal(m, b)
@ -76,7 +76,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_block_57c41dfc0fc285b3, []int{1}
return fileDescriptor_block_1ca6cebf74619a45, []int{1}
} }
func (m *BlockID) XXX_Unmarshal(b []byte) error { func (m *BlockID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockID.Unmarshal(m, b) return xxx_messageInfo_BlockID.Unmarshal(m, b)
@ -141,7 +141,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_block_57c41dfc0fc285b3, []int{2}
return fileDescriptor_block_1ca6cebf74619a45, []int{2}
} }
func (m *Header) XXX_Unmarshal(b []byte) error { func (m *Header) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Header.Unmarshal(m, b) return xxx_messageInfo_Header.Unmarshal(m, b)
@ -285,7 +285,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_block_57c41dfc0fc285b3, []int{3}
return fileDescriptor_block_1ca6cebf74619a45, []int{3}
} }
func (m *Version) XXX_Unmarshal(b []byte) error { func (m *Version) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Version.Unmarshal(m, b) return xxx_messageInfo_Version.Unmarshal(m, b)
@ -336,7 +336,7 @@ func (m *Timestamp) Reset() { *m = Timestamp{} }
func (m *Timestamp) String() string { return proto.CompactTextString(m) } func (m *Timestamp) String() string { return proto.CompactTextString(m) }
func (*Timestamp) ProtoMessage() {} func (*Timestamp) ProtoMessage() {}
func (*Timestamp) Descriptor() ([]byte, []int) { func (*Timestamp) Descriptor() ([]byte, []int) {
return fileDescriptor_block_57c41dfc0fc285b3, []int{4}
return fileDescriptor_block_1ca6cebf74619a45, []int{4}
} }
func (m *Timestamp) XXX_Unmarshal(b []byte) error { func (m *Timestamp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Timestamp.Unmarshal(m, b) return xxx_messageInfo_Timestamp.Unmarshal(m, b)
@ -378,9 +378,9 @@ func init() {
proto.RegisterType((*Timestamp)(nil), "proto3.Timestamp") proto.RegisterType((*Timestamp)(nil), "proto3.Timestamp")
} }
func init() { proto.RegisterFile("types/proto3/block.proto", fileDescriptor_block_57c41dfc0fc285b3) }
func init() { proto.RegisterFile("types/proto3/block.proto", fileDescriptor_block_1ca6cebf74619a45) }
var fileDescriptor_block_57c41dfc0fc285b3 = []byte{
var fileDescriptor_block_1ca6cebf74619a45 = []byte{
// 451 bytes of a gzipped FileDescriptorProto // 451 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x6f, 0xd3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x6f, 0xd3, 0x30,
0x10, 0x57, 0x68, 0xda, 0xae, 0x97, 0x76, 0x1d, 0x27, 0x40, 0x16, 0x4f, 0x55, 0x04, 0xa8, 0xbc, 0x10, 0x57, 0x68, 0xda, 0xae, 0x97, 0x76, 0x1d, 0x27, 0x40, 0x16, 0x4f, 0x55, 0x04, 0xa8, 0xbc,


Loading…
Cancel
Save