- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: proto/types/evidence.proto
-
- package types
-
- import (
- fmt "fmt"
- _ "github.com/gogo/protobuf/gogoproto"
- proto "github.com/gogo/protobuf/proto"
- _ "github.com/golang/protobuf/ptypes/timestamp"
- keys "github.com/tendermint/tendermint/proto/crypto/keys"
- math "math"
- 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.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *DuplicateVoteEvidence) Reset() { *m = DuplicateVoteEvidence{} }
- func (m *DuplicateVoteEvidence) String() string { return proto.CompactTextString(m) }
- func (*DuplicateVoteEvidence) ProtoMessage() {}
- func (*DuplicateVoteEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{0}
- }
- func (m *DuplicateVoteEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DuplicateVoteEvidence.Unmarshal(m, b)
- }
- func (m *DuplicateVoteEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DuplicateVoteEvidence.Marshal(b, m, deterministic)
- }
- func (m *DuplicateVoteEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DuplicateVoteEvidence.Merge(m, src)
- }
- func (m *DuplicateVoteEvidence) XXX_Size() int {
- return xxx_messageInfo_DuplicateVoteEvidence.Size(m)
- }
- func (m *DuplicateVoteEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_DuplicateVoteEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_DuplicateVoteEvidence proto.InternalMessageInfo
-
- func (m *DuplicateVoteEvidence) GetVoteA() *Vote {
- if m != nil {
- return m.VoteA
- }
- return nil
- }
-
- func (m *DuplicateVoteEvidence) GetVoteB() *Vote {
- if m != nil {
- return m.VoteB
- }
- return nil
- }
-
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *PotentialAmnesiaEvidence) Reset() { *m = PotentialAmnesiaEvidence{} }
- func (m *PotentialAmnesiaEvidence) String() string { return proto.CompactTextString(m) }
- func (*PotentialAmnesiaEvidence) ProtoMessage() {}
- func (*PotentialAmnesiaEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{1}
- }
- func (m *PotentialAmnesiaEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PotentialAmnesiaEvidence.Unmarshal(m, b)
- }
- func (m *PotentialAmnesiaEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PotentialAmnesiaEvidence.Marshal(b, m, deterministic)
- }
- func (m *PotentialAmnesiaEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PotentialAmnesiaEvidence.Merge(m, src)
- }
- func (m *PotentialAmnesiaEvidence) XXX_Size() int {
- return xxx_messageInfo_PotentialAmnesiaEvidence.Size(m)
- }
- func (m *PotentialAmnesiaEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_PotentialAmnesiaEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_PotentialAmnesiaEvidence proto.InternalMessageInfo
-
- func (m *PotentialAmnesiaEvidence) GetVoteA() *Vote {
- if m != nil {
- return m.VoteA
- }
- return nil
- }
-
- func (m *PotentialAmnesiaEvidence) GetVoteB() *Vote {
- if m != nil {
- return m.VoteB
- }
- return nil
- }
-
- // MockEvidence is used for testing pruposes
- type MockEvidence struct {
- EvidenceHeight int64 `protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty"`
- EvidenceTime time.Time `protobuf:"bytes,2,opt,name=evidence_time,json=evidenceTime,proto3,stdtime" json:"evidence_time"`
- EvidenceAddress []byte `protobuf:"bytes,3,opt,name=evidence_address,json=evidenceAddress,proto3" json:"evidence_address,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *MockEvidence) Reset() { *m = MockEvidence{} }
- func (m *MockEvidence) String() string { return proto.CompactTextString(m) }
- func (*MockEvidence) ProtoMessage() {}
- func (*MockEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{2}
- }
- func (m *MockEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MockEvidence.Unmarshal(m, b)
- }
- func (m *MockEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MockEvidence.Marshal(b, m, deterministic)
- }
- func (m *MockEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MockEvidence.Merge(m, src)
- }
- func (m *MockEvidence) XXX_Size() int {
- return xxx_messageInfo_MockEvidence.Size(m)
- }
- func (m *MockEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_MockEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MockEvidence proto.InternalMessageInfo
-
- func (m *MockEvidence) GetEvidenceHeight() int64 {
- if m != nil {
- return m.EvidenceHeight
- }
- return 0
- }
-
- func (m *MockEvidence) GetEvidenceTime() time.Time {
- if m != nil {
- return m.EvidenceTime
- }
- return time.Time{}
- }
-
- func (m *MockEvidence) GetEvidenceAddress() []byte {
- if m != nil {
- return m.EvidenceAddress
- }
- return nil
- }
-
- type MockRandomEvidence struct {
- EvidenceHeight int64 `protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty"`
- EvidenceTime time.Time `protobuf:"bytes,2,opt,name=evidence_time,json=evidenceTime,proto3,stdtime" json:"evidence_time"`
- EvidenceAddress []byte `protobuf:"bytes,3,opt,name=evidence_address,json=evidenceAddress,proto3" json:"evidence_address,omitempty"`
- RandBytes []byte `protobuf:"bytes,4,opt,name=rand_bytes,json=randBytes,proto3" json:"rand_bytes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *MockRandomEvidence) Reset() { *m = MockRandomEvidence{} }
- func (m *MockRandomEvidence) String() string { return proto.CompactTextString(m) }
- func (*MockRandomEvidence) ProtoMessage() {}
- func (*MockRandomEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{3}
- }
- func (m *MockRandomEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MockRandomEvidence.Unmarshal(m, b)
- }
- func (m *MockRandomEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MockRandomEvidence.Marshal(b, m, deterministic)
- }
- func (m *MockRandomEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MockRandomEvidence.Merge(m, src)
- }
- func (m *MockRandomEvidence) XXX_Size() int {
- return xxx_messageInfo_MockRandomEvidence.Size(m)
- }
- func (m *MockRandomEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_MockRandomEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_MockRandomEvidence proto.InternalMessageInfo
-
- func (m *MockRandomEvidence) GetEvidenceHeight() int64 {
- if m != nil {
- return m.EvidenceHeight
- }
- return 0
- }
-
- func (m *MockRandomEvidence) GetEvidenceTime() time.Time {
- if m != nil {
- return m.EvidenceTime
- }
- return time.Time{}
- }
-
- func (m *MockRandomEvidence) GetEvidenceAddress() []byte {
- if m != nil {
- return m.EvidenceAddress
- }
- return nil
- }
-
- func (m *MockRandomEvidence) GetRandBytes() []byte {
- if m != nil {
- return m.RandBytes
- }
- return nil
- }
-
- type ConflictingHeadersEvidence struct {
- H1 *SignedHeader `protobuf:"bytes,1,opt,name=h1,proto3" json:"h1,omitempty"`
- H2 *SignedHeader `protobuf:"bytes,2,opt,name=h2,proto3" json:"h2,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ConflictingHeadersEvidence) Reset() { *m = ConflictingHeadersEvidence{} }
- func (m *ConflictingHeadersEvidence) String() string { return proto.CompactTextString(m) }
- func (*ConflictingHeadersEvidence) ProtoMessage() {}
- func (*ConflictingHeadersEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{4}
- }
- func (m *ConflictingHeadersEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConflictingHeadersEvidence.Unmarshal(m, b)
- }
- func (m *ConflictingHeadersEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConflictingHeadersEvidence.Marshal(b, m, deterministic)
- }
- func (m *ConflictingHeadersEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConflictingHeadersEvidence.Merge(m, src)
- }
- func (m *ConflictingHeadersEvidence) XXX_Size() int {
- return xxx_messageInfo_ConflictingHeadersEvidence.Size(m)
- }
- func (m *ConflictingHeadersEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_ConflictingHeadersEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ConflictingHeadersEvidence proto.InternalMessageInfo
-
- func (m *ConflictingHeadersEvidence) GetH1() *SignedHeader {
- if m != nil {
- return m.H1
- }
- return nil
- }
-
- func (m *ConflictingHeadersEvidence) GetH2() *SignedHeader {
- if m != nil {
- return m.H2
- }
- return nil
- }
-
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *LunaticValidatorEvidence) Reset() { *m = LunaticValidatorEvidence{} }
- func (m *LunaticValidatorEvidence) String() string { return proto.CompactTextString(m) }
- func (*LunaticValidatorEvidence) ProtoMessage() {}
- func (*LunaticValidatorEvidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{5}
- }
- func (m *LunaticValidatorEvidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LunaticValidatorEvidence.Unmarshal(m, b)
- }
- func (m *LunaticValidatorEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LunaticValidatorEvidence.Marshal(b, m, deterministic)
- }
- func (m *LunaticValidatorEvidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LunaticValidatorEvidence.Merge(m, src)
- }
- func (m *LunaticValidatorEvidence) XXX_Size() int {
- return xxx_messageInfo_LunaticValidatorEvidence.Size(m)
- }
- func (m *LunaticValidatorEvidence) XXX_DiscardUnknown() {
- xxx_messageInfo_LunaticValidatorEvidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_LunaticValidatorEvidence proto.InternalMessageInfo
-
- func (m *LunaticValidatorEvidence) GetHeader() *Header {
- if m != nil {
- return m.Header
- }
- return nil
- }
-
- func (m *LunaticValidatorEvidence) GetVote() *Vote {
- if m != nil {
- return m.Vote
- }
- return nil
- }
-
- func (m *LunaticValidatorEvidence) GetInvalidHeaderField() string {
- if m != nil {
- return m.InvalidHeaderField
- }
- return ""
- }
-
- type Evidence struct {
- // Types that are valid to be assigned to Sum:
- // *Evidence_DuplicateVoteEvidence
- // *Evidence_ConflictingHeadersEvidence
- // *Evidence_LunaticValidatorEvidence
- // *Evidence_PotentialAmnesiaEvidence
- // *Evidence_MockEvidence
- // *Evidence_MockRandomEvidence
- Sum isEvidence_Sum `protobuf_oneof:"sum"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *Evidence) Reset() { *m = Evidence{} }
- func (m *Evidence) String() string { return proto.CompactTextString(m) }
- func (*Evidence) ProtoMessage() {}
- func (*Evidence) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{6}
- }
- func (m *Evidence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Evidence.Unmarshal(m, b)
- }
- func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Evidence.Marshal(b, m, deterministic)
- }
- func (m *Evidence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Evidence.Merge(m, src)
- }
- func (m *Evidence) XXX_Size() int {
- return xxx_messageInfo_Evidence.Size(m)
- }
- func (m *Evidence) XXX_DiscardUnknown() {
- xxx_messageInfo_Evidence.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_Evidence proto.InternalMessageInfo
-
- type isEvidence_Sum interface {
- isEvidence_Sum()
- }
-
- type Evidence_DuplicateVoteEvidence struct {
- DuplicateVoteEvidence *DuplicateVoteEvidence `protobuf:"bytes,1,opt,name=duplicate_vote_evidence,json=duplicateVoteEvidence,proto3,oneof" json:"duplicate_vote_evidence,omitempty"`
- }
- type Evidence_ConflictingHeadersEvidence struct {
- ConflictingHeadersEvidence *ConflictingHeadersEvidence `protobuf:"bytes,2,opt,name=conflicting_headers_evidence,json=conflictingHeadersEvidence,proto3,oneof" json:"conflicting_headers_evidence,omitempty"`
- }
- type Evidence_LunaticValidatorEvidence struct {
- LunaticValidatorEvidence *LunaticValidatorEvidence `protobuf:"bytes,3,opt,name=lunatic_validator_evidence,json=lunaticValidatorEvidence,proto3,oneof" json:"lunatic_validator_evidence,omitempty"`
- }
- type Evidence_PotentialAmnesiaEvidence struct {
- PotentialAmnesiaEvidence *PotentialAmnesiaEvidence `protobuf:"bytes,4,opt,name=potential_amnesia_evidence,json=potentialAmnesiaEvidence,proto3,oneof" json:"potential_amnesia_evidence,omitempty"`
- }
- type Evidence_MockEvidence struct {
- MockEvidence *MockEvidence `protobuf:"bytes,5,opt,name=mock_evidence,json=mockEvidence,proto3,oneof" json:"mock_evidence,omitempty"`
- }
- type Evidence_MockRandomEvidence struct {
- MockRandomEvidence *MockRandomEvidence `protobuf:"bytes,6,opt,name=mock_random_evidence,json=mockRandomEvidence,proto3,oneof" json:"mock_random_evidence,omitempty"`
- }
-
- func (*Evidence_DuplicateVoteEvidence) isEvidence_Sum() {}
- func (*Evidence_ConflictingHeadersEvidence) isEvidence_Sum() {}
- func (*Evidence_LunaticValidatorEvidence) isEvidence_Sum() {}
- func (*Evidence_PotentialAmnesiaEvidence) isEvidence_Sum() {}
- func (*Evidence_MockEvidence) isEvidence_Sum() {}
- func (*Evidence_MockRandomEvidence) isEvidence_Sum() {}
-
- func (m *Evidence) GetSum() isEvidence_Sum {
- if m != nil {
- return m.Sum
- }
- return nil
- }
-
- func (m *Evidence) GetDuplicateVoteEvidence() *DuplicateVoteEvidence {
- if x, ok := m.GetSum().(*Evidence_DuplicateVoteEvidence); ok {
- return x.DuplicateVoteEvidence
- }
- return nil
- }
-
- func (m *Evidence) GetConflictingHeadersEvidence() *ConflictingHeadersEvidence {
- if x, ok := m.GetSum().(*Evidence_ConflictingHeadersEvidence); ok {
- return x.ConflictingHeadersEvidence
- }
- return nil
- }
-
- func (m *Evidence) GetLunaticValidatorEvidence() *LunaticValidatorEvidence {
- if x, ok := m.GetSum().(*Evidence_LunaticValidatorEvidence); ok {
- return x.LunaticValidatorEvidence
- }
- return nil
- }
-
- func (m *Evidence) GetPotentialAmnesiaEvidence() *PotentialAmnesiaEvidence {
- if x, ok := m.GetSum().(*Evidence_PotentialAmnesiaEvidence); ok {
- return x.PotentialAmnesiaEvidence
- }
- return nil
- }
-
- func (m *Evidence) GetMockEvidence() *MockEvidence {
- if x, ok := m.GetSum().(*Evidence_MockEvidence); ok {
- return x.MockEvidence
- }
- return nil
- }
-
- func (m *Evidence) GetMockRandomEvidence() *MockRandomEvidence {
- if x, ok := m.GetSum().(*Evidence_MockRandomEvidence); ok {
- return x.MockRandomEvidence
- }
- return nil
- }
-
- // XXX_OneofWrappers is for the internal use of the proto package.
- func (*Evidence) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*Evidence_DuplicateVoteEvidence)(nil),
- (*Evidence_ConflictingHeadersEvidence)(nil),
- (*Evidence_LunaticValidatorEvidence)(nil),
- (*Evidence_PotentialAmnesiaEvidence)(nil),
- (*Evidence_MockEvidence)(nil),
- (*Evidence_MockRandomEvidence)(nil),
- }
- }
-
- // EvidenceData contains any evidence of malicious wrong-doing by validators
- type EvidenceData struct {
- Evidence []Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence"`
- Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *EvidenceData) Reset() { *m = EvidenceData{} }
- func (m *EvidenceData) String() string { return proto.CompactTextString(m) }
- func (*EvidenceData) ProtoMessage() {}
- func (*EvidenceData) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{7}
- }
- func (m *EvidenceData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EvidenceData.Unmarshal(m, b)
- }
- func (m *EvidenceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EvidenceData.Marshal(b, m, deterministic)
- }
- func (m *EvidenceData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EvidenceData.Merge(m, src)
- }
- func (m *EvidenceData) XXX_Size() int {
- return xxx_messageInfo_EvidenceData.Size(m)
- }
- func (m *EvidenceData) XXX_DiscardUnknown() {
- xxx_messageInfo_EvidenceData.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_EvidenceData proto.InternalMessageInfo
-
- func (m *EvidenceData) GetEvidence() []Evidence {
- if m != nil {
- return m.Evidence
- }
- return nil
- }
-
- func (m *EvidenceData) GetHash() []byte {
- if m != nil {
- return m.Hash
- }
- return nil
- }
-
- type ProofOfLockChange struct {
- Votes []Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes"`
- PubKey keys.PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ProofOfLockChange) Reset() { *m = ProofOfLockChange{} }
- func (m *ProofOfLockChange) String() string { return proto.CompactTextString(m) }
- func (*ProofOfLockChange) ProtoMessage() {}
- func (*ProofOfLockChange) Descriptor() ([]byte, []int) {
- return fileDescriptor_86495eef24aeacc0, []int{8}
- }
- func (m *ProofOfLockChange) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ProofOfLockChange.Unmarshal(m, b)
- }
- func (m *ProofOfLockChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ProofOfLockChange.Marshal(b, m, deterministic)
- }
- func (m *ProofOfLockChange) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ProofOfLockChange.Merge(m, src)
- }
- func (m *ProofOfLockChange) XXX_Size() int {
- return xxx_messageInfo_ProofOfLockChange.Size(m)
- }
- func (m *ProofOfLockChange) XXX_DiscardUnknown() {
- xxx_messageInfo_ProofOfLockChange.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ProofOfLockChange proto.InternalMessageInfo
-
- func (m *ProofOfLockChange) GetVotes() []Vote {
- if m != nil {
- return m.Votes
- }
- return nil
- }
-
- func (m *ProofOfLockChange) GetPubKey() keys.PublicKey {
- if m != nil {
- return m.PubKey
- }
- return keys.PublicKey{}
- }
-
- func init() {
- proto.RegisterType((*DuplicateVoteEvidence)(nil), "tendermint.proto.types.DuplicateVoteEvidence")
- proto.RegisterType((*PotentialAmnesiaEvidence)(nil), "tendermint.proto.types.PotentialAmnesiaEvidence")
- proto.RegisterType((*MockEvidence)(nil), "tendermint.proto.types.MockEvidence")
- proto.RegisterType((*MockRandomEvidence)(nil), "tendermint.proto.types.MockRandomEvidence")
- proto.RegisterType((*ConflictingHeadersEvidence)(nil), "tendermint.proto.types.ConflictingHeadersEvidence")
- proto.RegisterType((*LunaticValidatorEvidence)(nil), "tendermint.proto.types.LunaticValidatorEvidence")
- proto.RegisterType((*Evidence)(nil), "tendermint.proto.types.Evidence")
- proto.RegisterType((*EvidenceData)(nil), "tendermint.proto.types.EvidenceData")
- proto.RegisterType((*ProofOfLockChange)(nil), "tendermint.proto.types.ProofOfLockChange")
- }
-
- func init() { proto.RegisterFile("proto/types/evidence.proto", fileDescriptor_86495eef24aeacc0) }
-
- var fileDescriptor_86495eef24aeacc0 = []byte{
- // 762 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcd, 0x6e, 0xd3, 0x4a,
- 0x14, 0x8e, 0x9b, 0x9f, 0xdb, 0x9e, 0xa6, 0xf7, 0xc7, 0x6a, 0x6f, 0x23, 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