@ -83,8 +83,9 @@ func (m *DuplicateVoteEvidence) GetVoteB() *Vote {
}
}
type PotentialAmnesiaEvidence struct {
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" `
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" `
}
}
func ( m * PotentialAmnesiaEvidence ) Reset ( ) { * m = PotentialAmnesiaEvidence { } }
func ( m * PotentialAmnesiaEvidence ) Reset ( ) { * m = PotentialAmnesiaEvidence { } }
@ -134,6 +135,65 @@ func (m *PotentialAmnesiaEvidence) GetVoteB() *Vote {
return nil
return nil
}
}
func ( m * PotentialAmnesiaEvidence ) GetHeightStamp ( ) int64 {
if m != nil {
return m . HeightStamp
}
return 0
}
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" `
}
func ( m * AmnesiaEvidence ) Reset ( ) { * m = AmnesiaEvidence { } }
func ( m * AmnesiaEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * AmnesiaEvidence ) ProtoMessage ( ) { }
func ( * AmnesiaEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 2 }
}
func ( m * AmnesiaEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
}
func ( m * AmnesiaEvidence ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
if deterministic {
return xxx_messageInfo_AmnesiaEvidence . Marshal ( b , m , deterministic )
} else {
b = b [ : cap ( b ) ]
n , err := m . MarshalToSizedBuffer ( b )
if err != nil {
return nil , err
}
return b [ : n ] , nil
}
}
func ( m * AmnesiaEvidence ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_AmnesiaEvidence . Merge ( m , src )
}
func ( m * AmnesiaEvidence ) XXX_Size ( ) int {
return m . Size ( )
}
func ( m * AmnesiaEvidence ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_AmnesiaEvidence . DiscardUnknown ( m )
}
var xxx_messageInfo_AmnesiaEvidence proto . InternalMessageInfo
func ( m * AmnesiaEvidence ) GetPotentialAmnesiaEvidence ( ) * PotentialAmnesiaEvidence {
if m != nil {
return m . PotentialAmnesiaEvidence
}
return nil
}
func ( m * AmnesiaEvidence ) GetPolc ( ) * ProofOfLockChange {
if m != nil {
return m . Polc
}
return nil
}
// MockEvidence is used for testing pruposes
// MockEvidence is used for testing pruposes
type MockEvidence struct {
type MockEvidence struct {
EvidenceHeight int64 ` protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty" `
EvidenceHeight int64 ` protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty" `
@ -145,7 +205,7 @@ func (m *MockEvidence) Reset() { *m = MockEvidence{} }
func ( m * MockEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * MockEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * MockEvidence ) ProtoMessage ( ) { }
func ( * MockEvidence ) ProtoMessage ( ) { }
func ( * MockEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * MockEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 2 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 3 }
}
}
func ( m * MockEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * MockEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -206,7 +266,7 @@ func (m *MockRandomEvidence) Reset() { *m = MockRandomEvidence{} }
func ( m * MockRandomEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * MockRandomEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * MockRandomEvidence ) ProtoMessage ( ) { }
func ( * MockRandomEvidence ) ProtoMessage ( ) { }
func ( * MockRandomEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * MockRandomEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 3 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 4 }
}
}
func ( m * MockRandomEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * MockRandomEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -272,7 +332,7 @@ func (m *ConflictingHeadersEvidence) Reset() { *m = ConflictingHeadersEv
func ( m * ConflictingHeadersEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * ConflictingHeadersEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ConflictingHeadersEvidence ) ProtoMessage ( ) { }
func ( * ConflictingHeadersEvidence ) ProtoMessage ( ) { }
func ( * ConflictingHeadersEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * ConflictingHeadersEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 4 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 5 }
}
}
func ( m * ConflictingHeadersEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * ConflictingHeadersEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -325,7 +385,7 @@ func (m *LunaticValidatorEvidence) Reset() { *m = LunaticValidatorEviden
func ( m * LunaticValidatorEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * LunaticValidatorEvidence ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LunaticValidatorEvidence ) ProtoMessage ( ) { }
func ( * LunaticValidatorEvidence ) ProtoMessage ( ) { }
func ( * LunaticValidatorEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * LunaticValidatorEvidence ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 5 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 6 }
}
}
func ( m * LunaticValidatorEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * LunaticValidatorEvidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -381,6 +441,7 @@ type Evidence struct {
// *Evidence_ConflictingHeadersEvidence
// *Evidence_ConflictingHeadersEvidence
// *Evidence_LunaticValidatorEvidence
// *Evidence_LunaticValidatorEvidence
// *Evidence_PotentialAmnesiaEvidence
// *Evidence_PotentialAmnesiaEvidence
// *Evidence_AmnesiaEvidence
// *Evidence_MockEvidence
// *Evidence_MockEvidence
// *Evidence_MockRandomEvidence
// *Evidence_MockRandomEvidence
Sum isEvidence_Sum ` protobuf_oneof:"sum" `
Sum isEvidence_Sum ` protobuf_oneof:"sum" `
@ -390,7 +451,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_86495eef24aeacc0 , [ ] int { 6 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 7 }
}
}
func ( m * Evidence ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * Evidence ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -437,17 +498,21 @@ type Evidence_LunaticValidatorEvidence struct {
type Evidence_PotentialAmnesiaEvidence struct {
type Evidence_PotentialAmnesiaEvidence struct {
PotentialAmnesiaEvidence * PotentialAmnesiaEvidence ` protobuf:"bytes,4,opt,name=potential_amnesia_evidence,json=potentialAmnesiaEvidence,proto3,oneof" json:"potential_amnesia_evidence,omitempty" `
PotentialAmnesiaEvidence * PotentialAmnesiaEvidence ` protobuf:"bytes,4,opt,name=potential_amnesia_evidence,json=potentialAmnesiaEvidence,proto3,oneof" json:"potential_amnesia_evidence,omitempty" `
}
}
type Evidence_AmnesiaEvidence struct {
AmnesiaEvidence * AmnesiaEvidence ` protobuf:"bytes,5,opt,name=amnesia_evidence,json=amnesiaEvidence,proto3,oneof" json:"amnesia_evidence,omitempty" `
}
type Evidence_MockEvidence struct {
type Evidence_MockEvidence struct {
MockEvidence * MockEvidence ` protobuf:"bytes,5,opt,name=mock_evidence,json=mockEvidence,proto3,oneof" json:"mock_evidence,omitempty" `
MockEvidence * MockEvidence ` protobuf:"bytes,6 ,opt,name=mock_evidence,json=mockEvidence,proto3,oneof" json:"mock_evidence,omitempty" `
}
}
type Evidence_MockRandomEvidence struct {
type Evidence_MockRandomEvidence struct {
MockRandomEvidence * MockRandomEvidence ` protobuf:"bytes,6 ,opt,name=mock_random_evidence,json=mockRandomEvidence,proto3,oneof" json:"mock_random_evidence,omitempty" `
MockRandomEvidence * MockRandomEvidence ` protobuf:"bytes,7 ,opt,name=mock_random_evidence,json=mockRandomEvidence,proto3,oneof" json:"mock_random_evidence,omitempty" `
}
}
func ( * Evidence_DuplicateVoteEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_DuplicateVoteEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_ConflictingHeadersEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_ConflictingHeadersEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_LunaticValidatorEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_LunaticValidatorEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_PotentialAmnesiaEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_PotentialAmnesiaEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_AmnesiaEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_MockEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_MockEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_MockRandomEvidence ) isEvidence_Sum ( ) { }
func ( * Evidence_MockRandomEvidence ) isEvidence_Sum ( ) { }
@ -486,6 +551,13 @@ func (m *Evidence) GetPotentialAmnesiaEvidence() *PotentialAmnesiaEvidence {
return nil
return nil
}
}
func ( m * Evidence ) GetAmnesiaEvidence ( ) * AmnesiaEvidence {
if x , ok := m . GetSum ( ) . ( * Evidence_AmnesiaEvidence ) ; ok {
return x . AmnesiaEvidence
}
return nil
}
func ( m * Evidence ) GetMockEvidence ( ) * MockEvidence {
func ( m * Evidence ) GetMockEvidence ( ) * MockEvidence {
if x , ok := m . GetSum ( ) . ( * Evidence_MockEvidence ) ; ok {
if x , ok := m . GetSum ( ) . ( * Evidence_MockEvidence ) ; ok {
return x . MockEvidence
return x . MockEvidence
@ -507,6 +579,7 @@ func (*Evidence) XXX_OneofWrappers() []interface{} {
( * Evidence_ConflictingHeadersEvidence ) ( nil ) ,
( * Evidence_ConflictingHeadersEvidence ) ( nil ) ,
( * Evidence_LunaticValidatorEvidence ) ( nil ) ,
( * Evidence_LunaticValidatorEvidence ) ( nil ) ,
( * Evidence_PotentialAmnesiaEvidence ) ( nil ) ,
( * Evidence_PotentialAmnesiaEvidence ) ( nil ) ,
( * Evidence_AmnesiaEvidence ) ( nil ) ,
( * Evidence_MockEvidence ) ( nil ) ,
( * Evidence_MockEvidence ) ( nil ) ,
( * Evidence_MockRandomEvidence ) ( nil ) ,
( * Evidence_MockRandomEvidence ) ( nil ) ,
}
}
@ -522,7 +595,7 @@ func (m *EvidenceData) Reset() { *m = EvidenceData{} }
func ( m * EvidenceData ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * EvidenceData ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * EvidenceData ) ProtoMessage ( ) { }
func ( * EvidenceData ) ProtoMessage ( ) { }
func ( * EvidenceData ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * EvidenceData ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 7 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 8 }
}
}
func ( m * EvidenceData ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * EvidenceData ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -574,7 +647,7 @@ func (m *ProofOfLockChange) Reset() { *m = ProofOfLockChange{} }
func ( m * ProofOfLockChange ) String ( ) string { return proto . CompactTextString ( m ) }
func ( m * ProofOfLockChange ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ProofOfLockChange ) ProtoMessage ( ) { }
func ( * ProofOfLockChange ) ProtoMessage ( ) { }
func ( * ProofOfLockChange ) Descriptor ( ) ( [ ] byte , [ ] int ) {
func ( * ProofOfLockChange ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_86495eef24aeacc0 , [ ] int { 8 }
return fileDescriptor_86495eef24aeacc0 , [ ] int { 9 }
}
}
func ( m * ProofOfLockChange ) XXX_Unmarshal ( b [ ] byte ) error {
func ( m * ProofOfLockChange ) XXX_Unmarshal ( b [ ] byte ) error {
return m . Unmarshal ( b )
return m . Unmarshal ( b )
@ -620,6 +693,7 @@ func (m *ProofOfLockChange) GetPubKey() *keys.PublicKey {
func init ( ) {
func init ( ) {
proto . RegisterType ( ( * DuplicateVoteEvidence ) ( nil ) , "tendermint.proto.types.DuplicateVoteEvidence" )
proto . RegisterType ( ( * DuplicateVoteEvidence ) ( nil ) , "tendermint.proto.types.DuplicateVoteEvidence" )
proto . RegisterType ( ( * PotentialAmnesiaEvidence ) ( nil ) , "tendermint.proto.types.PotentialAmnesiaEvidence" )
proto . RegisterType ( ( * PotentialAmnesiaEvidence ) ( nil ) , "tendermint.proto.types.PotentialAmnesiaEvidence" )
proto . RegisterType ( ( * AmnesiaEvidence ) ( nil ) , "tendermint.proto.types.AmnesiaEvidence" )
proto . RegisterType ( ( * MockEvidence ) ( nil ) , "tendermint.proto.types.MockEvidence" )
proto . RegisterType ( ( * MockEvidence ) ( nil ) , "tendermint.proto.types.MockEvidence" )
proto . RegisterType ( ( * MockRandomEvidence ) ( nil ) , "tendermint.proto.types.MockRandomEvidence" )
proto . RegisterType ( ( * MockRandomEvidence ) ( nil ) , "tendermint.proto.types.MockRandomEvidence" )
proto . RegisterType ( ( * ConflictingHeadersEvidence ) ( nil ) , "tendermint.proto.types.ConflictingHeadersEvidence" )
proto . RegisterType ( ( * ConflictingHeadersEvidence ) ( nil ) , "tendermint.proto.types.ConflictingHeadersEvidence" )
@ -632,57 +706,61 @@ func init() {
func init ( ) { proto . RegisterFile ( "proto/types/evidence.proto" , fileDescriptor_86495eef24aeacc0 ) }
func init ( ) { proto . RegisterFile ( "proto/types/evidence.proto" , fileDescriptor_86495eef24aeacc0 ) }
var fileDescriptor_86495eef24aeacc0 = [ ] byte {
var fileDescriptor_86495eef24aeacc0 = [ ] byte {
// 786 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xd4 , 0x55 , 0xcf , 0x4f , 0xdc , 0x46 ,
0x14 , 0xb6 , 0xd9 , 0x1f , 0x85 , 0xc7 , 0xd2 , 0x1f , 0x16 , 0x94 , 0x95 , 0x05 , 0x0b , 0xb2 , 0xaa , 0x42 ,
0xab , 0xd6 , 0x0b , 0x4b , 0xd5 , 0x73 , 0x59 , 0x28 , 0xda , 0x0a , 0xaa , 0x22 , 0x37 , 0xe2 , 0x90 , 0x43 ,
0xac , 0xb1 , 0x3d , 0x6b , 0x8f , 0xd6 , 0xf6 , 0x58 , 0xf6 , 0x78 , 0x25 , 0x1f , 0xa3 , 0xe4 , 0x90 , 0xdc ,
0xf8 , 0x47 , 0x72 , 0xcd , 0xdf , 0xc0 , 0x11 , 0xe5 , 0x94 , 0x53 , 0x12 , 0xc1 , 0x3f , 0x12 , 0x79 , 0xfc ,
0x6b , 0x11 , 0x18 , 0xed , 0x2d , 0xca , 0x65 , 0x35 , 0xfb , 0xe6 , 0x7d , 0xef , 0xfb , 0xc6 , 0xef , 0xcd ,
0x37 , 0x20 , 0x07 , 0x21 , 0x65 , 0xb4 , 0xcf , 0x92 , 0x00 , 0x47 , 0x7d , 0x3c , 0x25 , 0x16 , 0xf6 , 0x4d ,
0xac , 0xf2 , 0xa0 , 0xf4 , 0x23 , 0xc3 , 0xbe , 0x85 , 0x43 , 0x8f , 0xf8 , 0x2c , 0x8b , 0xa8 , 0x3c , 0x4d ,
0xfe , 0x99 , 0x39 , 0x24 , 0xb4 , 0xf4 , 0x00 , 0x85 , 0x2c , 0xe9 , 0x67 , 0x78 , 0x9b , 0xda , 0xb4 , 0x5a ,
0x65 , 0xd9 , 0xf2 , 0xfa , 0x6c , 0x6d , 0xfe , 0x9b , 0x6f , 0x6c , 0xd9 , 0x94 , 0xda , 0x2e , 0xce , 0xb0 ,
0x46 , 0x3c , 0xee , 0x33 , 0xe2 , 0xe1 , 0x88 , 0x21 , 0x2f , 0xc8 , 0x13 , 0x36 , 0x33 , 0xa4 , 0x19 , 0x26 ,
0x01 , 0xa3 , 0xfd , 0x09 , 0x4e , 0xee , 0xe0 , 0x95 , 0xe7 , 0x22 , 0xac , 0x1d , 0xc7 , 0x81 , 0x4b , 0x4c ,
0xc4 , 0xf0 , 0x05 , 0x65 , 0xf8 , 0xef , 0x5c , 0xb8 , 0x74 , 0x00 , 0xed , 0x29 , 0x65 , 0x58 , 0x47 , 0x5d ,
0x71 , 0x5b , 0xdc , 0x5d , 0x1e , 0x6c , 0xa8 , 0x0f , 0x9f , 0x41 , 0x4d , 0x51 , 0x5a , 0x2b , 0xcd , 0x3d ,
0x2c , 0x41 , 0x46 , 0x77 , 0x61 , 0x5e , 0xd0 , 0x50 , 0x79 , 0x29 , 0x42 , 0xf7 , 0x9c , 0x32 , 0xec , 0x33 ,
0x82 , 0xdc , 0x43 , 0xcf , 0xc7 , 0x11 , 0x41 , 0x5f , 0x40 , 0xc6 , 0x1b , 0x11 , 0x3a , 0xff , 0x52 , 0x73 ,
0x52 , 0x52 , 0xef , 0xc0 , 0x77 , 0x45 , 0x1b , 0x75 , 0x07 , 0x13 , 0xdb , 0x61 , 0x5c , 0x43 , 0x43 , 0xfb ,
0xb6 , 0x08 , 0x8f , 0x78 , 0x54 , 0xfa , 0x07 , 0x56 , 0xca , 0xc4 , 0xf4 , 0xfb , 0xe7 , 0xac , 0xb2 , 0x9a ,
0x35 , 0x47 , 0x2d , 0x9a , 0xa3 , 0x3e , 0x29 , 0x9a , 0x33 , 0x5c , 0xbc , 0xfa , 0xb0 , 0x25 , 0x5c , 0x7e ,
0xdc , 0x12 , 0xb5 , 0x4e , 0x01 , 0x4d , 0x37 , 0xa5 , 0x5f , 0xe0 , 0xfb , 0xb2 , 0x14 , 0xb2 , 0xac , 0x10 ,
0x47 , 0x51 , 0xb7 , 0xb1 , 0x2d , 0xee , 0x76 , 0xb4 , 0x52 , 0xcb , 0x61 , 0x16 , 0x56 , 0xde , 0x89 , 0x20 ,
0xa5 , 0x7a , 0x35 , 0xe4 , 0x5b , 0xd4 , 0xfb , 0x4a , 0x54 , 0x4b , 0x9b , 0x00 , 0x21 , 0xf2 , 0x2d , 0xdd ,
0x48 , 0x18 , 0x8e , 0xba , 0x4d , 0x9e , 0xb4 , 0x94 , 0x46 , 0x86 , 0x69 , 0x40 , 0x79 , 0x25 , 0x82 , 0x7c ,
0x44 , 0xfd , 0xb1 , 0x4b , 0x4c , 0x46 , 0x7c , 0x7b , 0x84 , 0x91 , 0x85 , 0xc3 , 0xa8 , 0x3c , 0xdc , 0x1f ,
0xb0 , 0xe0 , 0xec , 0xe7 , 0x93 , 0xf0 , 0x53 , 0x5d , 0x53 , 0xff , 0x27 , 0xb6 , 0x8f , 0xad , 0x0c , 0xaa ,
0x2d , 0x38 , 0xfb , 0x1c , 0x35 , 0xc8 , 0x8f , 0x37 , 0x2f , 0x6a , 0xa0 , 0xbc , 0x15 , 0xa1 , 0x7b , 0x16 ,
0xfb , 0x88 , 0x11 , 0xf3 , 0x02 , 0xb9 , 0xc4 , 0x42 , 0x8c , 0x86 , 0xa5 , 0x90 , 0x3f , 0xa1 , 0xed , 0xf0 ,
0xd4 , 0x5c , 0x4c , 0xaf , 0xae , 0x6c , 0x5e , 0x30 , 0xcf , 0x96 , 0xf6 , 0xa0 , 0x99 , 0x4e , 0xdb , 0x5c ,
0x73 , 0xc9 , 0x33 , 0xa5 , 0x3d , 0x58 , 0x25 , 0xfe , 0x34 , 0x15 , 0xa0 , 0x67 , 0x35 , 0xf4 , 0x31 , 0xc1 ,
0xae , 0xc5 , 0xbf , 0xef , 0x92 , 0x26 , 0xe5 , 0x7b , 0x19 , 0xcd , 0x49 , 0xba , 0xa3 , 0xbc , 0x68 , 0xc1 ,
0x62 , 0x29 , 0xd4 , 0x86 , 0x75 , 0xab , 0xb8 , 0xdf , 0x3a , 0xbf , 0x14 , 0x45 , 0x47 , 0x72 , 0xe5 , 0xbf ,
0xd7 , 0x69 , 0x78 , 0xd0 , 0x16 , 0x46 , 0x82 , 0xb6 , 0x66 , 0x3d , 0xe8 , 0x17 , 0x53 , 0xd8 , 0x30 , 0xab ,
0xc6 , 0xe5 , 0x5a , 0xa3 , 0x8a , 0x2d , 0x3b , 0xf1 , 0xa0 , 0x8e , 0xad , 0xbe , 0xe9 , 0x23 , 0x41 , 0x93 ,
0xcd , 0xfa , 0x91 , 0x08 , 0x40 , 0x76 , 0xb3 , 0x2e , 0xe9 , 0xd3 , 0xa2 , 0x4d , 0x15 , 0x6b , 0x83 , 0xb3 ,
0xee , 0xd5 , 0xb1 , 0xd6 , 0xf5 , 0x77 , 0x24 , 0x68 , 0x5d , 0xb7 , 0xae , 0xf7 , 0x01 , 0xc8 , 0x41 , 0x61 ,
0x57 , 0x3a , 0xca , 0xfc , 0xaa , 0x62 , 0x6c , 0x3e , 0xce , 0x58 , 0x67 , 0x74 , 0x29 , 0x63 , 0x50 , 0x67 ,
0x82 , 0xa7 , 0xb0 , 0xe2 , 0x51 , 0x73 , 0x52 , 0x91 , 0xb4 , 0x1e , 0x9f , 0xe5 , 0x59 , 0x1b , 0x1b , 0x09 ,
0x5a , 0xc7 , 0x9b , 0xb5 , 0xb5 , 0x67 , 0xb0 , 0xca , 0x8b , 0x85 , 0xdc , 0x37 , 0xaa , 0x9a , 0x6d , 0x5e ,
0xf3 , 0xd7 , 0xc7 , 0x6a , 0xde , 0xb5 , 0x9a , 0x91 , 0xa0 , 0x49 , 0xde , 0xbd , 0xe8 , 0xb0 , 0x05 , 0x8d ,
0x28 , 0xf6 , 0x94 , 0x31 , 0x74 , 0x8a , 0xd0 , 0x31 , 0x62 , 0x48 , 0x1a , 0xc2 , 0xe2 , 0xcc , 0xe4 , 0x35 ,
0x76 , 0x97 , 0x07 , 0xdb , 0x75 , 0x54 , 0x65 , 0xa9 , 0x66 , 0xea , 0x37 , 0x5a , 0x89 , 0x93 , 0x24 , 0x68 ,
0x3a , 0x28 , 0x72 , 0xf8 , 0x2c , 0x75 , 0x34 , 0xbe , 0x56 , 0x5e , 0x8b , 0xf0 , 0xc3 , 0x79 , 0x48 , 0xe9 ,
0xf8 , 0xbf , 0xf1 , 0x19 , 0x35 , 0x27 , 0x47 , 0x0e , 0xf2 , 0x6d , 0x2c , 0x0d , 0x80 , 0xbb , 0x7a , 0x94 ,
0x53 , 0xcd , 0xf1 , 0x00 , 0x44 , 0xd2 , 0x5f , 0xf0 , 0x4d , 0x10 , 0x1b , 0xfa , 0x04 , 0x27 , 0xf9 , 0xb0 ,
0xee , 0xdc , 0x47 , 0x65 , 0xef , 0xa8 , 0x9a , 0xbe , 0xa3 , 0xea , 0x79 , 0x6c , 0xb8 , 0xc4 , 0x3c , 0xc5 ,
0x89 , 0xd6 , 0x0e , 0x62 , 0xe3 , 0x14 , 0x27 , 0xc3 , 0x93 , 0xab , 0x9b , 0x9e , 0x78 , 0x7d , 0xd3 , 0x13 ,
0x3f , 0xdd , 0xf4 , 0xc4 , 0xcb , 0xdb , 0x9e , 0x70 , 0x7d , 0xdb , 0x13 , 0xde , 0xdf , 0xf6 , 0x84 , 0xa7 ,
0xbf , 0xd9 , 0x84 , 0x39 , 0xb1 , 0xa1 , 0x9a , 0xd4 , 0xeb , 0x57 , 0x45 , 0x67 , 0x97 , 0x33 , 0x2f , 0xbc ,
0xd1 , 0xe6 , 0x7f , 0x0e , 0x3e , 0x07 , 0x00 , 0x00 , 0xff , 0xff , 0x6a , 0x4c , 0xe5 , 0x0b , 0x53 , 0x08 ,
0x00 , 0x00 ,
// 858 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xd4 , 0x56 , 0xcf , 0x6f , 0xdc , 0x44 ,
0x14 , 0xb6 , 0xb3 , 0x9b , 0x6d , 0xfa , 0xb2 , 0x25 , 0x65 , 0xd4 , 0x52 , 0xcb , 0x6a , 0x37 , 0xc1 , 0x42 ,
0x34 , 0x45 , 0xe0 , 0x4d , 0xb7 , 0x88 , 0x1b , 0x12 , 0xd9 , 0x96 , 0x6a , 0x51 , 0x8a , 0xa8 , 0xa6 , 0x55 ,
0x0f , 0x1c , 0xb0 , 0xc6 , 0xf6 , 0xac , 0x3d , 0x5a , 0xdb , 0x63 , 0xd9 , 0xe3 , 0x95 , 0x7c , 0xe4 , 0x06 ,
0xb7 , 0xfe , 0x17 , 0x9c , 0xb8 , 0x72 , 0xe6 , 0xd8 , 0x63 , 0xc5 , 0x09 , 0x2e , 0x80 , 0x92 , 0x7f , 0x04 ,
0x79 , 0xc6 , 0xf6 , 0x6e , 0x7e , 0x38 , 0x8a , 0x38 , 0x20 , 0x71 , 0x59 , 0x79 , 0xdf , 0xbc , 0xef , 0x7b ,
0xdf , 0x9b , 0xf7 , 0xc3 , 0x06 , 0x33 , 0xcd , 0xb8 , 0xe0 , 0x63 , 0x51 , 0xa6 , 0x34 , 0x1f , 0xd3 , 0x25 ,
0xf3 , 0x69 , 0xe2 , 0x51 , 0x5b , 0x1a , 0xd1 , 0x7b , 0x82 , 0x26 , 0x3e , 0xcd , 0x62 , 0x96 , 0x08 , 0x65 ,
0xb1 , 0xa5 , 0x9b , 0xf9 , 0xa1 , 0x08 , 0x59 , 0xe6 , 0x3b , 0x29 , 0xc9 , 0x44 , 0x39 , 0x56 , 0xf8 , 0x80 ,
0x07 , 0x7c , 0xf5 , 0xa4 , 0xbc , 0xcd , 0x3b , 0xeb , 0xdc , 0xf2 , 0xb7 , 0x3e , 0xd8 , 0x0d , 0x38 , 0x0f ,
0x22 , 0xaa , 0xb0 , 0x6e , 0x31 , 0x1f , 0x0b , 0x16 , 0xd3 , 0x5c , 0x90 , 0x38 , 0xad , 0x1d , 0xee , 0x29 ,
0xa4 , 0x97 , 0x95 , 0xa9 , 0xe0 , 0xe3 , 0x05 , 0x2d , 0x4f , 0xe1 , 0xad , 0xef , 0x75 , 0xb8 , 0xfd , 0xa4 ,
0x48 , 0x23 , 0xe6 , 0x11 , 0x41 , 0x5f , 0x71 , 0x41 , 0xbf , 0xac , 0x85 , 0xa3 , 0x47 , 0x30 , 0x58 , 0x72 ,
0x41 , 0x1d , 0x62 , 0xe8 , 0x7b , 0xfa , 0xfe , 0xf6 , 0xe4 , 0xae , 0x7d , 0x71 , 0x0e , 0x76 , 0x85 , 0xc2 ,
0x9b , 0x95 , 0xef , 0x61 , 0x0b , 0x72 , 0x8d , 0x8d , 0xab , 0x82 , 0xa6 , 0xd6 , 0x4f , 0x3a , 0x18 , 0xcf ,
0xb9 , 0xa0 , 0x89 , 0x60 , 0x24 , 0x3a , 0x8c , 0x13 , 0x9a , 0x33 , 0xf2 , 0xdf , 0xcb , 0x40 , 0xef , 0xc3 ,
0x30 , 0xa4 , 0x2c , 0x08 , 0x85 , 0x23 , 0xef , 0xcf , 0xe8 , 0xed , 0xe9 , 0xfb , 0x3d , 0xbc , 0xad , 0x6c ,
0x2f , 0x2a , 0x93 , 0xf5 , 0xab , 0x0e , 0x3b , 0x67 , 0x05 , 0x26 , 0x60 , 0xa6 , 0x8d , 0x78 , 0x87 , 0xa8 ,
0x43 , 0xa7 , 0x29 , 0x7f , 0x2d , 0xfa , 0xa0 , 0x2b , 0x7e , 0x57 , 0xda , 0xd8 , 0x48 , 0xbb , 0x2e , 0xe4 ,
0x73 , 0xe8 , 0xa7 , 0x3c , 0xf2 , 0xea , 0xcc , 0x1e , 0x74 , 0x32 , 0x67 , 0x9c , 0xcf , 0xbf , 0x99 , 0x3f ,
0xe3 , 0xde , 0xe2 , 0x71 , 0x48 , 0x92 , 0x80 , 0x62 , 0x09 , 0xb3 , 0x7e , 0xd6 , 0x61 , 0xf8 , 0x35 , 0xf7 ,
0x16 , 0x2d , 0xdf , 0x7d , 0xd8 , 0x69 , 0xd4 , 0x3a , 0x2a , 0x57 , 0x29 , 0xba , 0x87 , 0xdf , 0x69 , 0xcc ,
0x33 , 0x69 , 0x45 , 0x5f , 0xc1 , 0x8d , 0xd6 , 0xb1 , 0xea , 0xb2 , 0x5a , 0x81 , 0x69 , 0xab , 0x16 , 0xb4 ,
0x9b , 0x16 , 0xb4 , 0x5f , 0x36 , 0x2d , 0x38 , 0xdd , 0x7a , 0xf3 , 0xe7 , 0xae , 0xf6 , 0xfa , 0xaf , 0x5d ,
0x1d , 0x0f , 0x1b , 0x68 , 0x75 , 0x88 , 0x1e , 0xc0 , 0xcd , 0x96 , 0x8a , 0xf8 , 0x7e , 0x46 , 0xf3 , 0x5c ,
0x5e , 0xf7 , 0x10 , 0xb7 , 0x5a , 0x0e , 0x95 , 0xd9 , 0xfa , 0x4d , 0x07 , 0x54 , 0xe9 , 0xc5 , 0x24 , 0xf1 ,
0x79 , 0xfc , 0x3f , 0x51 , 0x8d , 0xee , 0x01 , 0x64 , 0x24 , 0xf1 , 0x1d , 0xb7 , 0x14 , 0x34 , 0x37 , 0xfa ,
0xd2 , 0xe9 , 0x7a , 0x65 , 0x99 , 0x56 , 0x06 , 0xeb , 0x07 , 0x1d , 0xcc , 0xc7 , 0x3c , 0x99 , 0x47 , 0xcc ,
0x13 , 0x2c , 0x09 , 0x66 , 0x94 , 0xf8 , 0x34 , 0xcb , 0xdb , 0xe4 , 0x3e , 0x85 , 0x8d , 0xf0 , 0x61 , 0xdd ,
0x3a , 0x1f , 0x74 , 0x15 , 0xf8 , 0x05 , 0x0b , 0x12 , 0xea , 0x2b , 0x28 , 0xde , 0x08 , 0x1f , 0x4a , 0xd4 ,
0xa4 , 0x4e , 0xef , 0xaa , 0xa8 , 0x89 , 0xf5 , 0x8b , 0x0e , 0xc6 , 0xb3 , 0x22 , 0x21 , 0x82 , 0x79 , 0xaf ,
0x48 , 0xc4 , 0x7c , 0x22 , 0x78 , 0xd6 , 0x0a , 0xf9 , 0x0c , 0x06 , 0xa1 , 0x74 , 0xad , 0xc5 , 0x8c , 0xba ,
0x68 , 0x6b , 0xc2 , 0xda , 0x1b , 0x1d , 0x40 , 0xbf , 0x9a , 0xa9 , 0x2b , 0x4d , 0x9f , 0xf4 , 0x44 , 0x07 ,
0x70 , 0x8b , 0x25 , 0xcb , 0x4a , 0x80 , 0xa3 , 0x38 , 0x9c , 0x39 , 0xa3 , 0x91 , 0x2f , 0xef , 0xf7 , 0x3a ,
0x46 , 0xf5 , 0x99 , 0x0a , 0xf3 , 0xb4 , 0x3a , 0xb1 , 0xfe , 0xd8 , 0x84 , 0xad , 0x56 , 0x68 , 0x00 , 0x77 ,
0xfc , 0x66 , 0x8b , 0x39 , 0x72 , 0xf4 , 0xcf , 0x4c , 0xe0 , 0x27 , 0x5d , 0x1a , 0x2e , 0x5c , 0x7e , 0x33 ,
0x0d , 0xdf , 0xf6 , 0x2f , 0xdc , 0x8a , 0x4b , 0xb8 , 0xeb , 0xad , 0x0a , 0x57 , 0x6b , 0xcd , 0x57 , 0xd1 ,
0x54 , 0xc6 , 0x93 , 0xae , 0x68 , 0xdd , 0x45 , 0x9f , 0x69 , 0xd8 , 0xf4 , 0xba , 0x5b , 0x22 , 0x05 , 0x33 ,
0x52 , 0x55 , 0x72 , 0x96 , 0x4d , 0x99 , 0x56 , 0x51 , 0x7b , 0x97 , 0x6f , 0x99 , 0xae , 0xfa , 0xce , 0x34 ,
0x6c , 0x44 , 0x5d , 0xb5 , 0x4f , 0x2f , 0xdd , 0x6b , 0xfd , 0x7f , 0xb7 , 0xd7 , 0xaa , 0x88 , 0x9d , 0x9b ,
0xed , 0x25 , 0xdc , 0x3c , 0x17 , 0x67 , 0x53 , 0xc6 , 0xb9 , 0xdf , 0x15 , 0xe7 , 0x3c , 0xfd , 0x0e , 0x39 ,
0xc3 , 0x7a , 0x04 , 0x37 , 0x62 , 0xee , 0x2d , 0x56 , 0x94 , 0x83 , 0xcb , 0x27 , 0x64 , 0x7d , 0x39 , 0xce ,
0x34 , 0x3c , 0x8c , 0xd7 , 0x97 , 0xe5 , 0x77 , 0x70 , 0x4b , 0x92 , 0x65 , 0x72 , 0x1b , 0xad , 0x38 , 0xaf ,
0x49 , 0xce , 0x8f , 0x2e , 0xe3 , 0x3c , 0xbd , 0xc0 , 0x66 , 0x1a , 0x46 , 0xf1 , 0x39 , 0xeb , 0x74 , 0x13 ,
0x7a , 0x79 , 0x11 , 0x5b , 0x73 , 0x18 , 0x36 , 0xa6 , 0x27 , 0x44 , 0x10 , 0x34 , 0x85 , 0xad , 0xb5 , 0x7e ,
0xee , 0xed , 0x6f , 0x4f , 0xf6 , 0xba , 0x42 , 0xb5 , 0x54 , 0xfd , 0x6a , 0x8b , 0xe1 , 0x16 , 0x87 , 0x10 ,
0xf4 , 0x43 , 0x92 , 0x87 , 0xb2 , 0x43 , 0x87 , 0x58 , 0x3e , 0x5b , 0x3f , 0xea , 0xf0 , 0xee , 0xb9 , 0x17 ,
0x05 , 0x9a , 0x80 , 0x7c , 0x23 , 0xe6 , 0x75 , 0xa8 , 0x2b , 0xbc , 0x3c , 0x73 , 0xf4 , 0x05 , 0x5c , 0x4b ,
0x0b , 0xd7 , 0x59 , 0xd0 , 0xb2 , 0x1e , 0x81 , 0x0b , 0x4a , 0xa6 , 0xbe , 0x41 , 0xec , 0xea , 0x1b , 0xc4 ,
0x7e , 0x5e , 0xb8 , 0x11 , 0xf3 , 0x8e , 0x68 , 0x89 , 0x07 , 0x69 , 0xe1 , 0x1e , 0xd1 , 0x72 , 0xfa , 0xf4 ,
0xcd , 0xf1 , 0x48 , 0x7f , 0x7b , 0x3c , 0xd2 , 0xff , 0x3e , 0x1e , 0xe9 , 0xaf , 0x4f , 0x46 , 0xda , 0xdb ,
0x93 , 0x91 , 0xf6 , 0xfb , 0xc9 , 0x48 , 0xfb , 0xf6 , 0xe3 , 0x80 , 0x89 , 0xb0 , 0x70 , 0x6d , 0x8f , 0xc7 ,
0xe3 , 0x15 , 0xe9 , 0xfa , 0xe3 , 0xda , 0xd7 , 0x91 , 0x3b , 0x90 , 0x7f , 0x1e , 0xfd , 0x13 , 0x00 , 0x00 ,
0xff , 0xff , 0xa6 , 0x62 , 0x87 , 0x20 , 0x8f , 0x09 , 0x00 , 0x00 ,
}
}
func ( m * DuplicateVoteEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
func ( m * DuplicateVoteEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
@ -752,6 +830,11 @@ func (m *PotentialAmnesiaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error
_ = i
_ = i
var l int
var l int
_ = l
_ = l
if m . HeightStamp != 0 {
i = encodeVarintEvidence ( dAtA , i , uint64 ( m . HeightStamp ) )
i --
dAtA [ i ] = 0x18
}
if m . VoteB != nil {
if m . VoteB != nil {
{
{
size , err := m . VoteB . MarshalToSizedBuffer ( dAtA [ : i ] )
size , err := m . VoteB . MarshalToSizedBuffer ( dAtA [ : i ] )
@ -779,6 +862,53 @@ func (m *PotentialAmnesiaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error
return len ( dAtA ) - i , nil
return len ( dAtA ) - i , nil
}
}
func ( m * AmnesiaEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
size := m . Size ( )
dAtA = make ( [ ] byte , size )
n , err := m . MarshalToSizedBuffer ( dAtA [ : size ] )
if err != nil {
return nil , err
}
return dAtA [ : n ] , nil
}
func ( m * AmnesiaEvidence ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
size := m . Size ( )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
}
func ( m * AmnesiaEvidence ) MarshalToSizedBuffer ( dAtA [ ] byte ) ( int , error ) {
i := len ( dAtA )
_ = i
var l int
_ = l
if m . Polc != nil {
{
size , err := m . Polc . MarshalToSizedBuffer ( dAtA [ : i ] )
if err != nil {
return 0 , err
}
i -= size
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
}
i --
dAtA [ i ] = 0x12
}
if m . PotentialAmnesiaEvidence != nil {
{
size , err := m . PotentialAmnesiaEvidence . MarshalToSizedBuffer ( dAtA [ : i ] )
if err != nil {
return 0 , err
}
i -= size
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
}
i --
dAtA [ i ] = 0xa
}
return len ( dAtA ) - i , nil
}
func ( m * MockEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
func ( m * MockEvidence ) Marshal ( ) ( dAtA [ ] byte , err error ) {
size := m . Size ( )
size := m . Size ( )
dAtA = make ( [ ] byte , size )
dAtA = make ( [ ] byte , size )
@ -806,12 +936,12 @@ func (m *MockEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i --
i --
dAtA [ i ] = 0x1a
dAtA [ i ] = 0x1a
}
}
n5 , err5 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . EvidenceTime , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . EvidenceTime ) : ] )
if err5 != nil {
return 0 , err5
n7 , err7 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . EvidenceTime , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . EvidenceTime ) : ] )
if err7 != nil {
return 0 , err7
}
}
i -= n5
i = encodeVarintEvidence ( dAtA , i , uint64 ( n5 ) )
i -= n7
i = encodeVarintEvidence ( dAtA , i , uint64 ( n7 ) )
i --
i --
dAtA [ i ] = 0x12
dAtA [ i ] = 0x12
if m . EvidenceHeight != 0 {
if m . EvidenceHeight != 0 {
@ -856,12 +986,12 @@ func (m *MockRandomEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i --
i --
dAtA [ i ] = 0x1a
dAtA [ i ] = 0x1a
}
}
n6 , err6 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . EvidenceTime , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . EvidenceTime ) : ] )
if err6 != nil {
return 0 , err6
n8 , err8 := github_com_gogo_protobuf_types . StdTimeMarshalTo ( m . EvidenceTime , dAtA [ i - github_com_gogo_protobuf_types . SizeOfStdTime ( m . EvidenceTime ) : ] )
if err8 != nil {
return 0 , err8
}
}
i -= n6
i = encodeVarintEvidence ( dAtA , i , uint64 ( n6 ) )
i -= n8
i = encodeVarintEvidence ( dAtA , i , uint64 ( n8 ) )
i --
i --
dAtA [ i ] = 0x12
dAtA [ i ] = 0x12
if m . EvidenceHeight != 0 {
if m . EvidenceHeight != 0 {
@ -1089,6 +1219,27 @@ func (m *Evidence_PotentialAmnesiaEvidence) MarshalToSizedBuffer(dAtA []byte) (i
}
}
return len ( dAtA ) - i , nil
return len ( dAtA ) - i , nil
}
}
func ( m * Evidence_AmnesiaEvidence ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
size := m . Size ( )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
}
func ( m * Evidence_AmnesiaEvidence ) MarshalToSizedBuffer ( dAtA [ ] byte ) ( int , error ) {
i := len ( dAtA )
if m . AmnesiaEvidence != nil {
{
size , err := m . AmnesiaEvidence . MarshalToSizedBuffer ( dAtA [ : i ] )
if err != nil {
return 0 , err
}
i -= size
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
}
i --
dAtA [ i ] = 0x2a
}
return len ( dAtA ) - i , nil
}
func ( m * Evidence_MockEvidence ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
func ( m * Evidence_MockEvidence ) MarshalTo ( dAtA [ ] byte ) ( int , error ) {
size := m . Size ( )
size := m . Size ( )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
return m . MarshalToSizedBuffer ( dAtA [ : size ] )
@ -1106,7 +1257,7 @@ func (m *Evidence_MockEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
}
}
i --
i --
dAtA [ i ] = 0x2a
dAtA [ i ] = 0x3 2
}
}
return len ( dAtA ) - i , nil
return len ( dAtA ) - i , nil
}
}
@ -1127,7 +1278,7 @@ func (m *Evidence_MockRandomEvidence) MarshalToSizedBuffer(dAtA []byte) (int, er
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
i = encodeVarintEvidence ( dAtA , i , uint64 ( size ) )
}
}
i --
i --
dAtA [ i ] = 0x32
dAtA [ i ] = 0x3a
}
}
return len ( dAtA ) - i , nil
return len ( dAtA ) - i , nil
}
}
@ -1266,6 +1417,26 @@ func (m *PotentialAmnesiaEvidence) Size() (n int) {
l = m . VoteB . Size ( )
l = m . VoteB . Size ( )
n += 1 + l + sovEvidence ( uint64 ( l ) )
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
}
if m . HeightStamp != 0 {
n += 1 + sovEvidence ( uint64 ( m . HeightStamp ) )
}
return n
}
func ( m * AmnesiaEvidence ) Size ( ) ( n int ) {
if m == nil {
return 0
}
var l int
_ = l
if m . PotentialAmnesiaEvidence != nil {
l = m . PotentialAmnesiaEvidence . Size ( )
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
if m . Polc != nil {
l = m . Polc . Size ( )
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
return n
return n
}
}
@ -1407,6 +1578,18 @@ func (m *Evidence_PotentialAmnesiaEvidence) Size() (n int) {
}
}
return n
return n
}
}
func ( m * Evidence_AmnesiaEvidence ) Size ( ) ( n int ) {
if m == nil {
return 0
}
var l int
_ = l
if m . AmnesiaEvidence != nil {
l = m . AmnesiaEvidence . Size ( )
n += 1 + l + sovEvidence ( uint64 ( l ) )
}
return n
}
func ( m * Evidence_MockEvidence ) Size ( ) ( n int ) {
func ( m * Evidence_MockEvidence ) Size ( ) ( n int ) {
if m == nil {
if m == nil {
return 0
return 0
@ -1701,6 +1884,150 @@ func (m *PotentialAmnesiaEvidence) Unmarshal(dAtA []byte) error {
return err
return err
}
}
iNdEx = postIndex
iNdEx = postIndex
case 3 :
if wireType != 0 {
return fmt . Errorf ( "proto: wrong wireType = %d for field HeightStamp" , wireType )
}
m . HeightStamp = 0
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
m . HeightStamp |= int64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
default :
iNdEx = preIndex
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthEvidence
}
if ( iNdEx + skippy ) < 0 {
return ErrInvalidLengthEvidence
}
if ( iNdEx + skippy ) > l {
return io . ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io . ErrUnexpectedEOF
}
return nil
}
func ( m * AmnesiaEvidence ) Unmarshal ( dAtA [ ] byte ) error {
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return fmt . Errorf ( "proto: AmnesiaEvidence: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return fmt . Errorf ( "proto: AmnesiaEvidence: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field PotentialAmnesiaEvidence" , 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 m . PotentialAmnesiaEvidence == nil {
m . PotentialAmnesiaEvidence = & PotentialAmnesiaEvidence { }
}
if err := m . PotentialAmnesiaEvidence . Unmarshal ( dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
case 2 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field Polc" , 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 m . Polc == nil {
m . Polc = & ProofOfLockChange { }
}
if err := m . Polc . Unmarshal ( dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
iNdEx = postIndex
default :
default :
iNdEx = preIndex
iNdEx = preIndex
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )
skippy , err := skipEvidence ( dAtA [ iNdEx : ] )
@ -2489,6 +2816,41 @@ func (m *Evidence) Unmarshal(dAtA []byte) error {
m . Sum = & Evidence_PotentialAmnesiaEvidence { v }
m . Sum = & Evidence_PotentialAmnesiaEvidence { v }
iNdEx = postIndex
iNdEx = postIndex
case 5 :
case 5 :
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field AmnesiaEvidence" , 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
}
v := & AmnesiaEvidence { }
if err := v . Unmarshal ( dAtA [ iNdEx : postIndex ] ) ; err != nil {
return err
}
m . Sum = & Evidence_AmnesiaEvidence { v }
iNdEx = postIndex
case 6 :
if wireType != 2 {
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field MockEvidence" , wireType )
return fmt . Errorf ( "proto: wrong wireType = %d for field MockEvidence" , wireType )
}
}
@ -2523,7 +2885,7 @@ func (m *Evidence) Unmarshal(dAtA []byte) error {
}
}
m . Sum = & Evidence_MockEvidence { v }
m . Sum = & Evidence_MockEvidence { v }
iNdEx = postIndex
iNdEx = postIndex
case 6 :
case 7 :
if wireType != 2 {
if wireType != 2 {
return fmt . Errorf ( "proto: wrong wireType = %d for field MockRandomEvidence" , wireType )
return fmt . Errorf ( "proto: wrong wireType = %d for field MockRandomEvidence" , wireType )
}
}