@ -7,16 +7,20 @@ import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/gogo/protobuf/types"
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
crypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
io "io"
math "math"
math_bits "math/bits"
time "time"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto . Marshal
var _ = fmt . Errorf
var _ = math . Inf
var _ = time . Kitchen
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
@ -27,8 +31,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// DuplicateVoteEvidence contains evidence a validator signed two conflicting
// votes.
type DuplicateVoteEvidence struct {
VoteA * Vote ` protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty" `
VoteB * Vote ` protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty" `
VoteA * Vote ` protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty" `
VoteB * Vote ` protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty" `
Timestamp time . Time ` protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp" `
}
func ( m * DuplicateVoteEvidence ) Reset ( ) { * m = DuplicateVoteEvidence { } }
@ -78,10 +83,18 @@ func (m *DuplicateVoteEvidence) GetVoteB() *Vote {
return nil
}
func ( m * DuplicateVoteEvidence ) GetTimestamp ( ) time . Time {
if m != nil {
return m . Timestamp
}
return time . Time { }
}
type PotentialAmnesiaEvidence struct {
VoteA * Vote ` protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty" `
VoteB * Vote ` protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty" `
HeightStamp int64 ` protobuf:"varint,3,opt,name=height_stamp,json=heightStamp,proto3" json:"height_stamp,omitempty" `
VoteA * Vote ` protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty" `
VoteB * Vote ` protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty" `
HeightStamp int64 ` protobuf:"varint,3,opt,name=height_stamp,json=heightStamp,proto3" json:"height_stamp,omitempty" `
Timestamp time . Time ` protobuf:"bytes,4,opt,name=timestamp,proto3,stdtime" json:"timestamp" `
}
func ( m * PotentialAmnesiaEvidence ) Reset ( ) { * m = PotentialAmnesiaEvidence { } }
@ -138,6 +151,13 @@ func (m *PotentialAmnesiaEvidence) GetHeightStamp() int64 {
return 0
}
func ( m * PotentialAmnesiaEvidence ) GetTimestamp ( ) time . Time {
if m != nil {
return m . Timestamp
}
return time . Time { }
}
type AmnesiaEvidence struct {
PotentialAmnesiaEvidence * PotentialAmnesiaEvidence ` protobuf:"bytes,1,opt,name=potential_amnesia_evidence,json=potentialAmnesiaEvidence,proto3" json:"potential_amnesia_evidence,omitempty" `
Polc * ProofOfLockChange ` protobuf:"bytes,2,opt,name=polc,proto3" json:"polc,omitempty" `
@ -243,9 +263,10 @@ func (m *ConflictingHeadersEvidence) GetH2() *SignedHeader {
}
type LunaticValidatorEvidence struct {
Header * Header ` protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty" `
Vote * Vote ` protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty" `
InvalidHeaderField string ` protobuf:"bytes,3,opt,name=invalid_header_field,json=invalidHeaderField,proto3" json:"invalid_header_field,omitempty" `
Header * Header ` protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty" `
Vote * Vote ` protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty" `
InvalidHeaderField string ` protobuf:"bytes,3,opt,name=invalid_header_field,json=invalidHeaderField,proto3" json:"invalid_header_field,omitempty" `
Timestamp time . Time ` protobuf:"bytes,4,opt,name=timestamp,proto3,stdtime" json:"timestamp" `
}
func ( m * LunaticValidatorEvidence ) Reset ( ) { * m = LunaticValidatorEvidence { } }
@ -302,6 +323,13 @@ func (m *LunaticValidatorEvidence) GetInvalidHeaderField() string {
return ""
}
func ( m * LunaticValidatorEvidence ) GetTimestamp ( ) time . Time {
if m != nil {
return m . Timestamp
}
return time . Time { }
}
type Evidence struct {
// Types that are valid to be assigned to Sum:
// *Evidence_DuplicateVoteEvidence
@ -545,48 +573,52 @@ func init() {
func init ( ) { proto . RegisterFile ( "tendermint/types/evidence.proto" , fileDescriptor_6825fabc78e0a168 ) }
var fileDescriptor_6825fabc78e0a168 = [ ] byte {
// 656 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xbc , 0x55 , 0x4f , 0x4f , 0xd4 , 0x40 ,
0x1c , 0x6d , 0xd9 , 0x65 , 0xc5 , 0x1f , 0x24 , 0x60 , 0x03 , 0xda , 0x34 , 0xa4 , 0x40 , 0x3d , 0x48 , 0x08 ,
0x76 , 0x61 , 0x8d , 0xe1 , 0xe2 , 0x85 , 0x3f , 0x9a , 0x4d , 0x20 , 0x8a , 0x43 , 0xc2 , 0xc1 , 0x4b , 0x9d ,
0x6d , 0x67 , 0xdb , 0x81 , 0x6e , 0xa7 , 0xd9 , 0x4e , 0x37 , 0x6e , 0xe2 , 0x67 , 0x30 , 0xde , 0xfd , 0x06 ,
0x9e , 0xfd , 0x10 , 0x1c , 0x39 , 0x7a , 0x32 , 0x06 , 0xbe , 0x88 , 0xe9 , 0x74 , 0x76 , 0x17 , 0xb7 , 0x5b ,
0x36 , 0x5e , 0xbc , 0x34 , 0xcd , 0xef , 0xf7 , 0xe6 , 0xbd , 0x37 , 0x79 , 0xf3 , 0x9b , 0x81 , 0x35 , 0x4e ,
0x22 , 0x8f , 0x74 , 0x3b , 0x34 , 0xe2 , 0x75 , 0xde , 0x8f , 0x49 , 0x52 , 0x27 , 0x3d , 0xea , 0x91 , 0xc8 ,
0x25 , 0x76 , 0xdc , 0x65 , 0x9c , 0x69 , 0x4b , 0x23 , 0x80 , 0x2d , 0x00 , 0xc6 , 0xb2 , 0xcf , 0x7c , 0x26 ,
0x9a , 0xf5 , 0xec , 0x2f , 0xc7 , 0x19 , 0xab , 0x05 , 0x22 , 0xf1 , 0x9d , 0xd0 , 0x75 , 0xbb , 0xfd , 0x98 ,
0xb3 , 0xfa , 0x25 , 0xe9 , 0xcb , 0xae , 0x95 , 0xc2 , 0xca , 0x51 , 0x1a , 0x87 , 0xd4 , 0xc5 , 0x9c , 0x9c ,
0x33 , 0x4e , 0x5e , 0x4b , 0x0b , 0xda , 0x73 , 0xa8 , 0xf5 , 0x18 , 0x27 , 0x0e , 0xd6 , 0xd5 , 0x75 , 0x75 ,
0x73 , 0xbe , 0xf1 , 0xd8 , 0x1e , 0x77 , 0x63 , 0x67 , 0x78 , 0x34 , 0x9b , 0xa1 , 0xf6 , 0x87 , 0xf0 , 0x96 ,
0x3e , 0x33 , 0x1d , 0x7e , 0x60 , 0x7d , 0x53 , 0x41 , 0x3f , 0x65 , 0x9c , 0x44 , 0x9c , 0xe2 , 0x70 , 0xbf ,
0x13 , 0x91 , 0x84 , 0xe2 , 0xff , 0x23 , 0xad , 0x6d , 0xc0 , 0x42 , 0x40 , 0xa8 , 0x1f , 0x70 , 0x27 , 0xe1 ,
0xb8 , 0x13 , 0xeb , 0x95 , 0x75 , 0x75 , 0xb3 , 0x82 , 0xe6 , 0xf3 , 0xda , 0x59 , 0x56 , 0xb2 , 0x7e , 0xa8 ,
0xb0 , 0x38 , 0x6e , 0x2a , 0x00 , 0x23 , 0x1e , 0x18 , 0x76 , 0x70 , 0xde , 0x74 , 0x06 , 0x81 , 0x49 , 0xa3 ,
0x5b , 0x45 , 0xe5 , 0xb2 , 0x4d , 0x22 , 0x3d , 0x2e , 0xdb , 0xfe , 0x1e , 0x54 , 0x63 , 0x16 , 0xba , 0x72 ,
0x37 , 0x4f , 0x27 , 0x70 , 0x76 , 0x19 , 0x6b , 0xbf , 0x6b , 0x9f , 0x30 , 0xf7 , 0xf2 , 0x30 , 0xc0 , 0x91 ,
0x4f , 0x90 , 0x58 , 0x60 , 0x7d , 0x06 , 0xe3 , 0x90 , 0x45 , 0xed , 0x90 , 0xba , 0x9c , 0x46 , 0x7e , 0x93 ,
0x60 , 0x8f , 0x74 , 0x93 , 0x21 , 0xad , 0x0d , 0x33 , 0xc1 , 0xae , 0x34 , 0x6a , 0x16 , 0x49 , 0xcf , 0xa8 ,
0x1f , 0x11 , 0x2f , 0x5f , 0x84 , 0x66 , 0x82 , 0x5d , 0x81 , 0x6f , 0x48 , 0x13 , 0xd3 , 0xf1 , 0x0d , 0xeb ,
0xbb , 0x0a , 0xfa , 0x49 , 0x1a , 0x61 , 0x4e , 0xdd , 0x73 , 0x1c , 0x52 , 0x0f , 0x73 , 0xd6 , 0x1d , 0x8a ,
0xef , 0x40 , 0x2d , 0x10 , 0x50 , 0x69 , 0x40 , 0x2f , 0x12 , 0x4a , 0x2a , 0x89 , 0xd3 , 0xb6 , 0xa0 , 0x9a ,
0xe5 , 0x35 , 0x25 , 0x53 , 0x81 , 0xd1 , 0x76 , 0x60 , 0x99 , 0x46 , 0xbd , 0x4c , 0xd4 , 0xc9 , 0x57 , 0x3b ,
0x6d , 0x4a , 0x42 , 0x4f , 0x44 , 0xfb , 0x10 , 0x69 , 0xb2 , 0x97 , 0x0b , 0xbc , 0xc9 , 0x3a , 0xd6 , 0x97 ,
0x2a , 0xcc , 0x0d , 0xcd , 0x61 , 0x78 , 0xe2 , 0x0d , 0x66 , 0xc0 , 0x11 , 0x47 , 0x69 , 0x2c , 0xd7 , 0x67 ,
0x45 , 0xf5 , 0x89 , 0x43 , 0xd3 , 0x54 , 0xd0 , 0x8a , 0x37 , 0x71 , 0x9a , 0x62 , 0x58 , 0x75 , 0x47 , 0xd1 ,
0x48 , 0x97 , 0xc9 , 0x48 , 0x27 , 0xdf , 0xe5 , 0x76 , 0x51 , 0xa7 , 0x3c , 0xd0 , 0xa6 , 0x82 , 0x0c , 0xb7 ,
0x3c , 0xee , 0x0b , 0x30 , 0xc2 , 0x3c , 0x0d , 0xa7 , 0x37 , 0x88 , 0x63 , 0xa4 , 0x57 , 0x29 , 0x3b , 0xaf ,
0x65 , 0x09 , 0x36 , 0x15 , 0xa4 , 0x87 , 0x65 , 0xe9 , 0x5e , 0xdc , 0x3b , 0x1b , 0xd5 , 0x7f , 0x9d , 0x8d ,
0x4c , 0xab , 0x74 , 0x3a , 0xde , 0xc2 , 0x52 , 0x41 , 0x61 , 0x56 , 0x28 , 0x6c , 0x14 , 0x15 , 0x8a , 0xc4 ,
0x8b , 0xf8 , 0xef , 0xd2 , 0xc1 , 0x2c , 0x54 , 0x92 , 0xb4 , 0x63 , 0x7d , 0x84 , 0x85 , 0x41 , 0xe9 , 0x08 ,
0x73 , 0xac , 0xbd , 0x82 , 0xb9 , 0x3b , 0x87 , 0xa0 , 0xb2 , 0x39 , 0xdf , 0x30 , 0x8a , 0xf4 , 0x43 , 0x92 ,
0xea , 0xd5 , 0xaf , 0x35 , 0x05 , 0x0d , 0x57 , 0x68 , 0x1a , 0x54 , 0x03 , 0x9c , 0x04 , 0x22 , 0xd6 , 0x05 ,
0x24 , 0xfe , 0xad , 0x4f , 0xf0 , 0xa8 , 0x30 , 0xb8 , 0xda , 0x36 , 0x88 , 0x5b , 0x29 , 0x91 , 0x1a , 0xf7 ,
0x5e , 0x5d , 0x89 , 0xf6 , 0x12 , 0x1e , 0xc4 , 0x69 , 0xcb , 0xb9 , 0x24 , 0x7d , 0x79 , 0x60 , 0x56 , 0xef ,
0xe2 , 0xf3 , 0xcb , 0xdd , 0x3e , 0x4d , 0x5b , 0x21 , 0x75 , 0x8f , 0x49 , 0x1f , 0xd5 , 0xe2 , 0xb4 , 0x75 ,
0x4c , 0xfa , 0x07 , 0xef , 0xaf , 0x6e , 0x4c , 0xf5 , 0xfa , 0xc6 , 0x54 , 0x7f , 0xdf , 0x98 , 0xea , 0xd7 ,
0x5b , 0x53 , 0xb9 , 0xbe , 0x35 , 0x95 , 0x9f , 0xb7 , 0xa6 , 0xf2 , 0x61 , 0xcf , 0xa7 , 0x3c , 0x48 , 0x5b ,
0xb6 , 0xcb , 0x3a , 0xf5 , 0xbb , 0x8f , 0xc8 , 0xe8 , 0x37 , 0x7f , 0x6c , 0xc6 , 0x1f , 0x98 , 0x56 , 0x4d ,
0xd4 , 0x5f , 0xfc , 0x09 , 0x00 , 0x00 , 0xff , 0xff , 0xb8 , 0xe6 , 0x16 , 0x08 , 0xc4 , 0x06 , 0x00 , 0x00 ,
// 710 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xbc , 0x55 , 0xc1 , 0x4e , 0xdb , 0x4a ,
0x14 , 0xb5 , 0x89 , 0xc9 , 0x83 , 0x01 , 0x09 , 0x9e , 0x05 , 0xef , 0x59 , 0x16 , 0x72 , 0x4a , 0xba , 0x68 ,
0x85 , 0xa8 , 0x0d , 0x54 , 0x15 , 0x9b , 0x6e , 0x08 , 0xb4 , 0x8a , 0x04 , 0x6a , 0xa9 , 0xa9 , 0x58 , 0x74 ,
0xe3 , 0x8e , 0xed , 0x89 , 0x3d , 0xe0 , 0x78 , 0xac , 0x78 , 0x1c , 0x35 , 0x52 , 0xbf , 0xa1 , 0xe2 , 0x63 ,
0xba , 0xe9 , 0x1f , 0xb0 , 0x64 , 0xd9 , 0x55 , 0xa9 , 0x60 , 0xdf , 0x6f , 0xa8 , 0x3c , 0x1e , 0xdb , 0x10 ,
0xc7 , 0xa0 , 0x56 , 0x55 , 0x37 , 0x91 , 0x33 , 0xf7 , 0xdc , 0x7b , 0xee , 0x99 , 0x39 , 0x77 , 0x06 , 0xb4 ,
0x28 , 0x0a , 0x5d , 0x34 , 0xe8 , 0xe3 , 0x90 , 0x1a , 0x74 , 0x14 , 0xa1 , 0xd8 , 0x40 , 0x43 , 0xec , 0xa2 ,
0xd0 , 0x41 , 0x7a , 0x34 , 0x20 , 0x94 , 0xc8 , 0x8b , 0x25 , 0x40 , 0x67 , 0x00 , 0x75 , 0xc9 , 0x23 , 0x1e ,
0x61 , 0x41 , 0x23 , 0xfd , 0xca , 0x70 , 0x6a , 0xcb , 0x23 , 0xc4 , 0x0b , 0x90 , 0xc1 , 0xfe , 0xd9 , 0x49 ,
0xcf , 0xa0 , 0xb8 , 0x8f , 0x62 , 0x0a , 0xfb , 0x11 , 0x07 , 0xac , 0x54 , 0x98 , 0xd8 , 0xef , 0x84 , 0xa8 ,
0x33 , 0x18 , 0x45 , 0x94 , 0x18 , 0xa7 , 0x68 , 0xc4 , 0xa3 , 0xed , 0x2f , 0x22 , 0x58 , 0xde , 0x4b , 0xa2 ,
0x00 , 0x3b , 0x90 , 0xa2 , 0x63 , 0x42 , 0xd1 , 0x0b , 0xde , 0xa4 , 0xfc , 0x04 , 0x34 , 0x87 , 0x84 , 0x22 ,
0x0b , 0x2a , 0xe2 , 0x03 , 0xf1 , 0xf1 , 0xdc , 0xd6 , 0x7f , 0xfa , 0x78 , 0xbf , 0x7a , 0x8a , 0x37 , 0xa7 ,
0x53 , 0xd4 , 0x4e , 0x01 , 0xb7 , 0x95 , 0xa9 , 0xfb , 0xe1 , 0x1d , 0xb9 , 0x03 , 0x66 , 0x0b , 0x19 , 0x4a ,
0x83 , 0x65 , 0xa8 , 0x7a , 0x26 , 0x54 , 0xcf , 0x85 , 0xea , 0x6f , 0x73 , 0x44 , 0x67 , 0xe6 , 0xfc , 0x5b ,
0x4b , 0x38 , 0xbb , 0x6c , 0x89 , 0x66 , 0x99 , 0xd6 , 0xbe , 0x14 , 0x81 , 0x72 , 0x48 , 0x28 , 0x0a , 0x29 ,
0x86 , 0xc1 , 0x4e , 0x3f , 0x44 , 0x31 , 0x86 , 0x7f , 0xa9 , 0xfd , 0x55 , 0x30 , 0xef , 0x23 , 0xec , 0xf9 ,
0xd4 , 0x2a , 0x15 , 0x34 , 0xcc , 0xb9 , 0x6c , 0xed , 0x28 , 0x5d , 0xba , 0xad , 0x50 , 0xfa , 0x3d , 0x85 ,
0x9f , 0x45 , 0xb0 , 0x30 , 0x2e , 0xcc , 0x07 , 0x6a , 0x94 , 0x8b , 0xb6 , 0x60 , 0x16 , 0xb4 , 0x72 , 0x6b ,
0x71 , 0xb1 , 0x6b , 0xd5 , 0xee , 0xeb , 0x36 , 0xca , 0x54 , 0xa2 , 0xba , 0x2d , 0xdc , 0x06 , 0x52 , 0x44 ,
0x02 , 0x87 , 0xef , 0xc8 , 0xc3 , 0x09 , 0x35 , 0x07 , 0x84 , 0xf4 , 0x5e , 0xf7 , 0x0e , 0x88 , 0x73 , 0xba ,
0xeb , 0xc3 , 0xd0 , 0x43 , 0x26 , 0x4b , 0x68 , 0x7f , 0x04 , 0xea , 0x2e , 0x09 , 0x7b , 0x01 , 0x76 , 0x28 ,
0x0e , 0xbd , 0x2e , 0x82 , 0x2e , 0x1a , 0xc4 , 0x45 , 0x59 , 0x1d , 0x4c , 0xf9 , 0x9b , 0xbc , 0x51 , 0xad ,
0x5a , 0xf4 , 0x08 , 0x7b , 0x21 , 0x72 , 0xb3 , 0x24 , 0x73 , 0xca , 0xdf , 0x64 , 0xf8 , 0x2d , 0xde , 0xc4 ,
0xfd , 0xf8 , 0xad , 0xf6 , 0x0f , 0x11 , 0x28 , 0x07 , 0x49 , 0x08 , 0x29 , 0x76 , 0x8e , 0x61 , 0x80 , 0x5d ,
0x48 , 0xc9 , 0xa0 , 0x20 , 0xdf , 0x00 , 0x4d , 0x9f , 0x41 , 0x79 , 0x03 , 0x4a , 0xb5 , 0x20 , 0x2f , 0xc5 ,
0x71 , 0xf2 , 0x1a , 0x90 , 0xd2 , 0x33 , 0xbf , 0xc7 , 0x17 , 0x0c , 0x23 , 0x6f , 0x80 , 0x25 , 0x1c , 0x0e ,
0x53 , 0x52 , 0x2b , 0xcb , 0xb6 , 0x7a , 0x18 , 0x05 , 0x2e , 0xb3 , 0xc7 , 0xac , 0x29 , 0xf3 , 0x58 , 0x46 ,
0xf0 , 0x32 , 0x8d , 0xfc , 0x11 , 0x97 , 0x7c , 0x92 , 0xc0 , 0x4c , 0x21 , 0x10 , 0x82 , 0xff , 0xdd , 0x7c ,
0x9e , 0x2d , 0x66 , 0xe9 , 0x31 , 0x6f , 0x3c , 0xaa , 0x2a , 0x98 , 0x78 , 0x01 , 0x74 , 0x05 , 0x73 , 0xd9 ,
0x9d , 0x78 , 0x33 , 0x44 , 0x60 , 0xc5 , 0x29 , 0x8f , 0x97 , 0x2b , 0x8d , 0x4b , 0x9e , 0x6c , 0xa7 , 0xd6 ,
0xab , 0x3c , 0xf5 , 0xa6 , 0xe8 , 0x0a , 0xa6 , 0xea , 0xd4 , 0x5b , 0xe6 , 0x04 , 0xa8 , 0x41 , 0x76 , 0xa2 ,
0xd6 , 0x30 , 0x3f , 0xd2 , 0x92 , 0xaf , 0x51 , 0xe7 , 0xf9 , 0x3a , 0x17 , 0x74 , 0x05 , 0x53 , 0x09 , 0xea ,
0x1c , 0x72 , 0x72 , 0xe7 , 0x7c , 0x49 , 0xbf , 0x3a , 0x5f , 0x29 , 0x57 , 0xed , 0x84 , 0xbd , 0x02 , 0x8b ,
0x15 , 0x86 , 0x69 , 0xc6 , 0xb0 , 0x5a , 0x65 , 0xa8 , 0x16 , 0x5e , 0x80 , 0xb7 , 0x97 , 0x3a , 0xd3 , 0xa0 ,
0x11 , 0x27 , 0xfd , 0xf6 , 0x7b , 0x30 , 0x9f , 0x2f , 0xed , 0x41 , 0x0a , 0xe5 , 0xe7 , 0x60 , 0xe6 , 0x86 ,
0x09 , 0x1a , 0xcc , 0x63 , 0x95 , 0xf2 , 0x45 , 0x11 , 0x29 , 0xf5 , 0x98 , 0x59 , 0x64 , 0xc8 , 0x32 , 0x90 ,
0x7c , 0x18 , 0xfb , 0xec , 0x58 , 0xe7 , 0x4d , 0xf6 , 0xdd , 0xfe , 0x00 , 0xfe , 0xad , 0x0c , 0xbf , 0xbc ,
0x0e , 0xd8 , 0xed , 0x18 , 0x73 , 0x8e , 0x3b , 0xaf , 0xd0 , 0x58 , 0x7e , 0x06 , 0xfe , 0x89 , 0x12 , 0xdb ,
0x3a , 0x45 , 0x23 , 0x6e , 0x98 , 0x95 , 0x9b , 0xf8 , 0xec , 0xa5 , 0xd2 , 0x0f , 0x13 , 0x3b , 0xc0 , 0xce ,
0x3e , 0x1a , 0x99 , 0xcd , 0x28 , 0xb1 , 0xf7 , 0xd1 , 0xa8 , 0xf3 , 0xe6 , 0xfc , 0x4a , 0x13 , 0x2f , 0xae ,
0x34 , 0xf1 , 0xfb , 0x95 , 0x26 , 0x9e , 0x5d , 0x6b , 0xc2 , 0xc5 , 0xb5 , 0x26 , 0x7c , 0xbd , 0xd6 , 0x84 ,
0x77 , 0xdb , 0x1e , 0xa6 , 0x7e , 0x62 , 0xeb , 0x0e , 0xe9 , 0x1b , 0x37 , 0x5f , 0xc4 , 0xf2 , 0x33 , 0x7b ,
0x5a , 0xc7 , 0x5f , 0x4b , 0xbb , 0xc9 , 0xd6 , 0x9f , 0xfe , 0x0c , 0x00 , 0x00 , 0xff , 0xff , 0x84 , 0x99 ,
0x61 , 0x70 , 0xb2 , 0x07 , 0x00 , 0x00 ,
}
func ( m * DuplicateVoteEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
@ -609,6 +641,14 @@ func (m *DuplicateVoteEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
n1 , err1 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . Timestamp , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp ) : ] )
if err1 != nil {
return 0 , err1
}
i -= n1
i = encodeVarintEvidence ( dAtA , i , uint64 ( n1 ) )
i --
dAtA [ i ] = 0x1a
if m . VoteB != nil {
{
size , err := m . VoteB . MarshalToSizedBuffer ( dAtA [ : i ] )
@ -656,6 +696,14 @@ func (m *PotentialAmnesiaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error
_ = i
var l int
_ = l
n4 , err4 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . Timestamp , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp ) : ] )
if err4 != nil {
return 0 , err4
}
i -= n4
i = encodeVarintEvidence ( dAtA , i , uint64 ( n4 ) )
i --
dAtA [ i ] = 0x22
if m . HeightStamp != 0 {
i = encodeVarintEvidence ( dAtA , i , uint64 ( m . HeightStamp ) )
i --
@ -802,6 +850,14 @@ func (m *LunaticValidatorEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error
_ = i
var l int
_ = l
n11 , err11 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . Timestamp , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp ) : ] )
if err11 != nil {
return 0 , err11
}
i -= n11
i = encodeVarintEvidence ( dAtA , i , uint64 ( n11 ) )
i --
dAtA [ i ] = 0x22
if len ( m . InvalidHeaderField ) > 0 {
i -= len ( m . InvalidHeaderField )
copy ( dAtA [ i : ] , m . InvalidHeaderField )
@ -1091,6 +1147,8 @@ func (m *DuplicateVoteEvidence) Size() (n int) {
l = m . VoteB . Size ( )
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
l = github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp )
n += 1 + l + sovEvidence ( uint64 ( l ) )
return n
}
@ -1111,6 +1169,8 @@ func (m *PotentialAmnesiaEvidence) Size() (n int) {
if m . HeightStamp != 0 {
n += 1 + sovEvidence ( uint64 ( m . HeightStamp ) )
}
l = github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp )
n += 1 + l + sovEvidence ( uint64 ( l ) )
return n
}
@ -1166,6 +1226,8 @@ func (m *LunaticValidatorEvidence) Size() (n int) {
if l > 0 {
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
l = github_com_gogo_protobuf_types . SizeOfStdTime ( m . Timestamp )
n += 1 + l + sovEvidence ( uint64 ( l ) )
return n
}
@ -1386,6 +1448,39 @@ func (m *DuplicateVoteEvidence) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
case 3 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Timestamp" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthEvidence
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthEvidence
}
if postIndex > l {
return io . ErrUnexpectedEOF
}
if err := github_com_gogo_protobuf_types . StdTimeUnmarshal ( & m . Timestamp , dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )
@ -1530,6 +1625,39 @@ func (m *PotentialAmnesiaEvidence) Unmarshal(dAtA []byte) error {
break
}
}
case 4 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Timestamp" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthEvidence
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthEvidence
}
if postIndex > l {
return io . ErrUnexpectedEOF
}
if err := github_com_gogo_protobuf_types . StdTimeUnmarshal ( & m . Timestamp , dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )
@ -1937,6 +2065,39 @@ func (m *LunaticValidatorEvidence) Unmarshal(dAtA []byte) error {
}
m . InvalidHeaderField = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 4 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Timestamp" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthEvidence
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthEvidence
}
if postIndex > l {
return io . ErrUnexpectedEOF
}
if err := github_com_gogo_protobuf_types . StdTimeUnmarshal ( & m . Timestamp , dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )