github.com/franono/tendermint@v0.32.2-0.20200527150959-749313264ce9/proto/privval/types.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: proto/privval/types.proto 3 4 package privval 5 6 import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 keys "github.com/franono/tendermint/proto/crypto/keys" 11 math "math" 12 ) 13 14 // Reference imports to suppress errors if they are not otherwise used. 15 var _ = proto.Marshal 16 var _ = fmt.Errorf 17 var _ = math.Inf 18 19 // This is a compile-time assertion to ensure that this generated file 20 // is compatible with the proto package it is being compiled against. 21 // A compilation error at this line likely means your copy of the 22 // proto package needs to be updated. 23 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 24 25 // FilePVKey stores the immutable part of PrivValidator. 26 type FilePVKey struct { 27 Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 28 PubKey keys.PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"` 29 PrivKey keys.PrivateKey `protobuf:"bytes,3,opt,name=priv_key,json=privKey,proto3" json:"priv_key"` 30 FilePath string `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 31 XXX_NoUnkeyedLiteral struct{} `json:"-"` 32 XXX_unrecognized []byte `json:"-"` 33 XXX_sizecache int32 `json:"-"` 34 } 35 36 func (m *FilePVKey) Reset() { *m = FilePVKey{} } 37 func (m *FilePVKey) String() string { return proto.CompactTextString(m) } 38 func (*FilePVKey) ProtoMessage() {} 39 func (*FilePVKey) Descriptor() ([]byte, []int) { 40 return fileDescriptor_a9d74c406df3ad93, []int{0} 41 } 42 func (m *FilePVKey) XXX_Unmarshal(b []byte) error { 43 return xxx_messageInfo_FilePVKey.Unmarshal(m, b) 44 } 45 func (m *FilePVKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 46 return xxx_messageInfo_FilePVKey.Marshal(b, m, deterministic) 47 } 48 func (m *FilePVKey) XXX_Merge(src proto.Message) { 49 xxx_messageInfo_FilePVKey.Merge(m, src) 50 } 51 func (m *FilePVKey) XXX_Size() int { 52 return xxx_messageInfo_FilePVKey.Size(m) 53 } 54 func (m *FilePVKey) XXX_DiscardUnknown() { 55 xxx_messageInfo_FilePVKey.DiscardUnknown(m) 56 } 57 58 var xxx_messageInfo_FilePVKey proto.InternalMessageInfo 59 60 func (m *FilePVKey) GetAddress() []byte { 61 if m != nil { 62 return m.Address 63 } 64 return nil 65 } 66 67 func (m *FilePVKey) GetPubKey() keys.PublicKey { 68 if m != nil { 69 return m.PubKey 70 } 71 return keys.PublicKey{} 72 } 73 74 func (m *FilePVKey) GetPrivKey() keys.PrivateKey { 75 if m != nil { 76 return m.PrivKey 77 } 78 return keys.PrivateKey{} 79 } 80 81 func (m *FilePVKey) GetFilePath() string { 82 if m != nil { 83 return m.FilePath 84 } 85 return "" 86 } 87 88 // FilePVLastSignState stores the mutable part of PrivValidator. 89 type FilePVLastSignState struct { 90 Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` 91 Round int64 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` 92 Step int32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` 93 Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` 94 SignBytes []byte `protobuf:"bytes,5,opt,name=sign_bytes,json=signBytes,proto3" json:"sign_bytes,omitempty"` 95 FilePath string `protobuf:"bytes,6,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 96 XXX_NoUnkeyedLiteral struct{} `json:"-"` 97 XXX_unrecognized []byte `json:"-"` 98 XXX_sizecache int32 `json:"-"` 99 } 100 101 func (m *FilePVLastSignState) Reset() { *m = FilePVLastSignState{} } 102 func (m *FilePVLastSignState) String() string { return proto.CompactTextString(m) } 103 func (*FilePVLastSignState) ProtoMessage() {} 104 func (*FilePVLastSignState) Descriptor() ([]byte, []int) { 105 return fileDescriptor_a9d74c406df3ad93, []int{1} 106 } 107 func (m *FilePVLastSignState) XXX_Unmarshal(b []byte) error { 108 return xxx_messageInfo_FilePVLastSignState.Unmarshal(m, b) 109 } 110 func (m *FilePVLastSignState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 111 return xxx_messageInfo_FilePVLastSignState.Marshal(b, m, deterministic) 112 } 113 func (m *FilePVLastSignState) XXX_Merge(src proto.Message) { 114 xxx_messageInfo_FilePVLastSignState.Merge(m, src) 115 } 116 func (m *FilePVLastSignState) XXX_Size() int { 117 return xxx_messageInfo_FilePVLastSignState.Size(m) 118 } 119 func (m *FilePVLastSignState) XXX_DiscardUnknown() { 120 xxx_messageInfo_FilePVLastSignState.DiscardUnknown(m) 121 } 122 123 var xxx_messageInfo_FilePVLastSignState proto.InternalMessageInfo 124 125 func (m *FilePVLastSignState) GetHeight() int64 { 126 if m != nil { 127 return m.Height 128 } 129 return 0 130 } 131 132 func (m *FilePVLastSignState) GetRound() int64 { 133 if m != nil { 134 return m.Round 135 } 136 return 0 137 } 138 139 func (m *FilePVLastSignState) GetStep() int32 { 140 if m != nil { 141 return m.Step 142 } 143 return 0 144 } 145 146 func (m *FilePVLastSignState) GetSignature() []byte { 147 if m != nil { 148 return m.Signature 149 } 150 return nil 151 } 152 153 func (m *FilePVLastSignState) GetSignBytes() []byte { 154 if m != nil { 155 return m.SignBytes 156 } 157 return nil 158 } 159 160 func (m *FilePVLastSignState) GetFilePath() string { 161 if m != nil { 162 return m.FilePath 163 } 164 return "" 165 } 166 167 func init() { 168 proto.RegisterType((*FilePVKey)(nil), "tendermint.proto.privval.FilePVKey") 169 proto.RegisterType((*FilePVLastSignState)(nil), "tendermint.proto.privval.FilePVLastSignState") 170 } 171 172 func init() { proto.RegisterFile("proto/privval/types.proto", fileDescriptor_a9d74c406df3ad93) } 173 174 var fileDescriptor_a9d74c406df3ad93 = []byte{ 175 // 357 bytes of a gzipped FileDescriptorProto 176 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4d, 0x6e, 0xe2, 0x30, 177 0x14, 0x9e, 0x0c, 0x10, 0x88, 0x87, 0x95, 0x67, 0x34, 0xca, 0x30, 0x45, 0x45, 0x2c, 0xda, 0xac, 178 0x92, 0xaa, 0xbd, 0x01, 0x0b, 0xa4, 0x8a, 0x2e, 0x50, 0x90, 0xba, 0xe8, 0x26, 0x72, 0xc8, 0x6b, 179 0x62, 0x11, 0x12, 0xcb, 0x7e, 0x41, 0xf2, 0xb1, 0x7a, 0x8b, 0x5e, 0xa0, 0xdb, 0x9e, 0xa5, 0xb2, 180 0x43, 0x15, 0x50, 0x17, 0xdd, 0xbd, 0xef, 0xf3, 0xf3, 0xf7, 0x63, 0x99, 0xfc, 0x13, 0xb2, 0xc6, 181 0x3a, 0x12, 0x92, 0x1f, 0x0e, 0xac, 0x8c, 0x50, 0x0b, 0x50, 0xa1, 0xe5, 0xa8, 0x8f, 0x50, 0x65, 182 0x20, 0xf7, 0xbc, 0xc2, 0x96, 0x09, 0x8f, 0x5b, 0x93, 0x2b, 0x2c, 0xb8, 0xcc, 0x12, 0xc1, 0x24, 183 0xea, 0xa8, 0x15, 0xc8, 0xeb, 0xbc, 0xee, 0xa6, 0x76, 0x7f, 0x32, 0x6d, 0x99, 0xad, 0xd4, 0x02, 184 0xeb, 0x68, 0x07, 0x5a, 0x9d, 0x1a, 0xcc, 0xdf, 0x1c, 0xe2, 0x2d, 0x79, 0x09, 0xeb, 0xc7, 0x15, 185 0x68, 0xea, 0x93, 0x21, 0xcb, 0x32, 0x09, 0x4a, 0xf9, 0xce, 0xcc, 0x09, 0xc6, 0xf1, 0x27, 0xa4, 186 0x4b, 0x32, 0x14, 0x4d, 0x9a, 0xec, 0x40, 0xfb, 0x3f, 0x67, 0x4e, 0xf0, 0xeb, 0xf6, 0x3a, 0xfc, 187 0x12, 0xad, 0xf5, 0x08, 0x8d, 0x47, 0xb8, 0x6e, 0xd2, 0x92, 0x6f, 0x57, 0xa0, 0x17, 0xfd, 0xd7, 188 0xf7, 0xcb, 0x1f, 0xb1, 0x2b, 0x9a, 0xd4, 0x38, 0xdc, 0x93, 0x91, 0x69, 0x60, 0x85, 0x7a, 0x56, 189 0x28, 0xf8, 0x46, 0x48, 0xf2, 0x03, 0x43, 0xe8, 0x94, 0x86, 0xe6, 0xbe, 0x91, 0xfa, 0x4f, 0xbc, 190 0x67, 0x5e, 0x42, 0x22, 0x18, 0x16, 0x7e, 0x7f, 0xe6, 0x04, 0x5e, 0x3c, 0x32, 0xc4, 0x9a, 0x61, 191 0x31, 0x7f, 0x71, 0xc8, 0xef, 0xb6, 0xd7, 0x03, 0x53, 0xb8, 0xe1, 0x79, 0xb5, 0x41, 0x86, 0x40, 192 0xff, 0x12, 0xb7, 0x00, 0x9e, 0x17, 0x68, 0x0b, 0xf6, 0xe2, 0x23, 0xa2, 0x7f, 0xc8, 0x40, 0xd6, 193 0x4d, 0x95, 0xd9, 0x76, 0xbd, 0xb8, 0x05, 0x94, 0x92, 0xbe, 0x42, 0x10, 0x36, 0xe9, 0x20, 0xb6, 194 0x33, 0xbd, 0x20, 0x9e, 0xe2, 0x79, 0xc5, 0xb0, 0x91, 0x60, 0x6d, 0xc7, 0x71, 0x47, 0xd0, 0x29, 195 0x21, 0x06, 0x24, 0xa9, 0x46, 0x50, 0xfe, 0xa0, 0x3b, 0x5e, 0x18, 0xe2, 0x3c, 0xb3, 0x7b, 0x9e, 196 0x79, 0x71, 0xf3, 0x14, 0xe6, 0x1c, 0x8b, 0x26, 0x0d, 0xb7, 0xf5, 0x3e, 0xea, 0x5e, 0xe5, 0x74, 197 0x3c, 0xfb, 0x2a, 0xa9, 0x6b, 0xe1, 0xdd, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xa3, 0x78, 198 0xe9, 0x42, 0x02, 0x00, 0x00, 199 }