github.com/devwanda/aphelion-staking@v0.33.9/proto/types/evidence.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: proto/types/evidence.proto
     3  
     4  package types
     5  
     6  import (
     7  	fmt "fmt"
     8  	keys "github.com/devwanda/aphelion-staking/proto/crypto/keys"
     9  	_ "github.com/gogo/protobuf/gogoproto"
    10  	proto "github.com/gogo/protobuf/proto"
    11  	_ "github.com/golang/protobuf/ptypes/timestamp"
    12  	math "math"
    13  	time "time"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  var _ = time.Kitchen
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  // DuplicateVoteEvidence contains evidence a validator signed two conflicting
    29  // votes.
    30  type DuplicateVoteEvidence struct {
    31  	PubKey               *keys.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
    32  	VoteA                *Vote           `protobuf:"bytes,2,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty"`
    33  	VoteB                *Vote           `protobuf:"bytes,3,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty"`
    34  	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    35  	XXX_unrecognized     []byte          `json:"-"`
    36  	XXX_sizecache        int32           `json:"-"`
    37  }
    38  
    39  func (m *DuplicateVoteEvidence) Reset()         { *m = DuplicateVoteEvidence{} }
    40  func (m *DuplicateVoteEvidence) String() string { return proto.CompactTextString(m) }
    41  func (*DuplicateVoteEvidence) ProtoMessage()    {}
    42  func (*DuplicateVoteEvidence) Descriptor() ([]byte, []int) {
    43  	return fileDescriptor_86495eef24aeacc0, []int{0}
    44  }
    45  func (m *DuplicateVoteEvidence) XXX_Unmarshal(b []byte) error {
    46  	return xxx_messageInfo_DuplicateVoteEvidence.Unmarshal(m, b)
    47  }
    48  func (m *DuplicateVoteEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    49  	return xxx_messageInfo_DuplicateVoteEvidence.Marshal(b, m, deterministic)
    50  }
    51  func (m *DuplicateVoteEvidence) XXX_Merge(src proto.Message) {
    52  	xxx_messageInfo_DuplicateVoteEvidence.Merge(m, src)
    53  }
    54  func (m *DuplicateVoteEvidence) XXX_Size() int {
    55  	return xxx_messageInfo_DuplicateVoteEvidence.Size(m)
    56  }
    57  func (m *DuplicateVoteEvidence) XXX_DiscardUnknown() {
    58  	xxx_messageInfo_DuplicateVoteEvidence.DiscardUnknown(m)
    59  }
    60  
    61  var xxx_messageInfo_DuplicateVoteEvidence proto.InternalMessageInfo
    62  
    63  func (m *DuplicateVoteEvidence) GetPubKey() *keys.PublicKey {
    64  	if m != nil {
    65  		return m.PubKey
    66  	}
    67  	return nil
    68  }
    69  
    70  func (m *DuplicateVoteEvidence) GetVoteA() *Vote {
    71  	if m != nil {
    72  		return m.VoteA
    73  	}
    74  	return nil
    75  }
    76  
    77  func (m *DuplicateVoteEvidence) GetVoteB() *Vote {
    78  	if m != nil {
    79  		return m.VoteB
    80  	}
    81  	return nil
    82  }
    83  
    84  type PotentialAmnesiaEvidence struct {
    85  	VoteA                *Vote    `protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty"`
    86  	VoteB                *Vote    `protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty"`
    87  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    88  	XXX_unrecognized     []byte   `json:"-"`
    89  	XXX_sizecache        int32    `json:"-"`
    90  }
    91  
    92  func (m *PotentialAmnesiaEvidence) Reset()         { *m = PotentialAmnesiaEvidence{} }
    93  func (m *PotentialAmnesiaEvidence) String() string { return proto.CompactTextString(m) }
    94  func (*PotentialAmnesiaEvidence) ProtoMessage()    {}
    95  func (*PotentialAmnesiaEvidence) Descriptor() ([]byte, []int) {
    96  	return fileDescriptor_86495eef24aeacc0, []int{1}
    97  }
    98  func (m *PotentialAmnesiaEvidence) XXX_Unmarshal(b []byte) error {
    99  	return xxx_messageInfo_PotentialAmnesiaEvidence.Unmarshal(m, b)
   100  }
   101  func (m *PotentialAmnesiaEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   102  	return xxx_messageInfo_PotentialAmnesiaEvidence.Marshal(b, m, deterministic)
   103  }
   104  func (m *PotentialAmnesiaEvidence) XXX_Merge(src proto.Message) {
   105  	xxx_messageInfo_PotentialAmnesiaEvidence.Merge(m, src)
   106  }
   107  func (m *PotentialAmnesiaEvidence) XXX_Size() int {
   108  	return xxx_messageInfo_PotentialAmnesiaEvidence.Size(m)
   109  }
   110  func (m *PotentialAmnesiaEvidence) XXX_DiscardUnknown() {
   111  	xxx_messageInfo_PotentialAmnesiaEvidence.DiscardUnknown(m)
   112  }
   113  
   114  var xxx_messageInfo_PotentialAmnesiaEvidence proto.InternalMessageInfo
   115  
   116  func (m *PotentialAmnesiaEvidence) GetVoteA() *Vote {
   117  	if m != nil {
   118  		return m.VoteA
   119  	}
   120  	return nil
   121  }
   122  
   123  func (m *PotentialAmnesiaEvidence) GetVoteB() *Vote {
   124  	if m != nil {
   125  		return m.VoteB
   126  	}
   127  	return nil
   128  }
   129  
   130  // MockEvidence is used for testing pruposes
   131  type MockEvidence struct {
   132  	EvidenceHeight       int64     `protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty"`
   133  	EvidenceTime         time.Time `protobuf:"bytes,2,opt,name=evidence_time,json=evidenceTime,proto3,stdtime" json:"evidence_time"`
   134  	EvidenceAddress      []byte    `protobuf:"bytes,3,opt,name=evidence_address,json=evidenceAddress,proto3" json:"evidence_address,omitempty"`
   135  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
   136  	XXX_unrecognized     []byte    `json:"-"`
   137  	XXX_sizecache        int32     `json:"-"`
   138  }
   139  
   140  func (m *MockEvidence) Reset()         { *m = MockEvidence{} }
   141  func (m *MockEvidence) String() string { return proto.CompactTextString(m) }
   142  func (*MockEvidence) ProtoMessage()    {}
   143  func (*MockEvidence) Descriptor() ([]byte, []int) {
   144  	return fileDescriptor_86495eef24aeacc0, []int{2}
   145  }
   146  func (m *MockEvidence) XXX_Unmarshal(b []byte) error {
   147  	return xxx_messageInfo_MockEvidence.Unmarshal(m, b)
   148  }
   149  func (m *MockEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   150  	return xxx_messageInfo_MockEvidence.Marshal(b, m, deterministic)
   151  }
   152  func (m *MockEvidence) XXX_Merge(src proto.Message) {
   153  	xxx_messageInfo_MockEvidence.Merge(m, src)
   154  }
   155  func (m *MockEvidence) XXX_Size() int {
   156  	return xxx_messageInfo_MockEvidence.Size(m)
   157  }
   158  func (m *MockEvidence) XXX_DiscardUnknown() {
   159  	xxx_messageInfo_MockEvidence.DiscardUnknown(m)
   160  }
   161  
   162  var xxx_messageInfo_MockEvidence proto.InternalMessageInfo
   163  
   164  func (m *MockEvidence) GetEvidenceHeight() int64 {
   165  	if m != nil {
   166  		return m.EvidenceHeight
   167  	}
   168  	return 0
   169  }
   170  
   171  func (m *MockEvidence) GetEvidenceTime() time.Time {
   172  	if m != nil {
   173  		return m.EvidenceTime
   174  	}
   175  	return time.Time{}
   176  }
   177  
   178  func (m *MockEvidence) GetEvidenceAddress() []byte {
   179  	if m != nil {
   180  		return m.EvidenceAddress
   181  	}
   182  	return nil
   183  }
   184  
   185  type MockRandomEvidence struct {
   186  	EvidenceHeight       int64     `protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty"`
   187  	EvidenceTime         time.Time `protobuf:"bytes,2,opt,name=evidence_time,json=evidenceTime,proto3,stdtime" json:"evidence_time"`
   188  	EvidenceAddress      []byte    `protobuf:"bytes,3,opt,name=evidence_address,json=evidenceAddress,proto3" json:"evidence_address,omitempty"`
   189  	RandBytes            []byte    `protobuf:"bytes,4,opt,name=rand_bytes,json=randBytes,proto3" json:"rand_bytes,omitempty"`
   190  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
   191  	XXX_unrecognized     []byte    `json:"-"`
   192  	XXX_sizecache        int32     `json:"-"`
   193  }
   194  
   195  func (m *MockRandomEvidence) Reset()         { *m = MockRandomEvidence{} }
   196  func (m *MockRandomEvidence) String() string { return proto.CompactTextString(m) }
   197  func (*MockRandomEvidence) ProtoMessage()    {}
   198  func (*MockRandomEvidence) Descriptor() ([]byte, []int) {
   199  	return fileDescriptor_86495eef24aeacc0, []int{3}
   200  }
   201  func (m *MockRandomEvidence) XXX_Unmarshal(b []byte) error {
   202  	return xxx_messageInfo_MockRandomEvidence.Unmarshal(m, b)
   203  }
   204  func (m *MockRandomEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   205  	return xxx_messageInfo_MockRandomEvidence.Marshal(b, m, deterministic)
   206  }
   207  func (m *MockRandomEvidence) XXX_Merge(src proto.Message) {
   208  	xxx_messageInfo_MockRandomEvidence.Merge(m, src)
   209  }
   210  func (m *MockRandomEvidence) XXX_Size() int {
   211  	return xxx_messageInfo_MockRandomEvidence.Size(m)
   212  }
   213  func (m *MockRandomEvidence) XXX_DiscardUnknown() {
   214  	xxx_messageInfo_MockRandomEvidence.DiscardUnknown(m)
   215  }
   216  
   217  var xxx_messageInfo_MockRandomEvidence proto.InternalMessageInfo
   218  
   219  func (m *MockRandomEvidence) GetEvidenceHeight() int64 {
   220  	if m != nil {
   221  		return m.EvidenceHeight
   222  	}
   223  	return 0
   224  }
   225  
   226  func (m *MockRandomEvidence) GetEvidenceTime() time.Time {
   227  	if m != nil {
   228  		return m.EvidenceTime
   229  	}
   230  	return time.Time{}
   231  }
   232  
   233  func (m *MockRandomEvidence) GetEvidenceAddress() []byte {
   234  	if m != nil {
   235  		return m.EvidenceAddress
   236  	}
   237  	return nil
   238  }
   239  
   240  func (m *MockRandomEvidence) GetRandBytes() []byte {
   241  	if m != nil {
   242  		return m.RandBytes
   243  	}
   244  	return nil
   245  }
   246  
   247  type ConflictingHeadersEvidence struct {
   248  	H1                   *SignedHeader `protobuf:"bytes,1,opt,name=h1,proto3" json:"h1,omitempty"`
   249  	H2                   *SignedHeader `protobuf:"bytes,2,opt,name=h2,proto3" json:"h2,omitempty"`
   250  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   251  	XXX_unrecognized     []byte        `json:"-"`
   252  	XXX_sizecache        int32         `json:"-"`
   253  }
   254  
   255  func (m *ConflictingHeadersEvidence) Reset()         { *m = ConflictingHeadersEvidence{} }
   256  func (m *ConflictingHeadersEvidence) String() string { return proto.CompactTextString(m) }
   257  func (*ConflictingHeadersEvidence) ProtoMessage()    {}
   258  func (*ConflictingHeadersEvidence) Descriptor() ([]byte, []int) {
   259  	return fileDescriptor_86495eef24aeacc0, []int{4}
   260  }
   261  func (m *ConflictingHeadersEvidence) XXX_Unmarshal(b []byte) error {
   262  	return xxx_messageInfo_ConflictingHeadersEvidence.Unmarshal(m, b)
   263  }
   264  func (m *ConflictingHeadersEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   265  	return xxx_messageInfo_ConflictingHeadersEvidence.Marshal(b, m, deterministic)
   266  }
   267  func (m *ConflictingHeadersEvidence) XXX_Merge(src proto.Message) {
   268  	xxx_messageInfo_ConflictingHeadersEvidence.Merge(m, src)
   269  }
   270  func (m *ConflictingHeadersEvidence) XXX_Size() int {
   271  	return xxx_messageInfo_ConflictingHeadersEvidence.Size(m)
   272  }
   273  func (m *ConflictingHeadersEvidence) XXX_DiscardUnknown() {
   274  	xxx_messageInfo_ConflictingHeadersEvidence.DiscardUnknown(m)
   275  }
   276  
   277  var xxx_messageInfo_ConflictingHeadersEvidence proto.InternalMessageInfo
   278  
   279  func (m *ConflictingHeadersEvidence) GetH1() *SignedHeader {
   280  	if m != nil {
   281  		return m.H1
   282  	}
   283  	return nil
   284  }
   285  
   286  func (m *ConflictingHeadersEvidence) GetH2() *SignedHeader {
   287  	if m != nil {
   288  		return m.H2
   289  	}
   290  	return nil
   291  }
   292  
   293  type LunaticValidatorEvidence struct {
   294  	Header               *Header  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   295  	Vote                 *Vote    `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"`
   296  	InvalidHeaderField   string   `protobuf:"bytes,3,opt,name=invalid_header_field,json=invalidHeaderField,proto3" json:"invalid_header_field,omitempty"`
   297  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   298  	XXX_unrecognized     []byte   `json:"-"`
   299  	XXX_sizecache        int32    `json:"-"`
   300  }
   301  
   302  func (m *LunaticValidatorEvidence) Reset()         { *m = LunaticValidatorEvidence{} }
   303  func (m *LunaticValidatorEvidence) String() string { return proto.CompactTextString(m) }
   304  func (*LunaticValidatorEvidence) ProtoMessage()    {}
   305  func (*LunaticValidatorEvidence) Descriptor() ([]byte, []int) {
   306  	return fileDescriptor_86495eef24aeacc0, []int{5}
   307  }
   308  func (m *LunaticValidatorEvidence) XXX_Unmarshal(b []byte) error {
   309  	return xxx_messageInfo_LunaticValidatorEvidence.Unmarshal(m, b)
   310  }
   311  func (m *LunaticValidatorEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   312  	return xxx_messageInfo_LunaticValidatorEvidence.Marshal(b, m, deterministic)
   313  }
   314  func (m *LunaticValidatorEvidence) XXX_Merge(src proto.Message) {
   315  	xxx_messageInfo_LunaticValidatorEvidence.Merge(m, src)
   316  }
   317  func (m *LunaticValidatorEvidence) XXX_Size() int {
   318  	return xxx_messageInfo_LunaticValidatorEvidence.Size(m)
   319  }
   320  func (m *LunaticValidatorEvidence) XXX_DiscardUnknown() {
   321  	xxx_messageInfo_LunaticValidatorEvidence.DiscardUnknown(m)
   322  }
   323  
   324  var xxx_messageInfo_LunaticValidatorEvidence proto.InternalMessageInfo
   325  
   326  func (m *LunaticValidatorEvidence) GetHeader() *Header {
   327  	if m != nil {
   328  		return m.Header
   329  	}
   330  	return nil
   331  }
   332  
   333  func (m *LunaticValidatorEvidence) GetVote() *Vote {
   334  	if m != nil {
   335  		return m.Vote
   336  	}
   337  	return nil
   338  }
   339  
   340  func (m *LunaticValidatorEvidence) GetInvalidHeaderField() string {
   341  	if m != nil {
   342  		return m.InvalidHeaderField
   343  	}
   344  	return ""
   345  }
   346  
   347  type Evidence struct {
   348  	// Types that are valid to be assigned to Sum:
   349  	//	*Evidence_DuplicateVoteEvidence
   350  	//	*Evidence_ConflictingHeadersEvidence
   351  	//	*Evidence_LunaticValidatorEvidence
   352  	//	*Evidence_PotentialAmnesiaEvidence
   353  	//	*Evidence_MockEvidence
   354  	//	*Evidence_MockRandomEvidence
   355  	Sum                  isEvidence_Sum `protobuf_oneof:"sum"`
   356  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   357  	XXX_unrecognized     []byte         `json:"-"`
   358  	XXX_sizecache        int32          `json:"-"`
   359  }
   360  
   361  func (m *Evidence) Reset()         { *m = Evidence{} }
   362  func (m *Evidence) String() string { return proto.CompactTextString(m) }
   363  func (*Evidence) ProtoMessage()    {}
   364  func (*Evidence) Descriptor() ([]byte, []int) {
   365  	return fileDescriptor_86495eef24aeacc0, []int{6}
   366  }
   367  func (m *Evidence) XXX_Unmarshal(b []byte) error {
   368  	return xxx_messageInfo_Evidence.Unmarshal(m, b)
   369  }
   370  func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   371  	return xxx_messageInfo_Evidence.Marshal(b, m, deterministic)
   372  }
   373  func (m *Evidence) XXX_Merge(src proto.Message) {
   374  	xxx_messageInfo_Evidence.Merge(m, src)
   375  }
   376  func (m *Evidence) XXX_Size() int {
   377  	return xxx_messageInfo_Evidence.Size(m)
   378  }
   379  func (m *Evidence) XXX_DiscardUnknown() {
   380  	xxx_messageInfo_Evidence.DiscardUnknown(m)
   381  }
   382  
   383  var xxx_messageInfo_Evidence proto.InternalMessageInfo
   384  
   385  type isEvidence_Sum interface {
   386  	isEvidence_Sum()
   387  }
   388  
   389  type Evidence_DuplicateVoteEvidence struct {
   390  	DuplicateVoteEvidence *DuplicateVoteEvidence `protobuf:"bytes,1,opt,name=duplicate_vote_evidence,json=duplicateVoteEvidence,proto3,oneof" json:"duplicate_vote_evidence,omitempty"`
   391  }
   392  type Evidence_ConflictingHeadersEvidence struct {
   393  	ConflictingHeadersEvidence *ConflictingHeadersEvidence `protobuf:"bytes,2,opt,name=conflicting_headers_evidence,json=conflictingHeadersEvidence,proto3,oneof" json:"conflicting_headers_evidence,omitempty"`
   394  }
   395  type Evidence_LunaticValidatorEvidence struct {
   396  	LunaticValidatorEvidence *LunaticValidatorEvidence `protobuf:"bytes,3,opt,name=lunatic_validator_evidence,json=lunaticValidatorEvidence,proto3,oneof" json:"lunatic_validator_evidence,omitempty"`
   397  }
   398  type Evidence_PotentialAmnesiaEvidence struct {
   399  	PotentialAmnesiaEvidence *PotentialAmnesiaEvidence `protobuf:"bytes,4,opt,name=potential_amnesia_evidence,json=potentialAmnesiaEvidence,proto3,oneof" json:"potential_amnesia_evidence,omitempty"`
   400  }
   401  type Evidence_MockEvidence struct {
   402  	MockEvidence *MockEvidence `protobuf:"bytes,5,opt,name=mock_evidence,json=mockEvidence,proto3,oneof" json:"mock_evidence,omitempty"`
   403  }
   404  type Evidence_MockRandomEvidence struct {
   405  	MockRandomEvidence *MockRandomEvidence `protobuf:"bytes,6,opt,name=mock_random_evidence,json=mockRandomEvidence,proto3,oneof" json:"mock_random_evidence,omitempty"`
   406  }
   407  
   408  func (*Evidence_DuplicateVoteEvidence) isEvidence_Sum()      {}
   409  func (*Evidence_ConflictingHeadersEvidence) isEvidence_Sum() {}
   410  func (*Evidence_LunaticValidatorEvidence) isEvidence_Sum()   {}
   411  func (*Evidence_PotentialAmnesiaEvidence) isEvidence_Sum()   {}
   412  func (*Evidence_MockEvidence) isEvidence_Sum()               {}
   413  func (*Evidence_MockRandomEvidence) isEvidence_Sum()         {}
   414  
   415  func (m *Evidence) GetSum() isEvidence_Sum {
   416  	if m != nil {
   417  		return m.Sum
   418  	}
   419  	return nil
   420  }
   421  
   422  func (m *Evidence) GetDuplicateVoteEvidence() *DuplicateVoteEvidence {
   423  	if x, ok := m.GetSum().(*Evidence_DuplicateVoteEvidence); ok {
   424  		return x.DuplicateVoteEvidence
   425  	}
   426  	return nil
   427  }
   428  
   429  func (m *Evidence) GetConflictingHeadersEvidence() *ConflictingHeadersEvidence {
   430  	if x, ok := m.GetSum().(*Evidence_ConflictingHeadersEvidence); ok {
   431  		return x.ConflictingHeadersEvidence
   432  	}
   433  	return nil
   434  }
   435  
   436  func (m *Evidence) GetLunaticValidatorEvidence() *LunaticValidatorEvidence {
   437  	if x, ok := m.GetSum().(*Evidence_LunaticValidatorEvidence); ok {
   438  		return x.LunaticValidatorEvidence
   439  	}
   440  	return nil
   441  }
   442  
   443  func (m *Evidence) GetPotentialAmnesiaEvidence() *PotentialAmnesiaEvidence {
   444  	if x, ok := m.GetSum().(*Evidence_PotentialAmnesiaEvidence); ok {
   445  		return x.PotentialAmnesiaEvidence
   446  	}
   447  	return nil
   448  }
   449  
   450  func (m *Evidence) GetMockEvidence() *MockEvidence {
   451  	if x, ok := m.GetSum().(*Evidence_MockEvidence); ok {
   452  		return x.MockEvidence
   453  	}
   454  	return nil
   455  }
   456  
   457  func (m *Evidence) GetMockRandomEvidence() *MockRandomEvidence {
   458  	if x, ok := m.GetSum().(*Evidence_MockRandomEvidence); ok {
   459  		return x.MockRandomEvidence
   460  	}
   461  	return nil
   462  }
   463  
   464  // XXX_OneofWrappers is for the internal use of the proto package.
   465  func (*Evidence) XXX_OneofWrappers() []interface{} {
   466  	return []interface{}{
   467  		(*Evidence_DuplicateVoteEvidence)(nil),
   468  		(*Evidence_ConflictingHeadersEvidence)(nil),
   469  		(*Evidence_LunaticValidatorEvidence)(nil),
   470  		(*Evidence_PotentialAmnesiaEvidence)(nil),
   471  		(*Evidence_MockEvidence)(nil),
   472  		(*Evidence_MockRandomEvidence)(nil),
   473  	}
   474  }
   475  
   476  // EvidenceData contains any evidence of malicious wrong-doing by validators
   477  type EvidenceData struct {
   478  	Evidence             []Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence"`
   479  	Hash                 []byte     `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
   480  	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
   481  	XXX_unrecognized     []byte     `json:"-"`
   482  	XXX_sizecache        int32      `json:"-"`
   483  }
   484  
   485  func (m *EvidenceData) Reset()         { *m = EvidenceData{} }
   486  func (m *EvidenceData) String() string { return proto.CompactTextString(m) }
   487  func (*EvidenceData) ProtoMessage()    {}
   488  func (*EvidenceData) Descriptor() ([]byte, []int) {
   489  	return fileDescriptor_86495eef24aeacc0, []int{7}
   490  }
   491  func (m *EvidenceData) XXX_Unmarshal(b []byte) error {
   492  	return xxx_messageInfo_EvidenceData.Unmarshal(m, b)
   493  }
   494  func (m *EvidenceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   495  	return xxx_messageInfo_EvidenceData.Marshal(b, m, deterministic)
   496  }
   497  func (m *EvidenceData) XXX_Merge(src proto.Message) {
   498  	xxx_messageInfo_EvidenceData.Merge(m, src)
   499  }
   500  func (m *EvidenceData) XXX_Size() int {
   501  	return xxx_messageInfo_EvidenceData.Size(m)
   502  }
   503  func (m *EvidenceData) XXX_DiscardUnknown() {
   504  	xxx_messageInfo_EvidenceData.DiscardUnknown(m)
   505  }
   506  
   507  var xxx_messageInfo_EvidenceData proto.InternalMessageInfo
   508  
   509  func (m *EvidenceData) GetEvidence() []Evidence {
   510  	if m != nil {
   511  		return m.Evidence
   512  	}
   513  	return nil
   514  }
   515  
   516  func (m *EvidenceData) GetHash() []byte {
   517  	if m != nil {
   518  		return m.Hash
   519  	}
   520  	return nil
   521  }
   522  
   523  type ProofOfLockChange struct {
   524  	Votes                []Vote         `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes"`
   525  	PubKey               keys.PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
   526  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   527  	XXX_unrecognized     []byte         `json:"-"`
   528  	XXX_sizecache        int32          `json:"-"`
   529  }
   530  
   531  func (m *ProofOfLockChange) Reset()         { *m = ProofOfLockChange{} }
   532  func (m *ProofOfLockChange) String() string { return proto.CompactTextString(m) }
   533  func (*ProofOfLockChange) ProtoMessage()    {}
   534  func (*ProofOfLockChange) Descriptor() ([]byte, []int) {
   535  	return fileDescriptor_86495eef24aeacc0, []int{8}
   536  }
   537  func (m *ProofOfLockChange) XXX_Unmarshal(b []byte) error {
   538  	return xxx_messageInfo_ProofOfLockChange.Unmarshal(m, b)
   539  }
   540  func (m *ProofOfLockChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   541  	return xxx_messageInfo_ProofOfLockChange.Marshal(b, m, deterministic)
   542  }
   543  func (m *ProofOfLockChange) XXX_Merge(src proto.Message) {
   544  	xxx_messageInfo_ProofOfLockChange.Merge(m, src)
   545  }
   546  func (m *ProofOfLockChange) XXX_Size() int {
   547  	return xxx_messageInfo_ProofOfLockChange.Size(m)
   548  }
   549  func (m *ProofOfLockChange) XXX_DiscardUnknown() {
   550  	xxx_messageInfo_ProofOfLockChange.DiscardUnknown(m)
   551  }
   552  
   553  var xxx_messageInfo_ProofOfLockChange proto.InternalMessageInfo
   554  
   555  func (m *ProofOfLockChange) GetVotes() []Vote {
   556  	if m != nil {
   557  		return m.Votes
   558  	}
   559  	return nil
   560  }
   561  
   562  func (m *ProofOfLockChange) GetPubKey() keys.PublicKey {
   563  	if m != nil {
   564  		return m.PubKey
   565  	}
   566  	return keys.PublicKey{}
   567  }
   568  
   569  func init() {
   570  	proto.RegisterType((*DuplicateVoteEvidence)(nil), "tendermint.proto.types.DuplicateVoteEvidence")
   571  	proto.RegisterType((*PotentialAmnesiaEvidence)(nil), "tendermint.proto.types.PotentialAmnesiaEvidence")
   572  	proto.RegisterType((*MockEvidence)(nil), "tendermint.proto.types.MockEvidence")
   573  	proto.RegisterType((*MockRandomEvidence)(nil), "tendermint.proto.types.MockRandomEvidence")
   574  	proto.RegisterType((*ConflictingHeadersEvidence)(nil), "tendermint.proto.types.ConflictingHeadersEvidence")
   575  	proto.RegisterType((*LunaticValidatorEvidence)(nil), "tendermint.proto.types.LunaticValidatorEvidence")
   576  	proto.RegisterType((*Evidence)(nil), "tendermint.proto.types.Evidence")
   577  	proto.RegisterType((*EvidenceData)(nil), "tendermint.proto.types.EvidenceData")
   578  	proto.RegisterType((*ProofOfLockChange)(nil), "tendermint.proto.types.ProofOfLockChange")
   579  }
   580  
   581  func init() { proto.RegisterFile("proto/types/evidence.proto", fileDescriptor_86495eef24aeacc0) }
   582  
   583  var fileDescriptor_86495eef24aeacc0 = []byte{
   584  	// 784 bytes of a gzipped FileDescriptorProto
   585  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xcb, 0x6e, 0xdb, 0x38,
   586  	0x14, 0xb5, 0xfc, 0x9a, 0x84, 0x71, 0xe6, 0x41, 0x24, 0x13, 0x43, 0x48, 0x26, 0x81, 0x30, 0x98,
   587  	0x64, 0x06, 0x33, 0x72, 0xe2, 0x0c, 0x8a, 0x2e, 0x1b, 0x27, 0x0d, 0x5c, 0x24, 0x45, 0x03, 0xb5,
   588  	0xc8, 0xa2, 0x8b, 0x0a, 0x94, 0x44, 0x4b, 0x84, 0x25, 0x51, 0x90, 0x28, 0x03, 0x5a, 0xb7, 0x8b,
   589  	0x2e, 0xbb, 0xe9, 0x67, 0x74, 0xdb, 0x1f, 0xe8, 0xa6, 0xeb, 0x7e, 0x40, 0xfb, 0x2b, 0x85, 0x48,
   590  	0x4a, 0x72, 0x90, 0xc8, 0x70, 0xbb, 0xeb, 0x26, 0x60, 0x2e, 0xef, 0x3d, 0xe7, 0x90, 0xf7, 0xea,
   591  	0xd0, 0x40, 0x8d, 0x62, 0xca, 0xe8, 0x80, 0x65, 0x11, 0x4e, 0x06, 0x78, 0x46, 0x1c, 0x1c, 0xda,
   592  	0x58, 0xe7, 0x41, 0xf8, 0x3b, 0xc3, 0xa1, 0x83, 0xe3, 0x80, 0x84, 0x4c, 0x44, 0x74, 0x9e, 0xa6,
   593  	0xfe, 0xc5, 0x3c, 0x12, 0x3b, 0x66, 0x84, 0x62, 0x96, 0x0d, 0x44, 0xbd, 0x4b, 0x5d, 0x5a, 0xad,
   594  	0x44, 0xb6, 0xba, 0x35, 0x8f, 0xcd, 0xff, 0xca, 0x8d, 0x5d, 0x97, 0x52, 0xd7, 0xc7, 0xa2, 0xd6,
   595  	0x4a, 0x27, 0x03, 0x46, 0x02, 0x9c, 0x30, 0x14, 0x44, 0x32, 0x61, 0x47, 0x54, 0xda, 0x71, 0x16,
   596  	0x31, 0x3a, 0x98, 0xe2, 0xec, 0x46, 0xbd, 0xf6, 0x41, 0x01, 0x9b, 0x67, 0x69, 0xe4, 0x13, 0x1b,
   597  	0x31, 0x7c, 0x4d, 0x19, 0x7e, 0x28, 0x85, 0xc3, 0x07, 0xe0, 0xa7, 0x28, 0xb5, 0xcc, 0x29, 0xce,
   598  	0xfa, 0xca, 0x9e, 0x72, 0xb0, 0x36, 0xdc, 0xd7, 0x6f, 0x1d, 0x42, 0xa0, 0xea, 0x39, 0xaa, 0x7e,
   599  	0x95, 0x5a, 0x3e, 0xb1, 0x2f, 0x70, 0x66, 0x74, 0xa3, 0xd4, 0xba, 0xc0, 0x19, 0x3c, 0x06, 0xdd,
   600  	0x19, 0x65, 0xd8, 0x44, 0xfd, 0x26, 0x07, 0xd8, 0xd6, 0xef, 0xbe, 0x05, 0x3d, 0xe7, 0x35, 0x3a,
   601  	0x79, 0xee, 0x49, 0x59, 0x64, 0xf5, 0x5b, 0xcb, 0x16, 0x8d, 0xb4, 0x57, 0x0a, 0xe8, 0x5f, 0x51,
   602  	0x86, 0x43, 0x46, 0x90, 0x7f, 0x12, 0x84, 0x38, 0x21, 0xa8, 0x3c, 0x48, 0x25, 0x43, 0xf9, 0x1e,
   603  	0x19, 0xcd, 0xe5, 0x65, 0xbc, 0x53, 0x40, 0xef, 0x31, 0xb5, 0xa7, 0x25, 0xf5, 0x3e, 0xf8, 0xa5,
   604  	0x18, 0x04, 0xd3, 0xc3, 0xc4, 0xf5, 0x18, 0xd7, 0xd0, 0x32, 0x7e, 0x2e, 0xc2, 0x63, 0x1e, 0x85,
   605  	0x8f, 0xc0, 0x7a, 0x99, 0x98, 0x77, 0x50, 0xb2, 0xaa, 0xba, 0x68, 0xaf, 0x5e, 0xb4, 0x57, 0x7f,
   606  	0x56, 0xb4, 0x77, 0xb4, 0xf2, 0xf1, 0xf3, 0x6e, 0xe3, 0xcd, 0x97, 0x5d, 0xc5, 0xe8, 0x15, 0xa5,
   607  	0xf9, 0x26, 0xfc, 0x1b, 0xfc, 0x5a, 0x42, 0x21, 0xc7, 0x89, 0x71, 0x92, 0xf0, 0xab, 0xec, 0x19,
   608  	0xa5, 0x96, 0x13, 0x11, 0xd6, 0x3e, 0x29, 0x00, 0xe6, 0x7a, 0x0d, 0x14, 0x3a, 0x34, 0xf8, 0x41,
   609  	0x54, 0xc3, 0x1d, 0x00, 0x62, 0x14, 0x3a, 0xa6, 0x95, 0x31, 0x9c, 0xf4, 0xdb, 0x3c, 0x69, 0x35,
   610  	0x8f, 0x8c, 0xf2, 0x80, 0xf6, 0x5a, 0x01, 0xea, 0x29, 0x0d, 0x27, 0x3e, 0xb1, 0x19, 0x09, 0xdd,
   611  	0x31, 0x46, 0x0e, 0x8e, 0x93, 0xf2, 0x70, 0xff, 0x83, 0xa6, 0x77, 0x24, 0x27, 0xe1, 0xcf, 0xba,
   612  	0xa6, 0x3e, 0x25, 0x6e, 0x88, 0x1d, 0x51, 0x6a, 0x34, 0xbd, 0x23, 0x5e, 0x35, 0x94, 0xc7, 0x5b,
   613  	0xb6, 0x6a, 0xa8, 0xbd, 0x57, 0x40, 0xff, 0x32, 0x0d, 0x11, 0x23, 0xf6, 0x35, 0xf2, 0x89, 0x83,
   614  	0x18, 0x8d, 0x4b, 0x21, 0xf7, 0x40, 0xd7, 0xe3, 0xa9, 0x52, 0xcc, 0x1f, 0x75, 0xb0, 0x12, 0x50,
   615  	0x66, 0xc3, 0x43, 0xd0, 0xce, 0xa7, 0x6d, 0xa9, 0xb9, 0xe4, 0x99, 0xf0, 0x10, 0x6c, 0x90, 0x70,
   616  	0x96, 0x0b, 0x30, 0x05, 0x86, 0x39, 0x21, 0xd8, 0x77, 0xf8, 0xfd, 0xae, 0x1a, 0x50, 0xee, 0x09,
   617  	0x9a, 0xf3, 0x7c, 0x47, 0x7b, 0xd9, 0x01, 0x2b, 0xa5, 0x50, 0x17, 0x6c, 0x39, 0x85, 0x43, 0x98,
   618  	0xfc, 0xa3, 0x28, 0x3a, 0x22, 0x95, 0xff, 0x57, 0xa7, 0xe1, 0x4e, 0x63, 0x19, 0x37, 0x8c, 0x4d,
   619  	0xe7, 0x4e, 0xc7, 0x99, 0x81, 0x6d, 0xbb, 0x6a, 0x9c, 0xd4, 0x9a, 0x54, 0x6c, 0xe2, 0xc4, 0xc3,
   620  	0x3a, 0xb6, 0xfa, 0xa6, 0x8f, 0x1b, 0x86, 0x6a, 0xd7, 0x8f, 0x44, 0x04, 0x54, 0x5f, 0x74, 0xc9,
   621  	0x9c, 0x15, 0x6d, 0xaa, 0x58, 0x85, 0x0d, 0x1d, 0xd6, 0xb1, 0xd6, 0xf5, 0x77, 0xdc, 0x30, 0xfa,
   622  	0x7e, 0x5d, 0xef, 0x23, 0xa0, 0x46, 0x85, 0x5d, 0x99, 0x48, 0xf8, 0x55, 0xc5, 0xd8, 0x5e, 0xcc,
   623  	0x58, 0x67, 0x74, 0x39, 0x63, 0x54, 0x67, 0x82, 0x17, 0x60, 0x3d, 0xa0, 0xf6, 0xb4, 0x22, 0xe9,
   624  	0x2c, 0x9e, 0xe5, 0x79, 0x1b, 0x1b, 0x37, 0x8c, 0x5e, 0x30, 0x6f, 0x6b, 0x2f, 0xc0, 0x06, 0x07,
   625  	0x8b, 0xb9, 0x6f, 0x54, 0x98, 0x5d, 0x8e, 0xf9, 0xcf, 0x22, 0xcc, 0x9b, 0x56, 0x33, 0x6e, 0x18,
   626  	0x30, 0xb8, 0x15, 0x1d, 0x75, 0x40, 0x2b, 0x49, 0x03, 0x6d, 0x02, 0x7a, 0x45, 0xe8, 0x0c, 0x31,
   627  	0x04, 0x47, 0x60, 0x65, 0x6e, 0xf2, 0x5a, 0x07, 0x6b, 0xc3, 0xbd, 0x3a, 0xaa, 0x12, 0xaa, 0x9d,
   628  	0xfb, 0x8d, 0x51, 0xd6, 0x41, 0x08, 0xda, 0x1e, 0x4a, 0x3c, 0x3e, 0x4b, 0x3d, 0x83, 0xaf, 0xb5,
   629  	0xb7, 0x0a, 0xf8, 0xed, 0x2a, 0xa6, 0x74, 0xf2, 0x64, 0x72, 0x49, 0xed, 0xe9, 0xa9, 0x87, 0x42,
   630  	0x17, 0xc3, 0xfb, 0x80, 0xbb, 0x7a, 0x22, 0xa9, 0x16, 0x7e, 0x68, 0x92, 0x46, 0x14, 0xc0, 0xf3,
   631  	0xea, 0xe5, 0x6c, 0x7e, 0xd3, 0xcb, 0x29, 0x61, 0xe4, 0xfb, 0x39, 0xd2, 0x9f, 0xff, 0xeb, 0x12,
   632  	0xe6, 0xa5, 0x96, 0x6e, 0xd3, 0x60, 0x50, 0x41, 0xcc, 0x2f, 0xe7, 0x7e, 0x17, 0x58, 0x5d, 0xfe,
   633  	0xcf, 0xf1, 0xd7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x06, 0x2d, 0xa0, 0x89, 0x08, 0x00, 0x00,
   634  }