Browse Source

Merge pull request #236 from tendermint/bucky/absent-vals

absent_validators: repeated int -> repeated bytes
pull/1780/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
4b080454bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      types/types.pb.go
  2. +1
    -1
      types/types.proto

+ 4
- 4
types/types.pb.go View File

@ -598,7 +598,7 @@ func (m *RequestQuery) GetProve() bool {
type RequestBeginBlock struct { type RequestBeginBlock struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Header Header `protobuf:"bytes,2,opt,name=header" json:"header"` Header Header `protobuf:"bytes,2,opt,name=header" json:"header"`
AbsentValidators []int32 `protobuf:"varint,3,rep,packed,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"`
AbsentValidators [][]byte `protobuf:"bytes,3,rep,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"`
ByzantineValidators []Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators"` ByzantineValidators []Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators"`
} }
@ -621,7 +621,7 @@ func (m *RequestBeginBlock) GetHeader() Header {
return Header{} return Header{}
} }
func (m *RequestBeginBlock) GetAbsentValidators() []int32 {
func (m *RequestBeginBlock) GetAbsentValidators() [][]byte {
if m != nil { if m != nil {
return m.AbsentValidators return m.AbsentValidators
} }
@ -2288,7 +2288,7 @@ var fileDescriptorTypes = []byte{
0xad, 0x8a, 0xa5, 0x25, 0x74, 0x2b, 0x58, 0xf9, 0xd7, 0x4c, 0xde, 0xa2, 0xa6, 0xa5, 0x04, 0xf3, 0xad, 0x8a, 0xa5, 0x25, 0x74, 0x2b, 0x58, 0xf9, 0xd7, 0x4c, 0xde, 0xa2, 0xa6, 0xa5, 0x04, 0xf3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x48, 0x07, 0xca, 0x62, 0xa3, 0xfd, 0x28,
@ -2358,5 +2358,5 @@ var fileDescriptorTypes = []byte{
0x41, 0x2f, 0xbf, 0xe8, 0x45, 0x27, 0xe3, 0x52, 0xac, 0xe8, 0xc1, 0xa6, 0x57, 0xf8, 0xf1, 0x41, 0x41, 0x2f, 0xbf, 0xe8, 0x45, 0x27, 0xe3, 0x52, 0xac, 0xe8, 0xc1, 0xa6, 0x57, 0xf8, 0xf1, 0x41,
0xce, 0x01, 0x12, 0x1f, 0xbe, 0x85, 0x2f, 0x31, 0xbd, 0xe2, 0x8f, 0x0a, 0x82, 0xe1, 0x18, 0x7d, 0xce, 0x01, 0x12, 0x1f, 0xbe, 0x85, 0x2f, 0x31, 0xbd, 0xe2, 0x8f, 0x0a, 0x82, 0xe1, 0x18, 0x7d,
0x28, 0xe6, 0xbf, 0x90, 0xf4, 0x8a, 0xea, 0xfc, 0x69, 0x5d, 0xbe, 0xa2, 0x7d, 0xf2, 0xdf, 0x00, 0x28, 0xe6, 0xbf, 0x90, 0xf4, 0x8a, 0xea, 0xfc, 0x69, 0x5d, 0xbe, 0xa2, 0x7d, 0xf2, 0xdf, 0x00,
0x00, 0x00, 0xff, 0xff, 0x2c, 0x07, 0x8a, 0x4d, 0xc1, 0x13, 0x00, 0x00,
0x00, 0x00, 0xff, 0xff, 0xd0, 0x8a, 0xd9, 0x79, 0xc1, 0x13, 0x00, 0x00,
} }

+ 1
- 1
types/types.proto View File

@ -61,7 +61,7 @@ message RequestQuery {
message RequestBeginBlock { message RequestBeginBlock {
bytes hash = 1; bytes hash = 1;
Header header = 2 [(gogoproto.nullable)=false]; Header header = 2 [(gogoproto.nullable)=false];
repeated int32 absent_validators = 3;
repeated bytes absent_validators = 3;
repeated Evidence byzantine_validators = 4 [(gogoproto.nullable)=false]; repeated Evidence byzantine_validators = 4 [(gogoproto.nullable)=false];
} }


Loading…
Cancel
Save