github.com/vipernet-xyz/tendermint-core@v0.32.0/proto/privval/msgs.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: proto/privval/msgs.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/tendermint/tendermint/proto/crypto/keys" 11 types "github.com/tendermint/tendermint/proto/types" 12 math "math" 13 ) 14 15 // Reference imports to suppress errors if they are not otherwise used. 16 var _ = proto.Marshal 17 var _ = fmt.Errorf 18 var _ = math.Inf 19 20 // This is a compile-time assertion to ensure that this generated file 21 // is compatible with the proto package it is being compiled against. 22 // A compilation error at this line likely means your copy of the 23 // proto package needs to be updated. 24 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 25 26 type RemoteSignerError struct { 27 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` 28 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 29 XXX_NoUnkeyedLiteral struct{} `json:"-"` 30 XXX_unrecognized []byte `json:"-"` 31 XXX_sizecache int32 `json:"-"` 32 } 33 34 func (m *RemoteSignerError) Reset() { *m = RemoteSignerError{} } 35 func (m *RemoteSignerError) String() string { return proto.CompactTextString(m) } 36 func (*RemoteSignerError) ProtoMessage() {} 37 func (*RemoteSignerError) Descriptor() ([]byte, []int) { 38 return fileDescriptor_9ec52cc5e378f9a4, []int{0} 39 } 40 func (m *RemoteSignerError) XXX_Unmarshal(b []byte) error { 41 return xxx_messageInfo_RemoteSignerError.Unmarshal(m, b) 42 } 43 func (m *RemoteSignerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 44 return xxx_messageInfo_RemoteSignerError.Marshal(b, m, deterministic) 45 } 46 func (m *RemoteSignerError) XXX_Merge(src proto.Message) { 47 xxx_messageInfo_RemoteSignerError.Merge(m, src) 48 } 49 func (m *RemoteSignerError) XXX_Size() int { 50 return xxx_messageInfo_RemoteSignerError.Size(m) 51 } 52 func (m *RemoteSignerError) XXX_DiscardUnknown() { 53 xxx_messageInfo_RemoteSignerError.DiscardUnknown(m) 54 } 55 56 var xxx_messageInfo_RemoteSignerError proto.InternalMessageInfo 57 58 func (m *RemoteSignerError) GetCode() int32 { 59 if m != nil { 60 return m.Code 61 } 62 return 0 63 } 64 65 func (m *RemoteSignerError) GetDescription() string { 66 if m != nil { 67 return m.Description 68 } 69 return "" 70 } 71 72 // PubKeyRequest requests the consensus public key from the remote signer. 73 type PubKeyRequest struct { 74 XXX_NoUnkeyedLiteral struct{} `json:"-"` 75 XXX_unrecognized []byte `json:"-"` 76 XXX_sizecache int32 `json:"-"` 77 } 78 79 func (m *PubKeyRequest) Reset() { *m = PubKeyRequest{} } 80 func (m *PubKeyRequest) String() string { return proto.CompactTextString(m) } 81 func (*PubKeyRequest) ProtoMessage() {} 82 func (*PubKeyRequest) Descriptor() ([]byte, []int) { 83 return fileDescriptor_9ec52cc5e378f9a4, []int{1} 84 } 85 func (m *PubKeyRequest) XXX_Unmarshal(b []byte) error { 86 return xxx_messageInfo_PubKeyRequest.Unmarshal(m, b) 87 } 88 func (m *PubKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 89 return xxx_messageInfo_PubKeyRequest.Marshal(b, m, deterministic) 90 } 91 func (m *PubKeyRequest) XXX_Merge(src proto.Message) { 92 xxx_messageInfo_PubKeyRequest.Merge(m, src) 93 } 94 func (m *PubKeyRequest) XXX_Size() int { 95 return xxx_messageInfo_PubKeyRequest.Size(m) 96 } 97 func (m *PubKeyRequest) XXX_DiscardUnknown() { 98 xxx_messageInfo_PubKeyRequest.DiscardUnknown(m) 99 } 100 101 var xxx_messageInfo_PubKeyRequest proto.InternalMessageInfo 102 103 // PubKeyResponse is a response message containing the public key. 104 type PubKeyResponse struct { 105 PubKey keys.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"` 106 Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 107 XXX_NoUnkeyedLiteral struct{} `json:"-"` 108 XXX_unrecognized []byte `json:"-"` 109 XXX_sizecache int32 `json:"-"` 110 } 111 112 func (m *PubKeyResponse) Reset() { *m = PubKeyResponse{} } 113 func (m *PubKeyResponse) String() string { return proto.CompactTextString(m) } 114 func (*PubKeyResponse) ProtoMessage() {} 115 func (*PubKeyResponse) Descriptor() ([]byte, []int) { 116 return fileDescriptor_9ec52cc5e378f9a4, []int{2} 117 } 118 func (m *PubKeyResponse) XXX_Unmarshal(b []byte) error { 119 return xxx_messageInfo_PubKeyResponse.Unmarshal(m, b) 120 } 121 func (m *PubKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 122 return xxx_messageInfo_PubKeyResponse.Marshal(b, m, deterministic) 123 } 124 func (m *PubKeyResponse) XXX_Merge(src proto.Message) { 125 xxx_messageInfo_PubKeyResponse.Merge(m, src) 126 } 127 func (m *PubKeyResponse) XXX_Size() int { 128 return xxx_messageInfo_PubKeyResponse.Size(m) 129 } 130 func (m *PubKeyResponse) XXX_DiscardUnknown() { 131 xxx_messageInfo_PubKeyResponse.DiscardUnknown(m) 132 } 133 134 var xxx_messageInfo_PubKeyResponse proto.InternalMessageInfo 135 136 func (m *PubKeyResponse) GetPubKey() keys.PublicKey { 137 if m != nil { 138 return m.PubKey 139 } 140 return keys.PublicKey{} 141 } 142 143 func (m *PubKeyResponse) GetError() *RemoteSignerError { 144 if m != nil { 145 return m.Error 146 } 147 return nil 148 } 149 150 // SignVoteRequest is a request to sign a vote 151 type SignVoteRequest struct { 152 Vote types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote"` 153 XXX_NoUnkeyedLiteral struct{} `json:"-"` 154 XXX_unrecognized []byte `json:"-"` 155 XXX_sizecache int32 `json:"-"` 156 } 157 158 func (m *SignVoteRequest) Reset() { *m = SignVoteRequest{} } 159 func (m *SignVoteRequest) String() string { return proto.CompactTextString(m) } 160 func (*SignVoteRequest) ProtoMessage() {} 161 func (*SignVoteRequest) Descriptor() ([]byte, []int) { 162 return fileDescriptor_9ec52cc5e378f9a4, []int{3} 163 } 164 func (m *SignVoteRequest) XXX_Unmarshal(b []byte) error { 165 return xxx_messageInfo_SignVoteRequest.Unmarshal(m, b) 166 } 167 func (m *SignVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 168 return xxx_messageInfo_SignVoteRequest.Marshal(b, m, deterministic) 169 } 170 func (m *SignVoteRequest) XXX_Merge(src proto.Message) { 171 xxx_messageInfo_SignVoteRequest.Merge(m, src) 172 } 173 func (m *SignVoteRequest) XXX_Size() int { 174 return xxx_messageInfo_SignVoteRequest.Size(m) 175 } 176 func (m *SignVoteRequest) XXX_DiscardUnknown() { 177 xxx_messageInfo_SignVoteRequest.DiscardUnknown(m) 178 } 179 180 var xxx_messageInfo_SignVoteRequest proto.InternalMessageInfo 181 182 func (m *SignVoteRequest) GetVote() types.Vote { 183 if m != nil { 184 return m.Vote 185 } 186 return types.Vote{} 187 } 188 189 // SignedVoteResponse is a response containing a signed vote or an error 190 type SignVoteResponse struct { 191 Vote types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote"` 192 Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 193 XXX_NoUnkeyedLiteral struct{} `json:"-"` 194 XXX_unrecognized []byte `json:"-"` 195 XXX_sizecache int32 `json:"-"` 196 } 197 198 func (m *SignVoteResponse) Reset() { *m = SignVoteResponse{} } 199 func (m *SignVoteResponse) String() string { return proto.CompactTextString(m) } 200 func (*SignVoteResponse) ProtoMessage() {} 201 func (*SignVoteResponse) Descriptor() ([]byte, []int) { 202 return fileDescriptor_9ec52cc5e378f9a4, []int{4} 203 } 204 func (m *SignVoteResponse) XXX_Unmarshal(b []byte) error { 205 return xxx_messageInfo_SignVoteResponse.Unmarshal(m, b) 206 } 207 func (m *SignVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 208 return xxx_messageInfo_SignVoteResponse.Marshal(b, m, deterministic) 209 } 210 func (m *SignVoteResponse) XXX_Merge(src proto.Message) { 211 xxx_messageInfo_SignVoteResponse.Merge(m, src) 212 } 213 func (m *SignVoteResponse) XXX_Size() int { 214 return xxx_messageInfo_SignVoteResponse.Size(m) 215 } 216 func (m *SignVoteResponse) XXX_DiscardUnknown() { 217 xxx_messageInfo_SignVoteResponse.DiscardUnknown(m) 218 } 219 220 var xxx_messageInfo_SignVoteResponse proto.InternalMessageInfo 221 222 func (m *SignVoteResponse) GetVote() types.Vote { 223 if m != nil { 224 return m.Vote 225 } 226 return types.Vote{} 227 } 228 229 func (m *SignVoteResponse) GetError() *RemoteSignerError { 230 if m != nil { 231 return m.Error 232 } 233 return nil 234 } 235 236 // SignProposalRequest is a request to sign a proposal 237 type SignProposalRequest struct { 238 Proposal types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"` 239 XXX_NoUnkeyedLiteral struct{} `json:"-"` 240 XXX_unrecognized []byte `json:"-"` 241 XXX_sizecache int32 `json:"-"` 242 } 243 244 func (m *SignProposalRequest) Reset() { *m = SignProposalRequest{} } 245 func (m *SignProposalRequest) String() string { return proto.CompactTextString(m) } 246 func (*SignProposalRequest) ProtoMessage() {} 247 func (*SignProposalRequest) Descriptor() ([]byte, []int) { 248 return fileDescriptor_9ec52cc5e378f9a4, []int{5} 249 } 250 func (m *SignProposalRequest) XXX_Unmarshal(b []byte) error { 251 return xxx_messageInfo_SignProposalRequest.Unmarshal(m, b) 252 } 253 func (m *SignProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 254 return xxx_messageInfo_SignProposalRequest.Marshal(b, m, deterministic) 255 } 256 func (m *SignProposalRequest) XXX_Merge(src proto.Message) { 257 xxx_messageInfo_SignProposalRequest.Merge(m, src) 258 } 259 func (m *SignProposalRequest) XXX_Size() int { 260 return xxx_messageInfo_SignProposalRequest.Size(m) 261 } 262 func (m *SignProposalRequest) XXX_DiscardUnknown() { 263 xxx_messageInfo_SignProposalRequest.DiscardUnknown(m) 264 } 265 266 var xxx_messageInfo_SignProposalRequest proto.InternalMessageInfo 267 268 func (m *SignProposalRequest) GetProposal() types.Proposal { 269 if m != nil { 270 return m.Proposal 271 } 272 return types.Proposal{} 273 } 274 275 // SignedProposalResponse is response containing a signed proposal or an error 276 type SignedProposalResponse struct { 277 Proposal types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"` 278 Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 279 XXX_NoUnkeyedLiteral struct{} `json:"-"` 280 XXX_unrecognized []byte `json:"-"` 281 XXX_sizecache int32 `json:"-"` 282 } 283 284 func (m *SignedProposalResponse) Reset() { *m = SignedProposalResponse{} } 285 func (m *SignedProposalResponse) String() string { return proto.CompactTextString(m) } 286 func (*SignedProposalResponse) ProtoMessage() {} 287 func (*SignedProposalResponse) Descriptor() ([]byte, []int) { 288 return fileDescriptor_9ec52cc5e378f9a4, []int{6} 289 } 290 func (m *SignedProposalResponse) XXX_Unmarshal(b []byte) error { 291 return xxx_messageInfo_SignedProposalResponse.Unmarshal(m, b) 292 } 293 func (m *SignedProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 294 return xxx_messageInfo_SignedProposalResponse.Marshal(b, m, deterministic) 295 } 296 func (m *SignedProposalResponse) XXX_Merge(src proto.Message) { 297 xxx_messageInfo_SignedProposalResponse.Merge(m, src) 298 } 299 func (m *SignedProposalResponse) XXX_Size() int { 300 return xxx_messageInfo_SignedProposalResponse.Size(m) 301 } 302 func (m *SignedProposalResponse) XXX_DiscardUnknown() { 303 xxx_messageInfo_SignedProposalResponse.DiscardUnknown(m) 304 } 305 306 var xxx_messageInfo_SignedProposalResponse proto.InternalMessageInfo 307 308 func (m *SignedProposalResponse) GetProposal() types.Proposal { 309 if m != nil { 310 return m.Proposal 311 } 312 return types.Proposal{} 313 } 314 315 func (m *SignedProposalResponse) GetError() *RemoteSignerError { 316 if m != nil { 317 return m.Error 318 } 319 return nil 320 } 321 322 // PingRequest is a request to confirm that the connection is alive. 323 type PingRequest struct { 324 XXX_NoUnkeyedLiteral struct{} `json:"-"` 325 XXX_unrecognized []byte `json:"-"` 326 XXX_sizecache int32 `json:"-"` 327 } 328 329 func (m *PingRequest) Reset() { *m = PingRequest{} } 330 func (m *PingRequest) String() string { return proto.CompactTextString(m) } 331 func (*PingRequest) ProtoMessage() {} 332 func (*PingRequest) Descriptor() ([]byte, []int) { 333 return fileDescriptor_9ec52cc5e378f9a4, []int{7} 334 } 335 func (m *PingRequest) XXX_Unmarshal(b []byte) error { 336 return xxx_messageInfo_PingRequest.Unmarshal(m, b) 337 } 338 func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 339 return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) 340 } 341 func (m *PingRequest) XXX_Merge(src proto.Message) { 342 xxx_messageInfo_PingRequest.Merge(m, src) 343 } 344 func (m *PingRequest) XXX_Size() int { 345 return xxx_messageInfo_PingRequest.Size(m) 346 } 347 func (m *PingRequest) XXX_DiscardUnknown() { 348 xxx_messageInfo_PingRequest.DiscardUnknown(m) 349 } 350 351 var xxx_messageInfo_PingRequest proto.InternalMessageInfo 352 353 // PingResponse is a response to confirm that the connection is alive. 354 type PingResponse struct { 355 XXX_NoUnkeyedLiteral struct{} `json:"-"` 356 XXX_unrecognized []byte `json:"-"` 357 XXX_sizecache int32 `json:"-"` 358 } 359 360 func (m *PingResponse) Reset() { *m = PingResponse{} } 361 func (m *PingResponse) String() string { return proto.CompactTextString(m) } 362 func (*PingResponse) ProtoMessage() {} 363 func (*PingResponse) Descriptor() ([]byte, []int) { 364 return fileDescriptor_9ec52cc5e378f9a4, []int{8} 365 } 366 func (m *PingResponse) XXX_Unmarshal(b []byte) error { 367 return xxx_messageInfo_PingResponse.Unmarshal(m, b) 368 } 369 func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 370 return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) 371 } 372 func (m *PingResponse) XXX_Merge(src proto.Message) { 373 xxx_messageInfo_PingResponse.Merge(m, src) 374 } 375 func (m *PingResponse) XXX_Size() int { 376 return xxx_messageInfo_PingResponse.Size(m) 377 } 378 func (m *PingResponse) XXX_DiscardUnknown() { 379 xxx_messageInfo_PingResponse.DiscardUnknown(m) 380 } 381 382 var xxx_messageInfo_PingResponse proto.InternalMessageInfo 383 384 func init() { 385 proto.RegisterType((*RemoteSignerError)(nil), "tendermint.proto.privval.RemoteSignerError") 386 proto.RegisterType((*PubKeyRequest)(nil), "tendermint.proto.privval.PubKeyRequest") 387 proto.RegisterType((*PubKeyResponse)(nil), "tendermint.proto.privval.PubKeyResponse") 388 proto.RegisterType((*SignVoteRequest)(nil), "tendermint.proto.privval.SignVoteRequest") 389 proto.RegisterType((*SignVoteResponse)(nil), "tendermint.proto.privval.SignVoteResponse") 390 proto.RegisterType((*SignProposalRequest)(nil), "tendermint.proto.privval.SignProposalRequest") 391 proto.RegisterType((*SignedProposalResponse)(nil), "tendermint.proto.privval.SignedProposalResponse") 392 proto.RegisterType((*PingRequest)(nil), "tendermint.proto.privval.PingRequest") 393 proto.RegisterType((*PingResponse)(nil), "tendermint.proto.privval.PingResponse") 394 } 395 396 func init() { proto.RegisterFile("proto/privval/msgs.proto", fileDescriptor_9ec52cc5e378f9a4) } 397 398 var fileDescriptor_9ec52cc5e378f9a4 = []byte{ 399 // 401 bytes of a gzipped FileDescriptorProto 400 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xd1, 0xca, 0xd3, 0x30, 401 0x1c, 0xc5, 0xad, 0x6c, 0x53, 0xff, 0x75, 0x9b, 0x56, 0xd0, 0x32, 0x14, 0x4b, 0x2f, 0x74, 0x20, 402 0xa4, 0x32, 0xc1, 0x7b, 0x07, 0x0a, 0x63, 0x37, 0xa5, 0x82, 0xa0, 0x37, 0x63, 0x6d, 0xff, 0x74, 403 0x61, 0x6b, 0x13, 0x93, 0x74, 0xd0, 0x87, 0xf0, 0x09, 0xbc, 0xf0, 0x75, 0x7c, 0x0a, 0x9f, 0x45, 404 0x9a, 0xa4, 0x5f, 0xf7, 0x31, 0x76, 0xf3, 0xb1, 0xbb, 0xe4, 0xe4, 0x7f, 0x4e, 0xce, 0x2f, 0xb4, 405 0xe0, 0x73, 0xc1, 0x14, 0x8b, 0xb8, 0xa0, 0xc7, 0xe3, 0xf6, 0x10, 0x95, 0xb2, 0x90, 0x44, 0x4b, 406 0x9e, 0xaf, 0xb0, 0xca, 0x51, 0x94, 0xb4, 0x52, 0x46, 0x21, 0x76, 0x68, 0xf6, 0x46, 0xed, 0xa8, 407 0xc8, 0x37, 0x7c, 0x2b, 0x54, 0x13, 0x19, 0x7f, 0xc1, 0x0a, 0xd6, 0xaf, 0xcc, 0xfc, 0xec, 0x95, 408 0x51, 0x32, 0xd1, 0x70, 0xc5, 0xa2, 0x3d, 0x36, 0x32, 0x52, 0x0d, 0x47, 0x7b, 0xc1, 0xec, 0x85, 409 0x39, 0xd6, 0xd2, 0xe9, 0x41, 0xb8, 0x82, 0xa7, 0x09, 0x96, 0x4c, 0xe1, 0x57, 0x5a, 0x54, 0x28, 410 0x3e, 0x0b, 0xc1, 0x84, 0xe7, 0xc1, 0x20, 0x63, 0x39, 0xfa, 0x4e, 0xe0, 0xcc, 0x87, 0x89, 0x5e, 411 0x7b, 0x01, 0xb8, 0x39, 0xca, 0x4c, 0x50, 0xae, 0x28, 0xab, 0xfc, 0xfb, 0x81, 0x33, 0x7f, 0x94, 412 0x9c, 0x4a, 0xe1, 0x14, 0xc6, 0x71, 0x9d, 0xae, 0xb1, 0x49, 0xf0, 0x67, 0x8d, 0x52, 0x85, 0xbf, 413 0x1d, 0x98, 0x74, 0x8a, 0xe4, 0xac, 0x92, 0xe8, 0x7d, 0x81, 0x07, 0xbc, 0x4e, 0x37, 0x7b, 0x6c, 414 0x74, 0xb8, 0xbb, 0x78, 0x4b, 0xce, 0xd0, 0x0d, 0x03, 0x69, 0x19, 0x48, 0x5c, 0xa7, 0x07, 0x9a, 415 0xad, 0xb1, 0x59, 0x0e, 0xfe, 0xfe, 0x7b, 0x7d, 0x2f, 0x19, 0x71, 0x9d, 0xe7, 0x7d, 0x82, 0x21, 416 0xb6, 0x55, 0x75, 0x0f, 0x77, 0xf1, 0x8e, 0x5c, 0x7a, 0x40, 0x72, 0x46, 0x97, 0x18, 0x67, 0xb8, 417 0x82, 0x69, 0xab, 0x7e, 0x63, 0x0a, 0x6d, 0x61, 0xef, 0x23, 0x0c, 0x8e, 0x4c, 0xa1, 0xad, 0xf6, 418 0xf2, 0x3c, 0xd4, 0xbc, 0x5c, 0x6b, 0xb1, 0x7d, 0xf4, 0x7c, 0xf8, 0xcb, 0x81, 0x27, 0x7d, 0x96, 419 0x45, 0xbd, 0x63, 0xd8, 0x35, 0xd0, 0xbe, 0xc3, 0xb3, 0x56, 0x8d, 0x05, 0xe3, 0x4c, 0x6e, 0x0f, 420 0x1d, 0xde, 0x12, 0x1e, 0x72, 0x2b, 0xd9, 0x56, 0xc1, 0xa5, 0x56, 0x9d, 0xd5, 0x36, 0xbb, 0xf1, 421 0x85, 0x7f, 0x1c, 0x78, 0xae, 0x6f, 0xcc, 0xfb, 0x74, 0x0b, 0x7c, 0x85, 0xf8, 0x6b, 0xc0, 0x8f, 422 0xc1, 0x8d, 0x69, 0x55, 0x74, 0x1f, 0xe1, 0x04, 0x1e, 0x9b, 0xad, 0x69, 0xb9, 0x7c, 0xff, 0x83, 423 0x14, 0x54, 0xed, 0xea, 0x94, 0x64, 0xac, 0x8c, 0xfa, 0xf8, 0xd3, 0xe5, 0xad, 0xff, 0x34, 0x1d, 424 0xe9, 0xed, 0x87, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x00, 0x13, 0x1c, 0xbf, 0x03, 0x00, 425 0x00, 426 }