|
|
- // 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 {
- PubKey *keys.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
- VoteA *Vote `protobuf:"bytes,2,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty"`
- VoteB *Vote `protobuf:"bytes,3,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) GetPubKey() *keys.PublicKey {
- if m != nil {
- return m.PubKey
- }
- return nil
- }
-
- 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{
- // 784 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00,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