code.vegaprotocol.io/vega@v0.79.0/protos/vega/api/v1/core.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: vega/api/v1/core.proto 6 7 package v1 8 9 import ( 10 vega "code.vegaprotocol.io/vega/protos/vega" 11 v1 "code.vegaprotocol.io/vega/protos/vega/commands/v1" 12 v11 "code.vegaprotocol.io/vega/protos/vega/events/v1" 13 _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" 14 _ "google.golang.org/genproto/googleapis/api/annotations" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // Blockchain transaction type. 29 type SubmitTransactionRequest_Type int32 30 31 const ( 32 SubmitTransactionRequest_TYPE_UNSPECIFIED SubmitTransactionRequest_Type = 0 33 // Transaction will be submitted without waiting for a response. 34 SubmitTransactionRequest_TYPE_ASYNC SubmitTransactionRequest_Type = 1 35 // Transaction will be submitted, and blocking until the mempool returns a response. 36 SubmitTransactionRequest_TYPE_SYNC SubmitTransactionRequest_Type = 2 37 // Transaction will be submitted, and blocking until the network has committed it into a block. 38 // Used only for debugging local network, not for submitting transactions. 39 SubmitTransactionRequest_TYPE_COMMIT SubmitTransactionRequest_Type = 3 40 ) 41 42 // Enum value maps for SubmitTransactionRequest_Type. 43 var ( 44 SubmitTransactionRequest_Type_name = map[int32]string{ 45 0: "TYPE_UNSPECIFIED", 46 1: "TYPE_ASYNC", 47 2: "TYPE_SYNC", 48 3: "TYPE_COMMIT", 49 } 50 SubmitTransactionRequest_Type_value = map[string]int32{ 51 "TYPE_UNSPECIFIED": 0, 52 "TYPE_ASYNC": 1, 53 "TYPE_SYNC": 2, 54 "TYPE_COMMIT": 3, 55 } 56 ) 57 58 func (x SubmitTransactionRequest_Type) Enum() *SubmitTransactionRequest_Type { 59 p := new(SubmitTransactionRequest_Type) 60 *p = x 61 return p 62 } 63 64 func (x SubmitTransactionRequest_Type) String() string { 65 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 66 } 67 68 func (SubmitTransactionRequest_Type) Descriptor() protoreflect.EnumDescriptor { 69 return file_vega_api_v1_core_proto_enumTypes[0].Descriptor() 70 } 71 72 func (SubmitTransactionRequest_Type) Type() protoreflect.EnumType { 73 return &file_vega_api_v1_core_proto_enumTypes[0] 74 } 75 76 func (x SubmitTransactionRequest_Type) Number() protoreflect.EnumNumber { 77 return protoreflect.EnumNumber(x) 78 } 79 80 // Deprecated: Use SubmitTransactionRequest_Type.Descriptor instead. 81 func (SubmitTransactionRequest_Type) EnumDescriptor() ([]byte, []int) { 82 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{2, 0} 83 } 84 85 // Blockchain transaction type 86 type SubmitRawTransactionRequest_Type int32 87 88 const ( 89 SubmitRawTransactionRequest_TYPE_UNSPECIFIED SubmitRawTransactionRequest_Type = 0 90 // Transaction will be submitted without waiting for response 91 SubmitRawTransactionRequest_TYPE_ASYNC SubmitRawTransactionRequest_Type = 1 92 // Transaction will be submitted, and blocking until the 93 // tendermint mempool returns a response 94 SubmitRawTransactionRequest_TYPE_SYNC SubmitRawTransactionRequest_Type = 2 95 // Transaction will be submitted, and blocking until the tendermint 96 // network has committed it into a block. Used only for debugging, 97 // not for submitting transactions 98 SubmitRawTransactionRequest_TYPE_COMMIT SubmitRawTransactionRequest_Type = 3 99 ) 100 101 // Enum value maps for SubmitRawTransactionRequest_Type. 102 var ( 103 SubmitRawTransactionRequest_Type_name = map[int32]string{ 104 0: "TYPE_UNSPECIFIED", 105 1: "TYPE_ASYNC", 106 2: "TYPE_SYNC", 107 3: "TYPE_COMMIT", 108 } 109 SubmitRawTransactionRequest_Type_value = map[string]int32{ 110 "TYPE_UNSPECIFIED": 0, 111 "TYPE_ASYNC": 1, 112 "TYPE_SYNC": 2, 113 "TYPE_COMMIT": 3, 114 } 115 ) 116 117 func (x SubmitRawTransactionRequest_Type) Enum() *SubmitRawTransactionRequest_Type { 118 p := new(SubmitRawTransactionRequest_Type) 119 *p = x 120 return p 121 } 122 123 func (x SubmitRawTransactionRequest_Type) String() string { 124 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 125 } 126 127 func (SubmitRawTransactionRequest_Type) Descriptor() protoreflect.EnumDescriptor { 128 return file_vega_api_v1_core_proto_enumTypes[1].Descriptor() 129 } 130 131 func (SubmitRawTransactionRequest_Type) Type() protoreflect.EnumType { 132 return &file_vega_api_v1_core_proto_enumTypes[1] 133 } 134 135 func (x SubmitRawTransactionRequest_Type) Number() protoreflect.EnumNumber { 136 return protoreflect.EnumNumber(x) 137 } 138 139 // Deprecated: Use SubmitRawTransactionRequest_Type.Descriptor instead. 140 func (SubmitRawTransactionRequest_Type) EnumDescriptor() ([]byte, []int) { 141 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{6, 0} 142 } 143 144 // Request for a new event sent by the blockchain queue to be propagated on Vega 145 type PropagateChainEventRequest struct { 146 state protoimpl.MessageState 147 sizeCache protoimpl.SizeCache 148 unknownFields protoimpl.UnknownFields 149 150 // Chain event to propagate. 151 Event []byte `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` 152 // Public key of the key pair used to sign messages. 153 PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` 154 // Signature generated by the private key associated with the public key. 155 Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` 156 } 157 158 func (x *PropagateChainEventRequest) Reset() { 159 *x = PropagateChainEventRequest{} 160 if protoimpl.UnsafeEnabled { 161 mi := &file_vega_api_v1_core_proto_msgTypes[0] 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 ms.StoreMessageInfo(mi) 164 } 165 } 166 167 func (x *PropagateChainEventRequest) String() string { 168 return protoimpl.X.MessageStringOf(x) 169 } 170 171 func (*PropagateChainEventRequest) ProtoMessage() {} 172 173 func (x *PropagateChainEventRequest) ProtoReflect() protoreflect.Message { 174 mi := &file_vega_api_v1_core_proto_msgTypes[0] 175 if protoimpl.UnsafeEnabled && x != nil { 176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 177 if ms.LoadMessageInfo() == nil { 178 ms.StoreMessageInfo(mi) 179 } 180 return ms 181 } 182 return mi.MessageOf(x) 183 } 184 185 // Deprecated: Use PropagateChainEventRequest.ProtoReflect.Descriptor instead. 186 func (*PropagateChainEventRequest) Descriptor() ([]byte, []int) { 187 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{0} 188 } 189 190 func (x *PropagateChainEventRequest) GetEvent() []byte { 191 if x != nil { 192 return x.Event 193 } 194 return nil 195 } 196 197 func (x *PropagateChainEventRequest) GetPubKey() string { 198 if x != nil { 199 return x.PubKey 200 } 201 return "" 202 } 203 204 func (x *PropagateChainEventRequest) GetSignature() []byte { 205 if x != nil { 206 return x.Signature 207 } 208 return nil 209 } 210 211 // Response for a new event sent by the blockchain queue to be propagated on Vega 212 type PropagateChainEventResponse struct { 213 state protoimpl.MessageState 214 sizeCache protoimpl.SizeCache 215 unknownFields protoimpl.UnknownFields 216 217 // Success will be true if the event was accepted by the node, 218 // **Important** - success does not mean that the event is confirmed by consensus 219 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 220 } 221 222 func (x *PropagateChainEventResponse) Reset() { 223 *x = PropagateChainEventResponse{} 224 if protoimpl.UnsafeEnabled { 225 mi := &file_vega_api_v1_core_proto_msgTypes[1] 226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 227 ms.StoreMessageInfo(mi) 228 } 229 } 230 231 func (x *PropagateChainEventResponse) String() string { 232 return protoimpl.X.MessageStringOf(x) 233 } 234 235 func (*PropagateChainEventResponse) ProtoMessage() {} 236 237 func (x *PropagateChainEventResponse) ProtoReflect() protoreflect.Message { 238 mi := &file_vega_api_v1_core_proto_msgTypes[1] 239 if protoimpl.UnsafeEnabled && x != nil { 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 if ms.LoadMessageInfo() == nil { 242 ms.StoreMessageInfo(mi) 243 } 244 return ms 245 } 246 return mi.MessageOf(x) 247 } 248 249 // Deprecated: Use PropagateChainEventResponse.ProtoReflect.Descriptor instead. 250 func (*PropagateChainEventResponse) Descriptor() ([]byte, []int) { 251 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{1} 252 } 253 254 func (x *PropagateChainEventResponse) GetSuccess() bool { 255 if x != nil { 256 return x.Success 257 } 258 return false 259 } 260 261 // Request for submitting a transaction v2 on Vega 262 type SubmitTransactionRequest struct { 263 state protoimpl.MessageState 264 sizeCache protoimpl.SizeCache 265 unknownFields protoimpl.UnknownFields 266 267 // Transaction containing a command to execute on the network, and a signature to provide authentication. 268 Tx *v1.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 269 // Method of submission. 270 Type SubmitTransactionRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.api.v1.SubmitTransactionRequest_Type" json:"type,omitempty"` 271 } 272 273 func (x *SubmitTransactionRequest) Reset() { 274 *x = SubmitTransactionRequest{} 275 if protoimpl.UnsafeEnabled { 276 mi := &file_vega_api_v1_core_proto_msgTypes[2] 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 ms.StoreMessageInfo(mi) 279 } 280 } 281 282 func (x *SubmitTransactionRequest) String() string { 283 return protoimpl.X.MessageStringOf(x) 284 } 285 286 func (*SubmitTransactionRequest) ProtoMessage() {} 287 288 func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message { 289 mi := &file_vega_api_v1_core_proto_msgTypes[2] 290 if protoimpl.UnsafeEnabled && x != nil { 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 if ms.LoadMessageInfo() == nil { 293 ms.StoreMessageInfo(mi) 294 } 295 return ms 296 } 297 return mi.MessageOf(x) 298 } 299 300 // Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead. 301 func (*SubmitTransactionRequest) Descriptor() ([]byte, []int) { 302 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{2} 303 } 304 305 func (x *SubmitTransactionRequest) GetTx() *v1.Transaction { 306 if x != nil { 307 return x.Tx 308 } 309 return nil 310 } 311 312 func (x *SubmitTransactionRequest) GetType() SubmitTransactionRequest_Type { 313 if x != nil { 314 return x.Type 315 } 316 return SubmitTransactionRequest_TYPE_UNSPECIFIED 317 } 318 319 // Response for submitting a transaction on the network. 320 type SubmitTransactionResponse struct { 321 state protoimpl.MessageState 322 sizeCache protoimpl.SizeCache 323 unknownFields protoimpl.UnknownFields 324 325 // Whether or not the transaction was validated and submitted to the chain's mempool. 326 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 327 // Hash of the transaction, which can be used to identify the transaction in a node's event stream. 328 TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 329 // Error code to indicate the category of failure if the transaction was not successfully submitted. 330 Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` 331 // Further details for why the transaction was not successfully submitted. 332 Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` 333 // Further details for the underlying consensus layer of the result of the transaction. 334 Log string `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty"` 335 // Unused. 336 Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` 337 } 338 339 func (x *SubmitTransactionResponse) Reset() { 340 *x = SubmitTransactionResponse{} 341 if protoimpl.UnsafeEnabled { 342 mi := &file_vega_api_v1_core_proto_msgTypes[3] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346 } 347 348 func (x *SubmitTransactionResponse) String() string { 349 return protoimpl.X.MessageStringOf(x) 350 } 351 352 func (*SubmitTransactionResponse) ProtoMessage() {} 353 354 func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message { 355 mi := &file_vega_api_v1_core_proto_msgTypes[3] 356 if protoimpl.UnsafeEnabled && x != nil { 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 if ms.LoadMessageInfo() == nil { 359 ms.StoreMessageInfo(mi) 360 } 361 return ms 362 } 363 return mi.MessageOf(x) 364 } 365 366 // Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead. 367 func (*SubmitTransactionResponse) Descriptor() ([]byte, []int) { 368 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{3} 369 } 370 371 func (x *SubmitTransactionResponse) GetSuccess() bool { 372 if x != nil { 373 return x.Success 374 } 375 return false 376 } 377 378 func (x *SubmitTransactionResponse) GetTxHash() string { 379 if x != nil { 380 return x.TxHash 381 } 382 return "" 383 } 384 385 func (x *SubmitTransactionResponse) GetCode() uint32 { 386 if x != nil { 387 return x.Code 388 } 389 return 0 390 } 391 392 func (x *SubmitTransactionResponse) GetData() string { 393 if x != nil { 394 return x.Data 395 } 396 return "" 397 } 398 399 func (x *SubmitTransactionResponse) GetLog() string { 400 if x != nil { 401 return x.Log 402 } 403 return "" 404 } 405 406 func (x *SubmitTransactionResponse) GetHeight() int64 { 407 if x != nil { 408 return x.Height 409 } 410 return 0 411 } 412 413 // Request for checking a transaction v2 on Vega 414 type CheckTransactionRequest struct { 415 state protoimpl.MessageState 416 sizeCache protoimpl.SizeCache 417 unknownFields protoimpl.UnknownFields 418 419 // Transaction containing a command to be checked on the network, and not added to the chain's mempool. 420 Tx *v1.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 421 } 422 423 func (x *CheckTransactionRequest) Reset() { 424 *x = CheckTransactionRequest{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_vega_api_v1_core_proto_msgTypes[4] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430 } 431 432 func (x *CheckTransactionRequest) String() string { 433 return protoimpl.X.MessageStringOf(x) 434 } 435 436 func (*CheckTransactionRequest) ProtoMessage() {} 437 438 func (x *CheckTransactionRequest) ProtoReflect() protoreflect.Message { 439 mi := &file_vega_api_v1_core_proto_msgTypes[4] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448 } 449 450 // Deprecated: Use CheckTransactionRequest.ProtoReflect.Descriptor instead. 451 func (*CheckTransactionRequest) Descriptor() ([]byte, []int) { 452 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{4} 453 } 454 455 func (x *CheckTransactionRequest) GetTx() *v1.Transaction { 456 if x != nil { 457 return x.Tx 458 } 459 return nil 460 } 461 462 type CheckTransactionResponse struct { 463 state protoimpl.MessageState 464 sizeCache protoimpl.SizeCache 465 unknownFields protoimpl.UnknownFields 466 467 // Whether or not the transaction passed the submission checks. 468 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 469 // Error code to indicate the category of failure if the transaction was not successfully checked. 470 Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` 471 // Amount of space in a block that the transaction will fill. This does not relate to any monetary cost for submitting the transaction. 472 GasWanted int64 `protobuf:"varint,3,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` 473 // Unused. 474 GasUsed int64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` 475 // Further details for why the transaction was not successfully submitted. 476 Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` 477 // Further details for the underlying consensus layer of the result of the transaction. 478 Log string `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"` 479 // Unused. 480 Info string `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"` 481 } 482 483 func (x *CheckTransactionResponse) Reset() { 484 *x = CheckTransactionResponse{} 485 if protoimpl.UnsafeEnabled { 486 mi := &file_vega_api_v1_core_proto_msgTypes[5] 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 ms.StoreMessageInfo(mi) 489 } 490 } 491 492 func (x *CheckTransactionResponse) String() string { 493 return protoimpl.X.MessageStringOf(x) 494 } 495 496 func (*CheckTransactionResponse) ProtoMessage() {} 497 498 func (x *CheckTransactionResponse) ProtoReflect() protoreflect.Message { 499 mi := &file_vega_api_v1_core_proto_msgTypes[5] 500 if protoimpl.UnsafeEnabled && x != nil { 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 if ms.LoadMessageInfo() == nil { 503 ms.StoreMessageInfo(mi) 504 } 505 return ms 506 } 507 return mi.MessageOf(x) 508 } 509 510 // Deprecated: Use CheckTransactionResponse.ProtoReflect.Descriptor instead. 511 func (*CheckTransactionResponse) Descriptor() ([]byte, []int) { 512 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{5} 513 } 514 515 func (x *CheckTransactionResponse) GetSuccess() bool { 516 if x != nil { 517 return x.Success 518 } 519 return false 520 } 521 522 func (x *CheckTransactionResponse) GetCode() uint32 { 523 if x != nil { 524 return x.Code 525 } 526 return 0 527 } 528 529 func (x *CheckTransactionResponse) GetGasWanted() int64 { 530 if x != nil { 531 return x.GasWanted 532 } 533 return 0 534 } 535 536 func (x *CheckTransactionResponse) GetGasUsed() int64 { 537 if x != nil { 538 return x.GasUsed 539 } 540 return 0 541 } 542 543 func (x *CheckTransactionResponse) GetData() string { 544 if x != nil { 545 return x.Data 546 } 547 return "" 548 } 549 550 func (x *CheckTransactionResponse) GetLog() string { 551 if x != nil { 552 return x.Log 553 } 554 return "" 555 } 556 557 func (x *CheckTransactionResponse) GetInfo() string { 558 if x != nil { 559 return x.Info 560 } 561 return "" 562 } 563 564 // Request for submitting a version agnostic transaction on Vega 565 type SubmitRawTransactionRequest struct { 566 state protoimpl.MessageState 567 sizeCache protoimpl.SizeCache 568 unknownFields protoimpl.UnknownFields 569 570 // Bundle of signed payload and signature marshalled into a byte array, to form a transaction that will be submitted to the Vega blockchain 571 Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 572 // Type of transaction request, for example ASYNC, meaning the transaction will be submitted and not block on a response 573 Type SubmitRawTransactionRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.api.v1.SubmitRawTransactionRequest_Type" json:"type,omitempty"` 574 } 575 576 func (x *SubmitRawTransactionRequest) Reset() { 577 *x = SubmitRawTransactionRequest{} 578 if protoimpl.UnsafeEnabled { 579 mi := &file_vega_api_v1_core_proto_msgTypes[6] 580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 581 ms.StoreMessageInfo(mi) 582 } 583 } 584 585 func (x *SubmitRawTransactionRequest) String() string { 586 return protoimpl.X.MessageStringOf(x) 587 } 588 589 func (*SubmitRawTransactionRequest) ProtoMessage() {} 590 591 func (x *SubmitRawTransactionRequest) ProtoReflect() protoreflect.Message { 592 mi := &file_vega_api_v1_core_proto_msgTypes[6] 593 if protoimpl.UnsafeEnabled && x != nil { 594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 595 if ms.LoadMessageInfo() == nil { 596 ms.StoreMessageInfo(mi) 597 } 598 return ms 599 } 600 return mi.MessageOf(x) 601 } 602 603 // Deprecated: Use SubmitRawTransactionRequest.ProtoReflect.Descriptor instead. 604 func (*SubmitRawTransactionRequest) Descriptor() ([]byte, []int) { 605 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{6} 606 } 607 608 func (x *SubmitRawTransactionRequest) GetTx() []byte { 609 if x != nil { 610 return x.Tx 611 } 612 return nil 613 } 614 615 func (x *SubmitRawTransactionRequest) GetType() SubmitRawTransactionRequest_Type { 616 if x != nil { 617 return x.Type 618 } 619 return SubmitRawTransactionRequest_TYPE_UNSPECIFIED 620 } 621 622 // Response for submitting a version agnostic transaction on Vega 623 type SubmitRawTransactionResponse struct { 624 state protoimpl.MessageState 625 sizeCache protoimpl.SizeCache 626 unknownFields protoimpl.UnknownFields 627 628 // Whether or not the transaction was validated and submitted to the chain's mempool. 629 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 630 // Hash of the transaction, which can be used to identify the transaction in a node's event stream. 631 TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 632 // Error code to indicate the category of failure if the transaction was not successfully submitted. 633 Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` 634 // Further details for why the transaction was not successfully submitted. 635 Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` 636 // Further details for the underlying consensus layer of the result of the transaction. 637 Log string `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty"` 638 // Unused. 639 Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` 640 } 641 642 func (x *SubmitRawTransactionResponse) Reset() { 643 *x = SubmitRawTransactionResponse{} 644 if protoimpl.UnsafeEnabled { 645 mi := &file_vega_api_v1_core_proto_msgTypes[7] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 647 ms.StoreMessageInfo(mi) 648 } 649 } 650 651 func (x *SubmitRawTransactionResponse) String() string { 652 return protoimpl.X.MessageStringOf(x) 653 } 654 655 func (*SubmitRawTransactionResponse) ProtoMessage() {} 656 657 func (x *SubmitRawTransactionResponse) ProtoReflect() protoreflect.Message { 658 mi := &file_vega_api_v1_core_proto_msgTypes[7] 659 if protoimpl.UnsafeEnabled && x != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(x) 667 } 668 669 // Deprecated: Use SubmitRawTransactionResponse.ProtoReflect.Descriptor instead. 670 func (*SubmitRawTransactionResponse) Descriptor() ([]byte, []int) { 671 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{7} 672 } 673 674 func (x *SubmitRawTransactionResponse) GetSuccess() bool { 675 if x != nil { 676 return x.Success 677 } 678 return false 679 } 680 681 func (x *SubmitRawTransactionResponse) GetTxHash() string { 682 if x != nil { 683 return x.TxHash 684 } 685 return "" 686 } 687 688 func (x *SubmitRawTransactionResponse) GetCode() uint32 { 689 if x != nil { 690 return x.Code 691 } 692 return 0 693 } 694 695 func (x *SubmitRawTransactionResponse) GetData() string { 696 if x != nil { 697 return x.Data 698 } 699 return "" 700 } 701 702 func (x *SubmitRawTransactionResponse) GetLog() string { 703 if x != nil { 704 return x.Log 705 } 706 return "" 707 } 708 709 func (x *SubmitRawTransactionResponse) GetHeight() int64 { 710 if x != nil { 711 return x.Height 712 } 713 return 0 714 } 715 716 // Request for checking a version agnostic transaction on Vega 717 type CheckRawTransactionRequest struct { 718 state protoimpl.MessageState 719 sizeCache protoimpl.SizeCache 720 unknownFields protoimpl.UnknownFields 721 722 // Bundle of signed payload and signature marshalled into a byte array, to form a transaction that would be submitted to the Vega blockchain 723 Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 724 } 725 726 func (x *CheckRawTransactionRequest) Reset() { 727 *x = CheckRawTransactionRequest{} 728 if protoimpl.UnsafeEnabled { 729 mi := &file_vega_api_v1_core_proto_msgTypes[8] 730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 731 ms.StoreMessageInfo(mi) 732 } 733 } 734 735 func (x *CheckRawTransactionRequest) String() string { 736 return protoimpl.X.MessageStringOf(x) 737 } 738 739 func (*CheckRawTransactionRequest) ProtoMessage() {} 740 741 func (x *CheckRawTransactionRequest) ProtoReflect() protoreflect.Message { 742 mi := &file_vega_api_v1_core_proto_msgTypes[8] 743 if protoimpl.UnsafeEnabled && x != nil { 744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 745 if ms.LoadMessageInfo() == nil { 746 ms.StoreMessageInfo(mi) 747 } 748 return ms 749 } 750 return mi.MessageOf(x) 751 } 752 753 // Deprecated: Use CheckRawTransactionRequest.ProtoReflect.Descriptor instead. 754 func (*CheckRawTransactionRequest) Descriptor() ([]byte, []int) { 755 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{8} 756 } 757 758 func (x *CheckRawTransactionRequest) GetTx() []byte { 759 if x != nil { 760 return x.Tx 761 } 762 return nil 763 } 764 765 // Response for checking a version agnostic transaction on Vega 766 type CheckRawTransactionResponse struct { 767 state protoimpl.MessageState 768 sizeCache protoimpl.SizeCache 769 unknownFields protoimpl.UnknownFields 770 771 // Whether or not the transaction passed the submission checks. 772 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 773 // Error code to indicate the category of failure if the transaction was not successfully submitted. 774 Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` 775 // Amount of space in a block that the transaction will fill. This does not relate to any monetary cost for submitting the transaction. 776 GasWanted int64 `protobuf:"varint,3,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` 777 // Unused. 778 GasUsed int64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` 779 // Further details for why the transaction was not successfully checked. 780 Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` 781 // Further details for the underlying consensus layer of the result of the transaction. 782 Log string `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"` 783 // Unused 784 Info string `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"` 785 } 786 787 func (x *CheckRawTransactionResponse) Reset() { 788 *x = CheckRawTransactionResponse{} 789 if protoimpl.UnsafeEnabled { 790 mi := &file_vega_api_v1_core_proto_msgTypes[9] 791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 792 ms.StoreMessageInfo(mi) 793 } 794 } 795 796 func (x *CheckRawTransactionResponse) String() string { 797 return protoimpl.X.MessageStringOf(x) 798 } 799 800 func (*CheckRawTransactionResponse) ProtoMessage() {} 801 802 func (x *CheckRawTransactionResponse) ProtoReflect() protoreflect.Message { 803 mi := &file_vega_api_v1_core_proto_msgTypes[9] 804 if protoimpl.UnsafeEnabled && x != nil { 805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 806 if ms.LoadMessageInfo() == nil { 807 ms.StoreMessageInfo(mi) 808 } 809 return ms 810 } 811 return mi.MessageOf(x) 812 } 813 814 // Deprecated: Use CheckRawTransactionResponse.ProtoReflect.Descriptor instead. 815 func (*CheckRawTransactionResponse) Descriptor() ([]byte, []int) { 816 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{9} 817 } 818 819 func (x *CheckRawTransactionResponse) GetSuccess() bool { 820 if x != nil { 821 return x.Success 822 } 823 return false 824 } 825 826 func (x *CheckRawTransactionResponse) GetCode() uint32 { 827 if x != nil { 828 return x.Code 829 } 830 return 0 831 } 832 833 func (x *CheckRawTransactionResponse) GetGasWanted() int64 { 834 if x != nil { 835 return x.GasWanted 836 } 837 return 0 838 } 839 840 func (x *CheckRawTransactionResponse) GetGasUsed() int64 { 841 if x != nil { 842 return x.GasUsed 843 } 844 return 0 845 } 846 847 func (x *CheckRawTransactionResponse) GetData() string { 848 if x != nil { 849 return x.Data 850 } 851 return "" 852 } 853 854 func (x *CheckRawTransactionResponse) GetLog() string { 855 if x != nil { 856 return x.Log 857 } 858 return "" 859 } 860 861 func (x *CheckRawTransactionResponse) GetInfo() string { 862 if x != nil { 863 return x.Info 864 } 865 return "" 866 } 867 868 // Request for the current time of the Vega network 869 type GetVegaTimeRequest struct { 870 state protoimpl.MessageState 871 sizeCache protoimpl.SizeCache 872 unknownFields protoimpl.UnknownFields 873 } 874 875 func (x *GetVegaTimeRequest) Reset() { 876 *x = GetVegaTimeRequest{} 877 if protoimpl.UnsafeEnabled { 878 mi := &file_vega_api_v1_core_proto_msgTypes[10] 879 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 880 ms.StoreMessageInfo(mi) 881 } 882 } 883 884 func (x *GetVegaTimeRequest) String() string { 885 return protoimpl.X.MessageStringOf(x) 886 } 887 888 func (*GetVegaTimeRequest) ProtoMessage() {} 889 890 func (x *GetVegaTimeRequest) ProtoReflect() protoreflect.Message { 891 mi := &file_vega_api_v1_core_proto_msgTypes[10] 892 if protoimpl.UnsafeEnabled && x != nil { 893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 894 if ms.LoadMessageInfo() == nil { 895 ms.StoreMessageInfo(mi) 896 } 897 return ms 898 } 899 return mi.MessageOf(x) 900 } 901 902 // Deprecated: Use GetVegaTimeRequest.ProtoReflect.Descriptor instead. 903 func (*GetVegaTimeRequest) Descriptor() ([]byte, []int) { 904 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{10} 905 } 906 907 // Response for the current consensus coordinated time on the Vega network, referred to as "VegaTime" 908 type GetVegaTimeResponse struct { 909 state protoimpl.MessageState 910 sizeCache protoimpl.SizeCache 911 unknownFields protoimpl.UnknownFields 912 913 // Timestamp representation of current VegaTime as represented in 914 // Unix nanoseconds, for example `1580473859111222333` corresponds to `2020-01-31T12:30:59.111222333Z` 915 Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 916 } 917 918 func (x *GetVegaTimeResponse) Reset() { 919 *x = GetVegaTimeResponse{} 920 if protoimpl.UnsafeEnabled { 921 mi := &file_vega_api_v1_core_proto_msgTypes[11] 922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 923 ms.StoreMessageInfo(mi) 924 } 925 } 926 927 func (x *GetVegaTimeResponse) String() string { 928 return protoimpl.X.MessageStringOf(x) 929 } 930 931 func (*GetVegaTimeResponse) ProtoMessage() {} 932 933 func (x *GetVegaTimeResponse) ProtoReflect() protoreflect.Message { 934 mi := &file_vega_api_v1_core_proto_msgTypes[11] 935 if protoimpl.UnsafeEnabled && x != nil { 936 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 937 if ms.LoadMessageInfo() == nil { 938 ms.StoreMessageInfo(mi) 939 } 940 return ms 941 } 942 return mi.MessageOf(x) 943 } 944 945 // Deprecated: Use GetVegaTimeResponse.ProtoReflect.Descriptor instead. 946 func (*GetVegaTimeResponse) Descriptor() ([]byte, []int) { 947 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{11} 948 } 949 950 func (x *GetVegaTimeResponse) GetTimestamp() int64 { 951 if x != nil { 952 return x.Timestamp 953 } 954 return 0 955 } 956 957 // Request to subscribe to a stream of one or more event types from the Vega event bus 958 type ObserveEventBusRequest struct { 959 state protoimpl.MessageState 960 sizeCache protoimpl.SizeCache 961 unknownFields protoimpl.UnknownFields 962 963 // One or more types of event, required field 964 Type []v11.BusEventType `protobuf:"varint,1,rep,packed,name=type,proto3,enum=vega.events.v1.BusEventType" json:"type,omitempty"` 965 // Market ID to filter events for, optional field. If omitted, no markets will be filtered out. 966 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 967 // Party ID to filter events for, optional field. If omitted, no parties will be filtered out. 968 PartyId string `protobuf:"bytes,3,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` 969 // Batch size, optional field - 970 // If not specified, any events received will be sent immediately. If the client is not ready 971 // for the next data-set, data may be dropped a number of times, and eventually the stream is closed. 972 // if specified, the first batch will be sent when ready. To receive the next set of events, the client 973 // must write an `ObserveEventBatch` message on the stream to flush the buffer. 974 // If no message is received in 5 seconds, the stream is closed. 975 // Default: 0, send any and all events when they are available. 976 BatchSize int64 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` 977 } 978 979 func (x *ObserveEventBusRequest) Reset() { 980 *x = ObserveEventBusRequest{} 981 if protoimpl.UnsafeEnabled { 982 mi := &file_vega_api_v1_core_proto_msgTypes[12] 983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 984 ms.StoreMessageInfo(mi) 985 } 986 } 987 988 func (x *ObserveEventBusRequest) String() string { 989 return protoimpl.X.MessageStringOf(x) 990 } 991 992 func (*ObserveEventBusRequest) ProtoMessage() {} 993 994 func (x *ObserveEventBusRequest) ProtoReflect() protoreflect.Message { 995 mi := &file_vega_api_v1_core_proto_msgTypes[12] 996 if protoimpl.UnsafeEnabled && x != nil { 997 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 998 if ms.LoadMessageInfo() == nil { 999 ms.StoreMessageInfo(mi) 1000 } 1001 return ms 1002 } 1003 return mi.MessageOf(x) 1004 } 1005 1006 // Deprecated: Use ObserveEventBusRequest.ProtoReflect.Descriptor instead. 1007 func (*ObserveEventBusRequest) Descriptor() ([]byte, []int) { 1008 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{12} 1009 } 1010 1011 func (x *ObserveEventBusRequest) GetType() []v11.BusEventType { 1012 if x != nil { 1013 return x.Type 1014 } 1015 return nil 1016 } 1017 1018 func (x *ObserveEventBusRequest) GetMarketId() string { 1019 if x != nil { 1020 return x.MarketId 1021 } 1022 return "" 1023 } 1024 1025 func (x *ObserveEventBusRequest) GetPartyId() string { 1026 if x != nil { 1027 return x.PartyId 1028 } 1029 return "" 1030 } 1031 1032 func (x *ObserveEventBusRequest) GetBatchSize() int64 { 1033 if x != nil { 1034 return x.BatchSize 1035 } 1036 return 0 1037 } 1038 1039 // Response to a subscribed stream of events from the Vega event bus 1040 type ObserveEventBusResponse struct { 1041 state protoimpl.MessageState 1042 sizeCache protoimpl.SizeCache 1043 unknownFields protoimpl.UnknownFields 1044 1045 // One or more events that match the subscription request criteria. 1046 Events []*v11.BusEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` 1047 } 1048 1049 func (x *ObserveEventBusResponse) Reset() { 1050 *x = ObserveEventBusResponse{} 1051 if protoimpl.UnsafeEnabled { 1052 mi := &file_vega_api_v1_core_proto_msgTypes[13] 1053 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1054 ms.StoreMessageInfo(mi) 1055 } 1056 } 1057 1058 func (x *ObserveEventBusResponse) String() string { 1059 return protoimpl.X.MessageStringOf(x) 1060 } 1061 1062 func (*ObserveEventBusResponse) ProtoMessage() {} 1063 1064 func (x *ObserveEventBusResponse) ProtoReflect() protoreflect.Message { 1065 mi := &file_vega_api_v1_core_proto_msgTypes[13] 1066 if protoimpl.UnsafeEnabled && x != nil { 1067 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1068 if ms.LoadMessageInfo() == nil { 1069 ms.StoreMessageInfo(mi) 1070 } 1071 return ms 1072 } 1073 return mi.MessageOf(x) 1074 } 1075 1076 // Deprecated: Use ObserveEventBusResponse.ProtoReflect.Descriptor instead. 1077 func (*ObserveEventBusResponse) Descriptor() ([]byte, []int) { 1078 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{13} 1079 } 1080 1081 func (x *ObserveEventBusResponse) GetEvents() []*v11.BusEvent { 1082 if x != nil { 1083 return x.Events 1084 } 1085 return nil 1086 } 1087 1088 // Request for statistics about the Vega network 1089 type StatisticsRequest struct { 1090 state protoimpl.MessageState 1091 sizeCache protoimpl.SizeCache 1092 unknownFields protoimpl.UnknownFields 1093 } 1094 1095 func (x *StatisticsRequest) Reset() { 1096 *x = StatisticsRequest{} 1097 if protoimpl.UnsafeEnabled { 1098 mi := &file_vega_api_v1_core_proto_msgTypes[14] 1099 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1100 ms.StoreMessageInfo(mi) 1101 } 1102 } 1103 1104 func (x *StatisticsRequest) String() string { 1105 return protoimpl.X.MessageStringOf(x) 1106 } 1107 1108 func (*StatisticsRequest) ProtoMessage() {} 1109 1110 func (x *StatisticsRequest) ProtoReflect() protoreflect.Message { 1111 mi := &file_vega_api_v1_core_proto_msgTypes[14] 1112 if protoimpl.UnsafeEnabled && x != nil { 1113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1114 if ms.LoadMessageInfo() == nil { 1115 ms.StoreMessageInfo(mi) 1116 } 1117 return ms 1118 } 1119 return mi.MessageOf(x) 1120 } 1121 1122 // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead. 1123 func (*StatisticsRequest) Descriptor() ([]byte, []int) { 1124 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{14} 1125 } 1126 1127 // Response containing statistics about the Vega network 1128 type StatisticsResponse struct { 1129 state protoimpl.MessageState 1130 sizeCache protoimpl.SizeCache 1131 unknownFields protoimpl.UnknownFields 1132 1133 Statistics *Statistics `protobuf:"bytes,1,opt,name=statistics,proto3" json:"statistics,omitempty"` 1134 } 1135 1136 func (x *StatisticsResponse) Reset() { 1137 *x = StatisticsResponse{} 1138 if protoimpl.UnsafeEnabled { 1139 mi := &file_vega_api_v1_core_proto_msgTypes[15] 1140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1141 ms.StoreMessageInfo(mi) 1142 } 1143 } 1144 1145 func (x *StatisticsResponse) String() string { 1146 return protoimpl.X.MessageStringOf(x) 1147 } 1148 1149 func (*StatisticsResponse) ProtoMessage() {} 1150 1151 func (x *StatisticsResponse) ProtoReflect() protoreflect.Message { 1152 mi := &file_vega_api_v1_core_proto_msgTypes[15] 1153 if protoimpl.UnsafeEnabled && x != nil { 1154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1155 if ms.LoadMessageInfo() == nil { 1156 ms.StoreMessageInfo(mi) 1157 } 1158 return ms 1159 } 1160 return mi.MessageOf(x) 1161 } 1162 1163 // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead. 1164 func (*StatisticsResponse) Descriptor() ([]byte, []int) { 1165 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{15} 1166 } 1167 1168 func (x *StatisticsResponse) GetStatistics() *Statistics { 1169 if x != nil { 1170 return x.Statistics 1171 } 1172 return nil 1173 } 1174 1175 // Vega domain specific statistics as reported by the node the caller is connected to 1176 type Statistics struct { 1177 state protoimpl.MessageState 1178 sizeCache protoimpl.SizeCache 1179 unknownFields protoimpl.UnknownFields 1180 1181 // Current block height as reported by the Vega blockchain 1182 BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 1183 // Current backlog length i.e., number of transactions, that are waiting to be included in a block 1184 BacklogLength uint64 `protobuf:"varint,2,opt,name=backlog_length,json=backlogLength,proto3" json:"backlog_length,omitempty"` 1185 // Total number of connected peers to this node 1186 TotalPeers uint64 `protobuf:"varint,3,opt,name=total_peers,json=totalPeers,proto3" json:"total_peers,omitempty"` 1187 // Genesis block date and time formatted in ISO-8601 datetime format with nanosecond precision 1188 GenesisTime string `protobuf:"bytes,4,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` 1189 // Current system date and time formatted in ISO-8601 datetime format with nanosecond precision 1190 CurrentTime string `protobuf:"bytes,5,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` 1191 // Current Vega date and time formatted in ISO-8601 datetime format with nanosecond precision 1192 VegaTime string `protobuf:"bytes,6,opt,name=vega_time,json=vegaTime,proto3" json:"vega_time,omitempty"` 1193 // Status of the connection to the Vega blockchain 1194 Status vega.ChainStatus `protobuf:"varint,7,opt,name=status,proto3,enum=vega.ChainStatus" json:"status,omitempty"` 1195 // Transactions per block 1196 TxPerBlock uint64 `protobuf:"varint,8,opt,name=tx_per_block,json=txPerBlock,proto3" json:"tx_per_block,omitempty"` 1197 // Average transaction size in bytes 1198 AverageTxBytes uint64 `protobuf:"varint,9,opt,name=average_tx_bytes,json=averageTxBytes,proto3" json:"average_tx_bytes,omitempty"` 1199 // Average orders per block 1200 AverageOrdersPerBlock uint64 `protobuf:"varint,10,opt,name=average_orders_per_block,json=averageOrdersPerBlock,proto3" json:"average_orders_per_block,omitempty"` 1201 // Trades emitted per second 1202 TradesPerSecond uint64 `protobuf:"varint,11,opt,name=trades_per_second,json=tradesPerSecond,proto3" json:"trades_per_second,omitempty"` 1203 // Orders processed per second 1204 OrdersPerSecond uint64 `protobuf:"varint,12,opt,name=orders_per_second,json=ordersPerSecond,proto3" json:"orders_per_second,omitempty"` 1205 // Total markets on this Vega network 1206 TotalMarkets uint64 `protobuf:"varint,13,opt,name=total_markets,json=totalMarkets,proto3" json:"total_markets,omitempty"` 1207 // Total number of order amendments since genesis across all markets 1208 TotalAmendOrder uint64 `protobuf:"varint,16,opt,name=total_amend_order,json=totalAmendOrder,proto3" json:"total_amend_order,omitempty"` 1209 // Total number of order cancellations since genesis across all markets 1210 TotalCancelOrder uint64 `protobuf:"varint,17,opt,name=total_cancel_order,json=totalCancelOrder,proto3" json:"total_cancel_order,omitempty"` 1211 // Total number of order submissions since genesis across all markets 1212 TotalCreateOrder uint64 `protobuf:"varint,18,opt,name=total_create_order,json=totalCreateOrder,proto3" json:"total_create_order,omitempty"` 1213 // Total number of orders processed since genesis across all markets 1214 TotalOrders uint64 `protobuf:"varint,19,opt,name=total_orders,json=totalOrders,proto3" json:"total_orders,omitempty"` 1215 // Total number of trades emitted since genesis across all markets 1216 TotalTrades uint64 `protobuf:"varint,20,opt,name=total_trades,json=totalTrades,proto3" json:"total_trades,omitempty"` 1217 // Current number of stream subscribers to order data 1218 OrderSubscriptions uint32 `protobuf:"varint,21,opt,name=order_subscriptions,json=orderSubscriptions,proto3" json:"order_subscriptions,omitempty"` 1219 // Current number of stream subscribers to trade data 1220 TradeSubscriptions uint32 `protobuf:"varint,22,opt,name=trade_subscriptions,json=tradeSubscriptions,proto3" json:"trade_subscriptions,omitempty"` 1221 // Current number of stream subscribers to candlestick data 1222 CandleSubscriptions uint32 `protobuf:"varint,23,opt,name=candle_subscriptions,json=candleSubscriptions,proto3" json:"candle_subscriptions,omitempty"` 1223 // Current number of stream subscribers to market depth data 1224 MarketDepthSubscriptions uint32 `protobuf:"varint,24,opt,name=market_depth_subscriptions,json=marketDepthSubscriptions,proto3" json:"market_depth_subscriptions,omitempty"` 1225 // Current number of stream subscribers to positions data 1226 PositionsSubscriptions uint32 `protobuf:"varint,25,opt,name=positions_subscriptions,json=positionsSubscriptions,proto3" json:"positions_subscriptions,omitempty"` 1227 // Current number of stream subscribers to account data 1228 AccountSubscriptions uint32 `protobuf:"varint,26,opt,name=account_subscriptions,json=accountSubscriptions,proto3" json:"account_subscriptions,omitempty"` 1229 // Current number of stream subscribers to market data 1230 MarketDataSubscriptions uint32 `protobuf:"varint,27,opt,name=market_data_subscriptions,json=marketDataSubscriptions,proto3" json:"market_data_subscriptions,omitempty"` 1231 // Version hash of the Vega node software 1232 AppVersionHash string `protobuf:"bytes,28,opt,name=app_version_hash,json=appVersionHash,proto3" json:"app_version_hash,omitempty"` 1233 // Version of the Vega node software 1234 AppVersion string `protobuf:"bytes,29,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` 1235 // Version of the underlying Vega blockchain 1236 ChainVersion string `protobuf:"bytes,30,opt,name=chain_version,json=chainVersion,proto3" json:"chain_version,omitempty"` 1237 // Current block duration, in nanoseconds 1238 BlockDuration uint64 `protobuf:"varint,31,opt,name=block_duration,json=blockDuration,proto3" json:"block_duration,omitempty"` 1239 // Total uptime for this node formatted in ISO-8601 datetime format with nanosecond precision 1240 Uptime string `protobuf:"bytes,32,opt,name=uptime,proto3" json:"uptime,omitempty"` 1241 // Unique ID for the underlying Vega blockchain 1242 ChainId string `protobuf:"bytes,33,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 1243 // Current number of stream subscribers to market depth update data 1244 MarketDepthUpdatesSubscriptions uint32 `protobuf:"varint,34,opt,name=market_depth_updates_subscriptions,json=marketDepthUpdatesSubscriptions,proto3" json:"market_depth_updates_subscriptions,omitempty"` 1245 // Current block hash 1246 BlockHash string `protobuf:"bytes,35,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` 1247 // Current epoch 1248 EpochSeq uint64 `protobuf:"varint,36,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` 1249 // Epoch start time 1250 EpochStartTime string `protobuf:"bytes,37,opt,name=epoch_start_time,json=epochStartTime,proto3" json:"epoch_start_time,omitempty"` 1251 // Epoch expected end time 1252 EpochExpiryTime string `protobuf:"bytes,38,opt,name=epoch_expiry_time,json=epochExpiryTime,proto3" json:"epoch_expiry_time,omitempty"` 1253 // Number of events in the last block 1254 EventCount uint64 `protobuf:"varint,39,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"` 1255 // Rate of events per second in the last block 1256 EventsPerSecond uint64 `protobuf:"varint,40,opt,name=events_per_second,json=eventsPerSecond,proto3" json:"events_per_second,omitempty"` 1257 } 1258 1259 func (x *Statistics) Reset() { 1260 *x = Statistics{} 1261 if protoimpl.UnsafeEnabled { 1262 mi := &file_vega_api_v1_core_proto_msgTypes[16] 1263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1264 ms.StoreMessageInfo(mi) 1265 } 1266 } 1267 1268 func (x *Statistics) String() string { 1269 return protoimpl.X.MessageStringOf(x) 1270 } 1271 1272 func (*Statistics) ProtoMessage() {} 1273 1274 func (x *Statistics) ProtoReflect() protoreflect.Message { 1275 mi := &file_vega_api_v1_core_proto_msgTypes[16] 1276 if protoimpl.UnsafeEnabled && x != nil { 1277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1278 if ms.LoadMessageInfo() == nil { 1279 ms.StoreMessageInfo(mi) 1280 } 1281 return ms 1282 } 1283 return mi.MessageOf(x) 1284 } 1285 1286 // Deprecated: Use Statistics.ProtoReflect.Descriptor instead. 1287 func (*Statistics) Descriptor() ([]byte, []int) { 1288 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{16} 1289 } 1290 1291 func (x *Statistics) GetBlockHeight() uint64 { 1292 if x != nil { 1293 return x.BlockHeight 1294 } 1295 return 0 1296 } 1297 1298 func (x *Statistics) GetBacklogLength() uint64 { 1299 if x != nil { 1300 return x.BacklogLength 1301 } 1302 return 0 1303 } 1304 1305 func (x *Statistics) GetTotalPeers() uint64 { 1306 if x != nil { 1307 return x.TotalPeers 1308 } 1309 return 0 1310 } 1311 1312 func (x *Statistics) GetGenesisTime() string { 1313 if x != nil { 1314 return x.GenesisTime 1315 } 1316 return "" 1317 } 1318 1319 func (x *Statistics) GetCurrentTime() string { 1320 if x != nil { 1321 return x.CurrentTime 1322 } 1323 return "" 1324 } 1325 1326 func (x *Statistics) GetVegaTime() string { 1327 if x != nil { 1328 return x.VegaTime 1329 } 1330 return "" 1331 } 1332 1333 func (x *Statistics) GetStatus() vega.ChainStatus { 1334 if x != nil { 1335 return x.Status 1336 } 1337 return vega.ChainStatus(0) 1338 } 1339 1340 func (x *Statistics) GetTxPerBlock() uint64 { 1341 if x != nil { 1342 return x.TxPerBlock 1343 } 1344 return 0 1345 } 1346 1347 func (x *Statistics) GetAverageTxBytes() uint64 { 1348 if x != nil { 1349 return x.AverageTxBytes 1350 } 1351 return 0 1352 } 1353 1354 func (x *Statistics) GetAverageOrdersPerBlock() uint64 { 1355 if x != nil { 1356 return x.AverageOrdersPerBlock 1357 } 1358 return 0 1359 } 1360 1361 func (x *Statistics) GetTradesPerSecond() uint64 { 1362 if x != nil { 1363 return x.TradesPerSecond 1364 } 1365 return 0 1366 } 1367 1368 func (x *Statistics) GetOrdersPerSecond() uint64 { 1369 if x != nil { 1370 return x.OrdersPerSecond 1371 } 1372 return 0 1373 } 1374 1375 func (x *Statistics) GetTotalMarkets() uint64 { 1376 if x != nil { 1377 return x.TotalMarkets 1378 } 1379 return 0 1380 } 1381 1382 func (x *Statistics) GetTotalAmendOrder() uint64 { 1383 if x != nil { 1384 return x.TotalAmendOrder 1385 } 1386 return 0 1387 } 1388 1389 func (x *Statistics) GetTotalCancelOrder() uint64 { 1390 if x != nil { 1391 return x.TotalCancelOrder 1392 } 1393 return 0 1394 } 1395 1396 func (x *Statistics) GetTotalCreateOrder() uint64 { 1397 if x != nil { 1398 return x.TotalCreateOrder 1399 } 1400 return 0 1401 } 1402 1403 func (x *Statistics) GetTotalOrders() uint64 { 1404 if x != nil { 1405 return x.TotalOrders 1406 } 1407 return 0 1408 } 1409 1410 func (x *Statistics) GetTotalTrades() uint64 { 1411 if x != nil { 1412 return x.TotalTrades 1413 } 1414 return 0 1415 } 1416 1417 func (x *Statistics) GetOrderSubscriptions() uint32 { 1418 if x != nil { 1419 return x.OrderSubscriptions 1420 } 1421 return 0 1422 } 1423 1424 func (x *Statistics) GetTradeSubscriptions() uint32 { 1425 if x != nil { 1426 return x.TradeSubscriptions 1427 } 1428 return 0 1429 } 1430 1431 func (x *Statistics) GetCandleSubscriptions() uint32 { 1432 if x != nil { 1433 return x.CandleSubscriptions 1434 } 1435 return 0 1436 } 1437 1438 func (x *Statistics) GetMarketDepthSubscriptions() uint32 { 1439 if x != nil { 1440 return x.MarketDepthSubscriptions 1441 } 1442 return 0 1443 } 1444 1445 func (x *Statistics) GetPositionsSubscriptions() uint32 { 1446 if x != nil { 1447 return x.PositionsSubscriptions 1448 } 1449 return 0 1450 } 1451 1452 func (x *Statistics) GetAccountSubscriptions() uint32 { 1453 if x != nil { 1454 return x.AccountSubscriptions 1455 } 1456 return 0 1457 } 1458 1459 func (x *Statistics) GetMarketDataSubscriptions() uint32 { 1460 if x != nil { 1461 return x.MarketDataSubscriptions 1462 } 1463 return 0 1464 } 1465 1466 func (x *Statistics) GetAppVersionHash() string { 1467 if x != nil { 1468 return x.AppVersionHash 1469 } 1470 return "" 1471 } 1472 1473 func (x *Statistics) GetAppVersion() string { 1474 if x != nil { 1475 return x.AppVersion 1476 } 1477 return "" 1478 } 1479 1480 func (x *Statistics) GetChainVersion() string { 1481 if x != nil { 1482 return x.ChainVersion 1483 } 1484 return "" 1485 } 1486 1487 func (x *Statistics) GetBlockDuration() uint64 { 1488 if x != nil { 1489 return x.BlockDuration 1490 } 1491 return 0 1492 } 1493 1494 func (x *Statistics) GetUptime() string { 1495 if x != nil { 1496 return x.Uptime 1497 } 1498 return "" 1499 } 1500 1501 func (x *Statistics) GetChainId() string { 1502 if x != nil { 1503 return x.ChainId 1504 } 1505 return "" 1506 } 1507 1508 func (x *Statistics) GetMarketDepthUpdatesSubscriptions() uint32 { 1509 if x != nil { 1510 return x.MarketDepthUpdatesSubscriptions 1511 } 1512 return 0 1513 } 1514 1515 func (x *Statistics) GetBlockHash() string { 1516 if x != nil { 1517 return x.BlockHash 1518 } 1519 return "" 1520 } 1521 1522 func (x *Statistics) GetEpochSeq() uint64 { 1523 if x != nil { 1524 return x.EpochSeq 1525 } 1526 return 0 1527 } 1528 1529 func (x *Statistics) GetEpochStartTime() string { 1530 if x != nil { 1531 return x.EpochStartTime 1532 } 1533 return "" 1534 } 1535 1536 func (x *Statistics) GetEpochExpiryTime() string { 1537 if x != nil { 1538 return x.EpochExpiryTime 1539 } 1540 return "" 1541 } 1542 1543 func (x *Statistics) GetEventCount() uint64 { 1544 if x != nil { 1545 return x.EventCount 1546 } 1547 return 0 1548 } 1549 1550 func (x *Statistics) GetEventsPerSecond() uint64 { 1551 if x != nil { 1552 return x.EventsPerSecond 1553 } 1554 return 0 1555 } 1556 1557 // Request to get the height of the very last block processed 1558 // by tendermint 1559 type LastBlockHeightRequest struct { 1560 state protoimpl.MessageState 1561 sizeCache protoimpl.SizeCache 1562 unknownFields protoimpl.UnknownFields 1563 } 1564 1565 func (x *LastBlockHeightRequest) Reset() { 1566 *x = LastBlockHeightRequest{} 1567 if protoimpl.UnsafeEnabled { 1568 mi := &file_vega_api_v1_core_proto_msgTypes[17] 1569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1570 ms.StoreMessageInfo(mi) 1571 } 1572 } 1573 1574 func (x *LastBlockHeightRequest) String() string { 1575 return protoimpl.X.MessageStringOf(x) 1576 } 1577 1578 func (*LastBlockHeightRequest) ProtoMessage() {} 1579 1580 func (x *LastBlockHeightRequest) ProtoReflect() protoreflect.Message { 1581 mi := &file_vega_api_v1_core_proto_msgTypes[17] 1582 if protoimpl.UnsafeEnabled && x != nil { 1583 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1584 if ms.LoadMessageInfo() == nil { 1585 ms.StoreMessageInfo(mi) 1586 } 1587 return ms 1588 } 1589 return mi.MessageOf(x) 1590 } 1591 1592 // Deprecated: Use LastBlockHeightRequest.ProtoReflect.Descriptor instead. 1593 func (*LastBlockHeightRequest) Descriptor() ([]byte, []int) { 1594 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{17} 1595 } 1596 1597 // Response with the height of the last block processed by 1598 // tendermint 1599 type LastBlockHeightResponse struct { 1600 state protoimpl.MessageState 1601 sizeCache protoimpl.SizeCache 1602 unknownFields protoimpl.UnknownFields 1603 1604 // Last block height 1605 Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` 1606 // Last block hash 1607 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` 1608 // Supported proof of work hash function 1609 SpamPowHashFunction string `protobuf:"bytes,3,opt,name=spam_pow_hash_function,json=spamPowHashFunction,proto3" json:"spam_pow_hash_function,omitempty"` 1610 // Difficulty of the proof of work, i.e. the target number of zeros 1611 SpamPowDifficulty uint32 `protobuf:"varint,4,opt,name=spam_pow_difficulty,json=spamPowDifficulty,proto3" json:"spam_pow_difficulty,omitempty"` 1612 // Supported proof of work number of blocks behind current height allowed 1613 SpamPowNumberOfPastBlocks uint32 `protobuf:"varint,5,opt,name=spam_pow_number_of_past_blocks,json=spamPowNumberOfPastBlocks,proto3" json:"spam_pow_number_of_past_blocks,omitempty"` 1614 // Allowed number of transactions per block 1615 SpamPowNumberOfTxPerBlock uint32 `protobuf:"varint,6,opt,name=spam_pow_number_of_tx_per_block,json=spamPowNumberOfTxPerBlock,proto3" json:"spam_pow_number_of_tx_per_block,omitempty"` 1616 // Boolean indicating whether increasing difficulty is allowed for using the 1617 // same height for more than `spam_pow_number_of_past_blocks` transactions 1618 SpamPowIncreasingDifficulty bool `protobuf:"varint,7,opt,name=spam_pow_increasing_difficulty,json=spamPowIncreasingDifficulty,proto3" json:"spam_pow_increasing_difficulty,omitempty"` 1619 // Network chain id from which the block comes from 1620 ChainId string `protobuf:"bytes,8,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 1621 } 1622 1623 func (x *LastBlockHeightResponse) Reset() { 1624 *x = LastBlockHeightResponse{} 1625 if protoimpl.UnsafeEnabled { 1626 mi := &file_vega_api_v1_core_proto_msgTypes[18] 1627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1628 ms.StoreMessageInfo(mi) 1629 } 1630 } 1631 1632 func (x *LastBlockHeightResponse) String() string { 1633 return protoimpl.X.MessageStringOf(x) 1634 } 1635 1636 func (*LastBlockHeightResponse) ProtoMessage() {} 1637 1638 func (x *LastBlockHeightResponse) ProtoReflect() protoreflect.Message { 1639 mi := &file_vega_api_v1_core_proto_msgTypes[18] 1640 if protoimpl.UnsafeEnabled && x != nil { 1641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1642 if ms.LoadMessageInfo() == nil { 1643 ms.StoreMessageInfo(mi) 1644 } 1645 return ms 1646 } 1647 return mi.MessageOf(x) 1648 } 1649 1650 // Deprecated: Use LastBlockHeightResponse.ProtoReflect.Descriptor instead. 1651 func (*LastBlockHeightResponse) Descriptor() ([]byte, []int) { 1652 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{18} 1653 } 1654 1655 func (x *LastBlockHeightResponse) GetHeight() uint64 { 1656 if x != nil { 1657 return x.Height 1658 } 1659 return 0 1660 } 1661 1662 func (x *LastBlockHeightResponse) GetHash() string { 1663 if x != nil { 1664 return x.Hash 1665 } 1666 return "" 1667 } 1668 1669 func (x *LastBlockHeightResponse) GetSpamPowHashFunction() string { 1670 if x != nil { 1671 return x.SpamPowHashFunction 1672 } 1673 return "" 1674 } 1675 1676 func (x *LastBlockHeightResponse) GetSpamPowDifficulty() uint32 { 1677 if x != nil { 1678 return x.SpamPowDifficulty 1679 } 1680 return 0 1681 } 1682 1683 func (x *LastBlockHeightResponse) GetSpamPowNumberOfPastBlocks() uint32 { 1684 if x != nil { 1685 return x.SpamPowNumberOfPastBlocks 1686 } 1687 return 0 1688 } 1689 1690 func (x *LastBlockHeightResponse) GetSpamPowNumberOfTxPerBlock() uint32 { 1691 if x != nil { 1692 return x.SpamPowNumberOfTxPerBlock 1693 } 1694 return 0 1695 } 1696 1697 func (x *LastBlockHeightResponse) GetSpamPowIncreasingDifficulty() bool { 1698 if x != nil { 1699 return x.SpamPowIncreasingDifficulty 1700 } 1701 return false 1702 } 1703 1704 func (x *LastBlockHeightResponse) GetChainId() string { 1705 if x != nil { 1706 return x.ChainId 1707 } 1708 return "" 1709 } 1710 1711 // Request to retrieve the spam statistics of a party for the given epoch 1712 type GetSpamStatisticsRequest struct { 1713 state protoimpl.MessageState 1714 sizeCache protoimpl.SizeCache 1715 unknownFields protoimpl.UnknownFields 1716 1717 // Party ID whose statistics are requested 1718 PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` 1719 } 1720 1721 func (x *GetSpamStatisticsRequest) Reset() { 1722 *x = GetSpamStatisticsRequest{} 1723 if protoimpl.UnsafeEnabled { 1724 mi := &file_vega_api_v1_core_proto_msgTypes[19] 1725 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1726 ms.StoreMessageInfo(mi) 1727 } 1728 } 1729 1730 func (x *GetSpamStatisticsRequest) String() string { 1731 return protoimpl.X.MessageStringOf(x) 1732 } 1733 1734 func (*GetSpamStatisticsRequest) ProtoMessage() {} 1735 1736 func (x *GetSpamStatisticsRequest) ProtoReflect() protoreflect.Message { 1737 mi := &file_vega_api_v1_core_proto_msgTypes[19] 1738 if protoimpl.UnsafeEnabled && x != nil { 1739 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1740 if ms.LoadMessageInfo() == nil { 1741 ms.StoreMessageInfo(mi) 1742 } 1743 return ms 1744 } 1745 return mi.MessageOf(x) 1746 } 1747 1748 // Deprecated: Use GetSpamStatisticsRequest.ProtoReflect.Descriptor instead. 1749 func (*GetSpamStatisticsRequest) Descriptor() ([]byte, []int) { 1750 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{19} 1751 } 1752 1753 func (x *GetSpamStatisticsRequest) GetPartyId() string { 1754 if x != nil { 1755 return x.PartyId 1756 } 1757 return "" 1758 } 1759 1760 // Statistics for a given spam policy 1761 type SpamStatistic struct { 1762 state protoimpl.MessageState 1763 sizeCache protoimpl.SizeCache 1764 unknownFields protoimpl.UnknownFields 1765 1766 // Current transaction count received from the party during this epoch for this policy 1767 CountForEpoch uint64 `protobuf:"varint,1,opt,name=count_for_epoch,json=countForEpoch,proto3" json:"count_for_epoch,omitempty"` 1768 // Maximum number of transactions allowed for this policy in an epoch 1769 MaxForEpoch uint64 `protobuf:"varint,2,opt,name=max_for_epoch,json=maxForEpoch,proto3" json:"max_for_epoch,omitempty"` 1770 // If blocked the timestamp when the party will be unblocked as RFC3339Nano 1771 BannedUntil *string `protobuf:"bytes,4,opt,name=banned_until,json=bannedUntil,proto3,oneof" json:"banned_until,omitempty"` 1772 // Effective minimum number of tokens required to submit a transaction of this type 1773 MinTokensRequired string `protobuf:"bytes,5,opt,name=min_tokens_required,json=minTokensRequired,proto3" json:"min_tokens_required,omitempty"` 1774 } 1775 1776 func (x *SpamStatistic) Reset() { 1777 *x = SpamStatistic{} 1778 if protoimpl.UnsafeEnabled { 1779 mi := &file_vega_api_v1_core_proto_msgTypes[20] 1780 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1781 ms.StoreMessageInfo(mi) 1782 } 1783 } 1784 1785 func (x *SpamStatistic) String() string { 1786 return protoimpl.X.MessageStringOf(x) 1787 } 1788 1789 func (*SpamStatistic) ProtoMessage() {} 1790 1791 func (x *SpamStatistic) ProtoReflect() protoreflect.Message { 1792 mi := &file_vega_api_v1_core_proto_msgTypes[20] 1793 if protoimpl.UnsafeEnabled && x != nil { 1794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1795 if ms.LoadMessageInfo() == nil { 1796 ms.StoreMessageInfo(mi) 1797 } 1798 return ms 1799 } 1800 return mi.MessageOf(x) 1801 } 1802 1803 // Deprecated: Use SpamStatistic.ProtoReflect.Descriptor instead. 1804 func (*SpamStatistic) Descriptor() ([]byte, []int) { 1805 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{20} 1806 } 1807 1808 func (x *SpamStatistic) GetCountForEpoch() uint64 { 1809 if x != nil { 1810 return x.CountForEpoch 1811 } 1812 return 0 1813 } 1814 1815 func (x *SpamStatistic) GetMaxForEpoch() uint64 { 1816 if x != nil { 1817 return x.MaxForEpoch 1818 } 1819 return 0 1820 } 1821 1822 func (x *SpamStatistic) GetBannedUntil() string { 1823 if x != nil && x.BannedUntil != nil { 1824 return *x.BannedUntil 1825 } 1826 return "" 1827 } 1828 1829 func (x *SpamStatistic) GetMinTokensRequired() string { 1830 if x != nil { 1831 return x.MinTokensRequired 1832 } 1833 return "" 1834 } 1835 1836 // Voting statistics by proposal for a given party for the current epoch 1837 type VoteSpamStatistics struct { 1838 state protoimpl.MessageState 1839 sizeCache protoimpl.SizeCache 1840 unknownFields protoimpl.UnknownFields 1841 1842 // List of statistics for proposals voted on by the party 1843 Statistics []*VoteSpamStatistic `protobuf:"bytes,1,rep,name=statistics,proto3" json:"statistics,omitempty"` 1844 // Maximum number of votes per proposal allowed in an epoch 1845 MaxForEpoch uint64 `protobuf:"varint,2,opt,name=max_for_epoch,json=maxForEpoch,proto3" json:"max_for_epoch,omitempty"` 1846 // If blocked the timestamp when the party will be unblocked as RFC3339Nano 1847 BannedUntil *string `protobuf:"bytes,3,opt,name=banned_until,json=bannedUntil,proto3,oneof" json:"banned_until,omitempty"` 1848 } 1849 1850 func (x *VoteSpamStatistics) Reset() { 1851 *x = VoteSpamStatistics{} 1852 if protoimpl.UnsafeEnabled { 1853 mi := &file_vega_api_v1_core_proto_msgTypes[21] 1854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1855 ms.StoreMessageInfo(mi) 1856 } 1857 } 1858 1859 func (x *VoteSpamStatistics) String() string { 1860 return protoimpl.X.MessageStringOf(x) 1861 } 1862 1863 func (*VoteSpamStatistics) ProtoMessage() {} 1864 1865 func (x *VoteSpamStatistics) ProtoReflect() protoreflect.Message { 1866 mi := &file_vega_api_v1_core_proto_msgTypes[21] 1867 if protoimpl.UnsafeEnabled && x != nil { 1868 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1869 if ms.LoadMessageInfo() == nil { 1870 ms.StoreMessageInfo(mi) 1871 } 1872 return ms 1873 } 1874 return mi.MessageOf(x) 1875 } 1876 1877 // Deprecated: Use VoteSpamStatistics.ProtoReflect.Descriptor instead. 1878 func (*VoteSpamStatistics) Descriptor() ([]byte, []int) { 1879 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{21} 1880 } 1881 1882 func (x *VoteSpamStatistics) GetStatistics() []*VoteSpamStatistic { 1883 if x != nil { 1884 return x.Statistics 1885 } 1886 return nil 1887 } 1888 1889 func (x *VoteSpamStatistics) GetMaxForEpoch() uint64 { 1890 if x != nil { 1891 return x.MaxForEpoch 1892 } 1893 return 0 1894 } 1895 1896 func (x *VoteSpamStatistics) GetBannedUntil() string { 1897 if x != nil && x.BannedUntil != nil { 1898 return *x.BannedUntil 1899 } 1900 return "" 1901 } 1902 1903 // Vote statistics for the voting spam policies 1904 // which are calculated as a ratio of the total votes 1905 // that have been rejected. 1906 type VoteSpamStatistic struct { 1907 state protoimpl.MessageState 1908 sizeCache protoimpl.SizeCache 1909 unknownFields protoimpl.UnknownFields 1910 1911 // Unique ID of the proposal being voted on by the party. 1912 Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` 1913 // Current vote count received from the party for the given proposal during this epoch 1914 CountForEpoch uint64 `protobuf:"varint,2,opt,name=count_for_epoch,json=countForEpoch,proto3" json:"count_for_epoch,omitempty"` 1915 // Effective minimum number of tokens required to vote on the proposal 1916 MinTokensRequired string `protobuf:"bytes,3,opt,name=min_tokens_required,json=minTokensRequired,proto3" json:"min_tokens_required,omitempty"` 1917 } 1918 1919 func (x *VoteSpamStatistic) Reset() { 1920 *x = VoteSpamStatistic{} 1921 if protoimpl.UnsafeEnabled { 1922 mi := &file_vega_api_v1_core_proto_msgTypes[22] 1923 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1924 ms.StoreMessageInfo(mi) 1925 } 1926 } 1927 1928 func (x *VoteSpamStatistic) String() string { 1929 return protoimpl.X.MessageStringOf(x) 1930 } 1931 1932 func (*VoteSpamStatistic) ProtoMessage() {} 1933 1934 func (x *VoteSpamStatistic) ProtoReflect() protoreflect.Message { 1935 mi := &file_vega_api_v1_core_proto_msgTypes[22] 1936 if protoimpl.UnsafeEnabled && x != nil { 1937 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1938 if ms.LoadMessageInfo() == nil { 1939 ms.StoreMessageInfo(mi) 1940 } 1941 return ms 1942 } 1943 return mi.MessageOf(x) 1944 } 1945 1946 // Deprecated: Use VoteSpamStatistic.ProtoReflect.Descriptor instead. 1947 func (*VoteSpamStatistic) Descriptor() ([]byte, []int) { 1948 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{22} 1949 } 1950 1951 func (x *VoteSpamStatistic) GetProposal() string { 1952 if x != nil { 1953 return x.Proposal 1954 } 1955 return "" 1956 } 1957 1958 func (x *VoteSpamStatistic) GetCountForEpoch() uint64 { 1959 if x != nil { 1960 return x.CountForEpoch 1961 } 1962 return 0 1963 } 1964 1965 func (x *VoteSpamStatistic) GetMinTokensRequired() string { 1966 if x != nil { 1967 return x.MinTokensRequired 1968 } 1969 return "" 1970 } 1971 1972 // Proof of Work state for a given block 1973 type PoWBlockState struct { 1974 state protoimpl.MessageState 1975 sizeCache protoimpl.SizeCache 1976 unknownFields protoimpl.UnknownFields 1977 1978 // Block height for the current Proof of Work state statistics 1979 BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 1980 // Hash of the current block 1981 BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` 1982 // Total number of transactions seen in the block 1983 TransactionsSeen uint64 `protobuf:"varint,3,opt,name=transactions_seen,json=transactionsSeen,proto3" json:"transactions_seen,omitempty"` 1984 // This is the minimum required difficulty for the next transaction submitted on this block 1985 // if it is possible to submit more transactions on this block, otherwise nil. 1986 ExpectedDifficulty *uint64 `protobuf:"varint,4,opt,name=expected_difficulty,json=expectedDifficulty,proto3,oneof" json:"expected_difficulty,omitempty"` 1987 // Hashing function used to calculate the block hash 1988 HashFunction string `protobuf:"bytes,5,opt,name=hash_function,json=hashFunction,proto3" json:"hash_function,omitempty"` 1989 // Base difficulty for this block for when transactions seen < tx_per_block 1990 Difficulty uint64 `protobuf:"varint,6,opt,name=difficulty,proto3" json:"difficulty,omitempty"` 1991 // Number of transactions that can have their proof-of-work calculated with this block hash before 1992 // either the difficulty increases, or no more transactions can use this block hash 1993 TxPerBlock uint64 `protobuf:"varint,7,opt,name=tx_per_block,json=txPerBlock,proto3" json:"tx_per_block,omitempty"` 1994 // Whether or not this block allows for increasing proof-of-work difficulty if the 1995 // tx-per-block-hash limit has been reached 1996 IncreasingDifficulty bool `protobuf:"varint,8,opt,name=increasing_difficulty,json=increasingDifficulty,proto3" json:"increasing_difficulty,omitempty"` 1997 } 1998 1999 func (x *PoWBlockState) Reset() { 2000 *x = PoWBlockState{} 2001 if protoimpl.UnsafeEnabled { 2002 mi := &file_vega_api_v1_core_proto_msgTypes[23] 2003 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2004 ms.StoreMessageInfo(mi) 2005 } 2006 } 2007 2008 func (x *PoWBlockState) String() string { 2009 return protoimpl.X.MessageStringOf(x) 2010 } 2011 2012 func (*PoWBlockState) ProtoMessage() {} 2013 2014 func (x *PoWBlockState) ProtoReflect() protoreflect.Message { 2015 mi := &file_vega_api_v1_core_proto_msgTypes[23] 2016 if protoimpl.UnsafeEnabled && x != nil { 2017 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2018 if ms.LoadMessageInfo() == nil { 2019 ms.StoreMessageInfo(mi) 2020 } 2021 return ms 2022 } 2023 return mi.MessageOf(x) 2024 } 2025 2026 // Deprecated: Use PoWBlockState.ProtoReflect.Descriptor instead. 2027 func (*PoWBlockState) Descriptor() ([]byte, []int) { 2028 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{23} 2029 } 2030 2031 func (x *PoWBlockState) GetBlockHeight() uint64 { 2032 if x != nil { 2033 return x.BlockHeight 2034 } 2035 return 0 2036 } 2037 2038 func (x *PoWBlockState) GetBlockHash() string { 2039 if x != nil { 2040 return x.BlockHash 2041 } 2042 return "" 2043 } 2044 2045 func (x *PoWBlockState) GetTransactionsSeen() uint64 { 2046 if x != nil { 2047 return x.TransactionsSeen 2048 } 2049 return 0 2050 } 2051 2052 func (x *PoWBlockState) GetExpectedDifficulty() uint64 { 2053 if x != nil && x.ExpectedDifficulty != nil { 2054 return *x.ExpectedDifficulty 2055 } 2056 return 0 2057 } 2058 2059 func (x *PoWBlockState) GetHashFunction() string { 2060 if x != nil { 2061 return x.HashFunction 2062 } 2063 return "" 2064 } 2065 2066 func (x *PoWBlockState) GetDifficulty() uint64 { 2067 if x != nil { 2068 return x.Difficulty 2069 } 2070 return 0 2071 } 2072 2073 func (x *PoWBlockState) GetTxPerBlock() uint64 { 2074 if x != nil { 2075 return x.TxPerBlock 2076 } 2077 return 0 2078 } 2079 2080 func (x *PoWBlockState) GetIncreasingDifficulty() bool { 2081 if x != nil { 2082 return x.IncreasingDifficulty 2083 } 2084 return false 2085 } 2086 2087 // Proof of work statistics for a party 2088 type PoWStatistic struct { 2089 state protoimpl.MessageState 2090 sizeCache protoimpl.SizeCache 2091 unknownFields protoimpl.UnknownFields 2092 2093 // Block state for each block in scope for PoW calculation 2094 BlockStates []*PoWBlockState `protobuf:"bytes,1,rep,name=block_states,json=blockStates,proto3" json:"block_states,omitempty"` 2095 // PoW banned until timestamp as RFC3339Nano 2096 BannedUntil *string `protobuf:"bytes,2,opt,name=banned_until,json=bannedUntil,proto3,oneof" json:"banned_until,omitempty"` 2097 // Number of block behind the current block whose hash can be used for proof-of-work calculations 2098 NumberOfPastBlocks uint64 `protobuf:"varint,3,opt,name=number_of_past_blocks,json=numberOfPastBlocks,proto3" json:"number_of_past_blocks,omitempty"` 2099 } 2100 2101 func (x *PoWStatistic) Reset() { 2102 *x = PoWStatistic{} 2103 if protoimpl.UnsafeEnabled { 2104 mi := &file_vega_api_v1_core_proto_msgTypes[24] 2105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2106 ms.StoreMessageInfo(mi) 2107 } 2108 } 2109 2110 func (x *PoWStatistic) String() string { 2111 return protoimpl.X.MessageStringOf(x) 2112 } 2113 2114 func (*PoWStatistic) ProtoMessage() {} 2115 2116 func (x *PoWStatistic) ProtoReflect() protoreflect.Message { 2117 mi := &file_vega_api_v1_core_proto_msgTypes[24] 2118 if protoimpl.UnsafeEnabled && x != nil { 2119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2120 if ms.LoadMessageInfo() == nil { 2121 ms.StoreMessageInfo(mi) 2122 } 2123 return ms 2124 } 2125 return mi.MessageOf(x) 2126 } 2127 2128 // Deprecated: Use PoWStatistic.ProtoReflect.Descriptor instead. 2129 func (*PoWStatistic) Descriptor() ([]byte, []int) { 2130 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{24} 2131 } 2132 2133 func (x *PoWStatistic) GetBlockStates() []*PoWBlockState { 2134 if x != nil { 2135 return x.BlockStates 2136 } 2137 return nil 2138 } 2139 2140 func (x *PoWStatistic) GetBannedUntil() string { 2141 if x != nil && x.BannedUntil != nil { 2142 return *x.BannedUntil 2143 } 2144 return "" 2145 } 2146 2147 func (x *PoWStatistic) GetNumberOfPastBlocks() uint64 { 2148 if x != nil { 2149 return x.NumberOfPastBlocks 2150 } 2151 return 0 2152 } 2153 2154 // Complete spam statistics captured for a given party 2155 type SpamStatistics struct { 2156 state protoimpl.MessageState 2157 sizeCache protoimpl.SizeCache 2158 unknownFields protoimpl.UnknownFields 2159 2160 // Statistics for proposal transactions made by the party. 2161 Proposals *SpamStatistic `protobuf:"bytes,1,opt,name=proposals,proto3" json:"proposals,omitempty"` 2162 // Statistics for delegation transactions made by the party. 2163 Delegations *SpamStatistic `protobuf:"bytes,2,opt,name=delegations,proto3" json:"delegations,omitempty"` 2164 // Statistics for transfer transactions made by the party. 2165 Transfers *SpamStatistic `protobuf:"bytes,3,opt,name=transfers,proto3" json:"transfers,omitempty"` 2166 // Statistics for node announcement transactions made by the party. 2167 NodeAnnouncements *SpamStatistic `protobuf:"bytes,4,opt,name=node_announcements,json=nodeAnnouncements,proto3" json:"node_announcements,omitempty"` 2168 // Statistics for proposal votes made by the party. 2169 Votes *VoteSpamStatistics `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes,omitempty"` 2170 // Statistics for proof of work difficulty observed per block for the party. 2171 Pow *PoWStatistic `protobuf:"bytes,6,opt,name=pow,proto3" json:"pow,omitempty"` 2172 // Statistics for multisig signatures issued for the party. 2173 IssueSignatures *SpamStatistic `protobuf:"bytes,7,opt,name=issue_signatures,json=issueSignatures,proto3" json:"issue_signatures,omitempty"` 2174 // Epoch in which these statistics apply to. 2175 EpochSeq uint64 `protobuf:"varint,8,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` 2176 // Statistics for transactions made by the party to create referral sets. 2177 CreateReferralSet *SpamStatistic `protobuf:"bytes,9,opt,name=create_referral_set,json=createReferralSet,proto3" json:"create_referral_set,omitempty"` 2178 // Statistics for transactions made by the party to update referral sets. 2179 UpdateReferralSet *SpamStatistic `protobuf:"bytes,10,opt,name=update_referral_set,json=updateReferralSet,proto3" json:"update_referral_set,omitempty"` 2180 // Statistics for transactions made by the party to apply referral codes. 2181 ApplyReferralCode *SpamStatistic `protobuf:"bytes,11,opt,name=apply_referral_code,json=applyReferralCode,proto3" json:"apply_referral_code,omitempty"` 2182 } 2183 2184 func (x *SpamStatistics) Reset() { 2185 *x = SpamStatistics{} 2186 if protoimpl.UnsafeEnabled { 2187 mi := &file_vega_api_v1_core_proto_msgTypes[25] 2188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2189 ms.StoreMessageInfo(mi) 2190 } 2191 } 2192 2193 func (x *SpamStatistics) String() string { 2194 return protoimpl.X.MessageStringOf(x) 2195 } 2196 2197 func (*SpamStatistics) ProtoMessage() {} 2198 2199 func (x *SpamStatistics) ProtoReflect() protoreflect.Message { 2200 mi := &file_vega_api_v1_core_proto_msgTypes[25] 2201 if protoimpl.UnsafeEnabled && x != nil { 2202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2203 if ms.LoadMessageInfo() == nil { 2204 ms.StoreMessageInfo(mi) 2205 } 2206 return ms 2207 } 2208 return mi.MessageOf(x) 2209 } 2210 2211 // Deprecated: Use SpamStatistics.ProtoReflect.Descriptor instead. 2212 func (*SpamStatistics) Descriptor() ([]byte, []int) { 2213 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{25} 2214 } 2215 2216 func (x *SpamStatistics) GetProposals() *SpamStatistic { 2217 if x != nil { 2218 return x.Proposals 2219 } 2220 return nil 2221 } 2222 2223 func (x *SpamStatistics) GetDelegations() *SpamStatistic { 2224 if x != nil { 2225 return x.Delegations 2226 } 2227 return nil 2228 } 2229 2230 func (x *SpamStatistics) GetTransfers() *SpamStatistic { 2231 if x != nil { 2232 return x.Transfers 2233 } 2234 return nil 2235 } 2236 2237 func (x *SpamStatistics) GetNodeAnnouncements() *SpamStatistic { 2238 if x != nil { 2239 return x.NodeAnnouncements 2240 } 2241 return nil 2242 } 2243 2244 func (x *SpamStatistics) GetVotes() *VoteSpamStatistics { 2245 if x != nil { 2246 return x.Votes 2247 } 2248 return nil 2249 } 2250 2251 func (x *SpamStatistics) GetPow() *PoWStatistic { 2252 if x != nil { 2253 return x.Pow 2254 } 2255 return nil 2256 } 2257 2258 func (x *SpamStatistics) GetIssueSignatures() *SpamStatistic { 2259 if x != nil { 2260 return x.IssueSignatures 2261 } 2262 return nil 2263 } 2264 2265 func (x *SpamStatistics) GetEpochSeq() uint64 { 2266 if x != nil { 2267 return x.EpochSeq 2268 } 2269 return 0 2270 } 2271 2272 func (x *SpamStatistics) GetCreateReferralSet() *SpamStatistic { 2273 if x != nil { 2274 return x.CreateReferralSet 2275 } 2276 return nil 2277 } 2278 2279 func (x *SpamStatistics) GetUpdateReferralSet() *SpamStatistic { 2280 if x != nil { 2281 return x.UpdateReferralSet 2282 } 2283 return nil 2284 } 2285 2286 func (x *SpamStatistics) GetApplyReferralCode() *SpamStatistic { 2287 if x != nil { 2288 return x.ApplyReferralCode 2289 } 2290 return nil 2291 } 2292 2293 // Response containing all the spam statistics of a party for the current epoch 2294 type GetSpamStatisticsResponse struct { 2295 state protoimpl.MessageState 2296 sizeCache protoimpl.SizeCache 2297 unknownFields protoimpl.UnknownFields 2298 2299 // Chain ID for which the statistics are captured. 2300 ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 2301 // Spam statistics for the party 2302 Statistics *SpamStatistics `protobuf:"bytes,2,opt,name=statistics,proto3" json:"statistics,omitempty"` 2303 } 2304 2305 func (x *GetSpamStatisticsResponse) Reset() { 2306 *x = GetSpamStatisticsResponse{} 2307 if protoimpl.UnsafeEnabled { 2308 mi := &file_vega_api_v1_core_proto_msgTypes[26] 2309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2310 ms.StoreMessageInfo(mi) 2311 } 2312 } 2313 2314 func (x *GetSpamStatisticsResponse) String() string { 2315 return protoimpl.X.MessageStringOf(x) 2316 } 2317 2318 func (*GetSpamStatisticsResponse) ProtoMessage() {} 2319 2320 func (x *GetSpamStatisticsResponse) ProtoReflect() protoreflect.Message { 2321 mi := &file_vega_api_v1_core_proto_msgTypes[26] 2322 if protoimpl.UnsafeEnabled && x != nil { 2323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2324 if ms.LoadMessageInfo() == nil { 2325 ms.StoreMessageInfo(mi) 2326 } 2327 return ms 2328 } 2329 return mi.MessageOf(x) 2330 } 2331 2332 // Deprecated: Use GetSpamStatisticsResponse.ProtoReflect.Descriptor instead. 2333 func (*GetSpamStatisticsResponse) Descriptor() ([]byte, []int) { 2334 return file_vega_api_v1_core_proto_rawDescGZIP(), []int{26} 2335 } 2336 2337 func (x *GetSpamStatisticsResponse) GetChainId() string { 2338 if x != nil { 2339 return x.ChainId 2340 } 2341 return "" 2342 } 2343 2344 func (x *GetSpamStatisticsResponse) GetStatistics() *SpamStatistics { 2345 if x != nil { 2346 return x.Statistics 2347 } 2348 return nil 2349 } 2350 2351 var File_vega_api_v1_core_proto protoreflect.FileDescriptor 2352 2353 var file_vega_api_v1_core_proto_rawDesc = []byte{ 2354 0x0a, 0x16, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 2355 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2356 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 2357 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 2358 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 2359 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 2360 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 2361 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 2362 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 2363 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x76, 0x65, 0x67, 0x61, 2364 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 2365 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x76, 0x65, 2366 0x67, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x70, 2367 0x61, 0x67, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 2368 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 2369 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x65, 0x76, 0x65, 2370 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 2371 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 2372 0x79, 0x12, 0x22, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 2373 0x20, 0x01, 0x28, 0x0c, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 2374 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x37, 0x0a, 0x1b, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 2375 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 2376 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 2377 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xe3, 2378 0x01, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 2379 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x74, 2380 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 2381 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 2382 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x02, 0x74, 0x78, 2383 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 2384 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 2385 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 2386 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 2387 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 2388 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 2389 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x53, 0x59, 2390 0x4e, 0x43, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4e, 2391 0x43, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 2392 0x49, 0x54, 0x10, 0x03, 0x22, 0xa0, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 2393 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 2394 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 2395 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 2396 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 2397 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 2398 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 2399 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 2400 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 2401 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 2402 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x4e, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 2403 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 2404 0x73, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 2405 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 2406 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xe2, 2407 0x41, 0x01, 0x02, 0x52, 0x02, 0x74, 0x78, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 2408 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 2409 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 2410 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 2411 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 2412 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 2413 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x61, 0x73, 0x57, 0x61, 0x6e, 0x74, 0x65, 2414 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 2415 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 2416 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 2417 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 2418 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 2419 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x6d, 0x69, 2420 0x74, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 2421 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 2422 0x28, 0x0c, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x02, 0x74, 0x78, 0x12, 0x47, 0x0a, 0x04, 2423 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x76, 0x65, 0x67, 2424 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 2425 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 2426 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 2427 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 2428 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 2429 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x53, 0x59, 0x4e, 2430 0x43, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 2431 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 2432 0x54, 0x10, 0x03, 0x22, 0xa3, 0x01, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x61, 2433 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 2434 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 2435 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x17, 2436 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 2437 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 2438 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 2439 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 2440 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 2441 0x67, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 2442 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x32, 0x0a, 0x1a, 0x43, 0x68, 0x65, 2443 0x63, 0x6b, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 2444 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 2445 0x01, 0x28, 0x0c, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x02, 0x74, 0x78, 0x22, 0xbf, 0x01, 2446 0x0a, 0x1b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 2447 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 2448 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 2449 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 2450 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 2451 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 2452 0x09, 0x67, 0x61, 0x73, 0x57, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 2453 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x61, 2454 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 2455 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 2456 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 2457 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 2458 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x67, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 2459 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x33, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x65, 0x67, 0x61, 2460 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 2461 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 2462 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xa1, 0x01, 0x0a, 0x16, 0x4f, 2463 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x73, 0x52, 0x65, 2464 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 2465 0x03, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 2466 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 2467 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 2468 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 2469 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 2470 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 2471 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 2472 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 2473 0x0a, 0x17, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x75, 2474 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x65, 0x76, 0x65, 2475 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x65, 0x67, 0x61, 2476 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x45, 0x76, 2477 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x53, 2478 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 2479 0x22, 0x4d, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 2480 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 2481 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 2482 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 2483 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 2484 0xc8, 0x0c, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x21, 2485 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 2486 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 2487 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 2488 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x6c, 2489 0x6f, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 2490 0x6c, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 2491 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 2492 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 2493 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 2494 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 2495 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 2496 0x1b, 0x0a, 0x09, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 2497 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x67, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 2498 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x76, 2499 0x65, 0x67, 0x61, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 2500 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x78, 0x5f, 0x70, 0x65, 2501 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 2502 0x78, 0x50, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x65, 2503 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 2504 0x01, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x54, 0x78, 0x42, 0x79, 2505 0x74, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6f, 2506 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 2507 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4f, 0x72, 2508 0x64, 0x65, 0x72, 0x73, 0x50, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 2509 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 2510 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x50, 2511 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x72, 0x64, 0x65, 2512 0x72, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x0c, 0x20, 2513 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 2514 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 2515 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 2516 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 2517 0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x10, 2518 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x65, 0x6e, 0x64, 2519 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 2520 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 2521 0x04, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 2522 0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 2523 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 2524 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 2525 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 2526 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 2527 0x64, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x72, 2528 0x61, 0x64, 0x65, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 2529 0x6c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x6f, 0x72, 0x64, 0x65, 0x72, 2530 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 2531 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 2532 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x64, 2533 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 2534 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x61, 0x64, 0x65, 0x53, 0x75, 0x62, 0x73, 2535 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x61, 0x6e, 2536 0x64, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2537 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 2538 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 2539 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x73, 0x75, 0x62, 2540 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 2541 0x52, 0x18, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x74, 0x68, 0x53, 0x75, 0x62, 2542 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x17, 0x70, 0x6f, 2543 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 2544 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x70, 0x6f, 0x73, 2545 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 2546 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 2547 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1a, 0x20, 0x01, 2548 0x28, 0x0d, 0x52, 0x14, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 2549 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x61, 0x72, 0x6b, 2550 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 2551 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6d, 0x61, 0x72, 2552 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 2553 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 2554 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 2555 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 2556 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1d, 0x20, 2557 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 2558 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 2559 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x56, 0x65, 0x72, 2560 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x75, 2561 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x62, 0x6c, 2562 0x6f, 0x63, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 2563 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x70, 0x74, 2564 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 2565 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x4b, 2566 0x0a, 0x22, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x75, 2567 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 2568 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1f, 0x6d, 0x61, 0x72, 0x6b, 2569 0x65, 0x74, 0x44, 0x65, 0x70, 0x74, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x53, 0x75, 2570 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 2571 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 2572 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x70, 2573 0x6f, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x24, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 2574 0x70, 0x6f, 0x63, 0x68, 0x53, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x70, 0x6f, 0x63, 0x68, 2575 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 2576 0x09, 0x52, 0x0e, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 2577 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 2578 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x70, 2579 0x6f, 0x63, 0x68, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 2580 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x27, 0x20, 0x01, 2581 0x28, 0x04, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 2582 0x0a, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 2583 0x6f, 0x6e, 0x64, 0x18, 0x28, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 2584 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x61, 2585 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 2586 0x75, 0x65, 0x73, 0x74, 0x22, 0x91, 0x03, 0x0a, 0x17, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 2587 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 2588 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 2589 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 2590 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x33, 0x0a, 0x16, 2591 0x73, 0x70, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x77, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x66, 0x75, 2592 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x70, 2593 0x61, 0x6d, 0x50, 0x6f, 0x77, 0x48, 0x61, 0x73, 0x68, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 2594 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x70, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x77, 0x5f, 0x64, 0x69, 2595 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 2596 0x73, 0x70, 0x61, 0x6d, 0x50, 0x6f, 0x77, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 2597 0x79, 0x12, 0x41, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x77, 0x5f, 0x6e, 0x75, 2598 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 2599 0x63, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x73, 0x70, 0x61, 0x6d, 0x50, 2600 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x50, 0x61, 0x73, 0x74, 0x42, 0x6c, 2601 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x42, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x77, 2602 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 0x78, 0x5f, 0x70, 0x65, 2603 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x73, 2604 0x70, 0x61, 0x6d, 0x50, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x54, 0x78, 2605 0x50, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x43, 0x0a, 0x1e, 0x73, 0x70, 0x61, 0x6d, 2606 0x5f, 0x70, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x69, 0x6e, 0x67, 0x5f, 2607 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 2608 0x52, 0x1b, 0x73, 0x70, 0x61, 0x6d, 0x50, 0x6f, 0x77, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 2609 0x69, 0x6e, 0x67, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x19, 0x0a, 2610 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 2611 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 2612 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 2613 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 2614 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x61, 2615 0x72, 0x74, 0x79, 0x49, 0x64, 0x22, 0xc4, 0x01, 0x0a, 0x0d, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 2616 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 2617 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 2618 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 2619 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 2620 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x46, 0x6f, 0x72, 0x45, 0x70, 2621 0x6f, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 2622 0x74, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x61, 0x6e, 2623 0x6e, 0x65, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 2624 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 2625 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 2626 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 2627 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x22, 0xb1, 0x01, 0x0a, 2628 0x12, 0x56, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 2629 0x69, 0x63, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 2630 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2631 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 2632 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 2633 0x69, 0x63, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 2634 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x46, 2635 0x6f, 0x72, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 2636 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 2637 0x0b, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x42, 2638 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 2639 0x22, 0x87, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 2640 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 2641 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 2642 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 2643 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x6f, 0x75, 2644 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x69, 2645 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 2646 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 2647 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xe8, 0x02, 0x0a, 0x0d, 0x50, 2648 0x6f, 0x57, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 2649 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 2650 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 2651 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 2652 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2b, 2653 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x73, 2654 0x65, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 2655 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x13, 0x65, 2656 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 2657 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x12, 0x65, 0x78, 0x70, 0x65, 2658 0x63, 0x74, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x88, 0x01, 2659 0x01, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 2660 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x68, 0x46, 0x75, 2661 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 2662 0x75, 0x6c, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 2663 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x78, 0x5f, 0x70, 0x65, 0x72, 2664 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x78, 2665 0x50, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x33, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x72, 2666 0x65, 0x61, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 2667 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 2668 0x69, 0x6e, 0x67, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x42, 0x16, 0x0a, 2669 0x14, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 2670 0x63, 0x75, 0x6c, 0x74, 0x79, 0x22, 0xb9, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x57, 0x53, 0x74, 0x61, 2671 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x3d, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 2672 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 2673 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x57, 0x42, 0x6c, 2674 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 2675 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 2676 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 2677 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 2678 0x15, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x73, 0x74, 0x5f, 2679 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6e, 0x75, 2680 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x50, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 2681 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 2682 0x6c, 0x22, 0xb9, 0x05, 0x0a, 0x0e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 2683 0x74, 0x69, 0x63, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 2684 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2685 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 2686 0x74, 0x69, 0x63, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3c, 2687 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 2688 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 2689 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 2690 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x09, 2691 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 2692 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 2693 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x09, 0x74, 0x72, 0x61, 2694 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x61, 2695 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 2696 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 2697 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x11, 2698 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 2699 0x73, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 2700 0x32, 0x1f, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 2701 0x6f, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 2702 0x73, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x70, 0x6f, 0x77, 0x18, 2703 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 2704 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x57, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 2705 0x52, 0x03, 0x70, 0x6f, 0x77, 0x12, 0x45, 0x0a, 0x10, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x73, 2706 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 2707 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 2708 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0f, 0x69, 0x73, 0x73, 2709 0x75, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 2710 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 2711 0x08, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x53, 0x65, 0x71, 0x12, 0x4a, 0x0a, 0x13, 0x63, 0x72, 0x65, 2712 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x74, 2713 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 2714 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 2715 0x69, 0x63, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 2716 0x61, 0x6c, 0x53, 0x65, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 2717 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 2718 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 2719 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x11, 2720 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x53, 0x65, 2721 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 2722 0x72, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 2723 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 2724 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x11, 0x61, 0x70, 0x70, 0x6c, 2725 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x73, 0x0a, 2726 0x19, 0x47, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 2727 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 2728 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 2729 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 2730 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x65, 0x67, 0x61, 2731 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 2732 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 2733 0x63, 0x73, 0x32, 0xd8, 0x07, 0x0a, 0x0b, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 2734 0x63, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 2735 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2736 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 2737 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 2738 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 2739 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 2740 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 2741 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 2742 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 2743 0x61, 0x67, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 2744 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 2745 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x43, 0x68, 2746 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 2747 0x12, 0x4d, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1e, 2748 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 2749 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 2750 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 2751 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 2752 0x5c, 0x0a, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 2753 0x68, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 2754 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 2755 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2756 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 2757 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 2758 0x0b, 0x47, 0x65, 0x74, 0x56, 0x65, 0x67, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x76, 2759 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 2760 0x67, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 2761 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 2762 0x65, 0x67, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 2763 0x60, 0x0a, 0x0f, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 2764 0x75, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 2765 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x73, 2766 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 2767 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x76, 0x65, 2768 0x6e, 0x74, 0x42, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 2769 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x77, 0x54, 0x72, 2770 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x76, 0x65, 0x67, 0x61, 2771 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x61, 2772 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 2773 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 2774 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 2775 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 2776 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 2777 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 2778 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 2779 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 2780 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 2781 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 2782 0x68, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 2783 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 2784 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 2785 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 2786 0x28, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 2787 0x65, 0x63, 0x6b, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 2788 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 2789 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x25, 2790 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 2791 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 2792 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 2793 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x69, 2794 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x65, 0x5a, 2795 0x2c, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 2796 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 2797 0x73, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x92, 0x41, 0x34, 2798 0x12, 0x19, 0x0a, 0x0e, 0x56, 0x65, 0x67, 0x61, 0x20, 0x63, 0x6f, 0x72, 0x65, 0x20, 0x41, 0x50, 2799 0x49, 0x73, 0x32, 0x07, 0x76, 0x30, 0x2e, 0x37, 0x39, 0x2e, 0x30, 0x1a, 0x13, 0x6c, 0x62, 0x2e, 2800 0x74, 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x78, 0x79, 0x7a, 2801 0x2a, 0x02, 0x01, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2802 } 2803 2804 var ( 2805 file_vega_api_v1_core_proto_rawDescOnce sync.Once 2806 file_vega_api_v1_core_proto_rawDescData = file_vega_api_v1_core_proto_rawDesc 2807 ) 2808 2809 func file_vega_api_v1_core_proto_rawDescGZIP() []byte { 2810 file_vega_api_v1_core_proto_rawDescOnce.Do(func() { 2811 file_vega_api_v1_core_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_api_v1_core_proto_rawDescData) 2812 }) 2813 return file_vega_api_v1_core_proto_rawDescData 2814 } 2815 2816 var file_vega_api_v1_core_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 2817 var file_vega_api_v1_core_proto_msgTypes = make([]protoimpl.MessageInfo, 27) 2818 var file_vega_api_v1_core_proto_goTypes = []interface{}{ 2819 (SubmitTransactionRequest_Type)(0), // 0: vega.api.v1.SubmitTransactionRequest.Type 2820 (SubmitRawTransactionRequest_Type)(0), // 1: vega.api.v1.SubmitRawTransactionRequest.Type 2821 (*PropagateChainEventRequest)(nil), // 2: vega.api.v1.PropagateChainEventRequest 2822 (*PropagateChainEventResponse)(nil), // 3: vega.api.v1.PropagateChainEventResponse 2823 (*SubmitTransactionRequest)(nil), // 4: vega.api.v1.SubmitTransactionRequest 2824 (*SubmitTransactionResponse)(nil), // 5: vega.api.v1.SubmitTransactionResponse 2825 (*CheckTransactionRequest)(nil), // 6: vega.api.v1.CheckTransactionRequest 2826 (*CheckTransactionResponse)(nil), // 7: vega.api.v1.CheckTransactionResponse 2827 (*SubmitRawTransactionRequest)(nil), // 8: vega.api.v1.SubmitRawTransactionRequest 2828 (*SubmitRawTransactionResponse)(nil), // 9: vega.api.v1.SubmitRawTransactionResponse 2829 (*CheckRawTransactionRequest)(nil), // 10: vega.api.v1.CheckRawTransactionRequest 2830 (*CheckRawTransactionResponse)(nil), // 11: vega.api.v1.CheckRawTransactionResponse 2831 (*GetVegaTimeRequest)(nil), // 12: vega.api.v1.GetVegaTimeRequest 2832 (*GetVegaTimeResponse)(nil), // 13: vega.api.v1.GetVegaTimeResponse 2833 (*ObserveEventBusRequest)(nil), // 14: vega.api.v1.ObserveEventBusRequest 2834 (*ObserveEventBusResponse)(nil), // 15: vega.api.v1.ObserveEventBusResponse 2835 (*StatisticsRequest)(nil), // 16: vega.api.v1.StatisticsRequest 2836 (*StatisticsResponse)(nil), // 17: vega.api.v1.StatisticsResponse 2837 (*Statistics)(nil), // 18: vega.api.v1.Statistics 2838 (*LastBlockHeightRequest)(nil), // 19: vega.api.v1.LastBlockHeightRequest 2839 (*LastBlockHeightResponse)(nil), // 20: vega.api.v1.LastBlockHeightResponse 2840 (*GetSpamStatisticsRequest)(nil), // 21: vega.api.v1.GetSpamStatisticsRequest 2841 (*SpamStatistic)(nil), // 22: vega.api.v1.SpamStatistic 2842 (*VoteSpamStatistics)(nil), // 23: vega.api.v1.VoteSpamStatistics 2843 (*VoteSpamStatistic)(nil), // 24: vega.api.v1.VoteSpamStatistic 2844 (*PoWBlockState)(nil), // 25: vega.api.v1.PoWBlockState 2845 (*PoWStatistic)(nil), // 26: vega.api.v1.PoWStatistic 2846 (*SpamStatistics)(nil), // 27: vega.api.v1.SpamStatistics 2847 (*GetSpamStatisticsResponse)(nil), // 28: vega.api.v1.GetSpamStatisticsResponse 2848 (*v1.Transaction)(nil), // 29: vega.commands.v1.Transaction 2849 (v11.BusEventType)(0), // 30: vega.events.v1.BusEventType 2850 (*v11.BusEvent)(nil), // 31: vega.events.v1.BusEvent 2851 (vega.ChainStatus)(0), // 32: vega.ChainStatus 2852 } 2853 var file_vega_api_v1_core_proto_depIdxs = []int32{ 2854 29, // 0: vega.api.v1.SubmitTransactionRequest.tx:type_name -> vega.commands.v1.Transaction 2855 0, // 1: vega.api.v1.SubmitTransactionRequest.type:type_name -> vega.api.v1.SubmitTransactionRequest.Type 2856 29, // 2: vega.api.v1.CheckTransactionRequest.tx:type_name -> vega.commands.v1.Transaction 2857 1, // 3: vega.api.v1.SubmitRawTransactionRequest.type:type_name -> vega.api.v1.SubmitRawTransactionRequest.Type 2858 30, // 4: vega.api.v1.ObserveEventBusRequest.type:type_name -> vega.events.v1.BusEventType 2859 31, // 5: vega.api.v1.ObserveEventBusResponse.events:type_name -> vega.events.v1.BusEvent 2860 18, // 6: vega.api.v1.StatisticsResponse.statistics:type_name -> vega.api.v1.Statistics 2861 32, // 7: vega.api.v1.Statistics.status:type_name -> vega.ChainStatus 2862 24, // 8: vega.api.v1.VoteSpamStatistics.statistics:type_name -> vega.api.v1.VoteSpamStatistic 2863 25, // 9: vega.api.v1.PoWStatistic.block_states:type_name -> vega.api.v1.PoWBlockState 2864 22, // 10: vega.api.v1.SpamStatistics.proposals:type_name -> vega.api.v1.SpamStatistic 2865 22, // 11: vega.api.v1.SpamStatistics.delegations:type_name -> vega.api.v1.SpamStatistic 2866 22, // 12: vega.api.v1.SpamStatistics.transfers:type_name -> vega.api.v1.SpamStatistic 2867 22, // 13: vega.api.v1.SpamStatistics.node_announcements:type_name -> vega.api.v1.SpamStatistic 2868 23, // 14: vega.api.v1.SpamStatistics.votes:type_name -> vega.api.v1.VoteSpamStatistics 2869 26, // 15: vega.api.v1.SpamStatistics.pow:type_name -> vega.api.v1.PoWStatistic 2870 22, // 16: vega.api.v1.SpamStatistics.issue_signatures:type_name -> vega.api.v1.SpamStatistic 2871 22, // 17: vega.api.v1.SpamStatistics.create_referral_set:type_name -> vega.api.v1.SpamStatistic 2872 22, // 18: vega.api.v1.SpamStatistics.update_referral_set:type_name -> vega.api.v1.SpamStatistic 2873 22, // 19: vega.api.v1.SpamStatistics.apply_referral_code:type_name -> vega.api.v1.SpamStatistic 2874 27, // 20: vega.api.v1.GetSpamStatisticsResponse.statistics:type_name -> vega.api.v1.SpamStatistics 2875 4, // 21: vega.api.v1.CoreService.SubmitTransaction:input_type -> vega.api.v1.SubmitTransactionRequest 2876 2, // 22: vega.api.v1.CoreService.PropagateChainEvent:input_type -> vega.api.v1.PropagateChainEventRequest 2877 16, // 23: vega.api.v1.CoreService.Statistics:input_type -> vega.api.v1.StatisticsRequest 2878 19, // 24: vega.api.v1.CoreService.LastBlockHeight:input_type -> vega.api.v1.LastBlockHeightRequest 2879 12, // 25: vega.api.v1.CoreService.GetVegaTime:input_type -> vega.api.v1.GetVegaTimeRequest 2880 14, // 26: vega.api.v1.CoreService.ObserveEventBus:input_type -> vega.api.v1.ObserveEventBusRequest 2881 8, // 27: vega.api.v1.CoreService.SubmitRawTransaction:input_type -> vega.api.v1.SubmitRawTransactionRequest 2882 6, // 28: vega.api.v1.CoreService.CheckTransaction:input_type -> vega.api.v1.CheckTransactionRequest 2883 10, // 29: vega.api.v1.CoreService.CheckRawTransaction:input_type -> vega.api.v1.CheckRawTransactionRequest 2884 21, // 30: vega.api.v1.CoreService.GetSpamStatistics:input_type -> vega.api.v1.GetSpamStatisticsRequest 2885 5, // 31: vega.api.v1.CoreService.SubmitTransaction:output_type -> vega.api.v1.SubmitTransactionResponse 2886 3, // 32: vega.api.v1.CoreService.PropagateChainEvent:output_type -> vega.api.v1.PropagateChainEventResponse 2887 17, // 33: vega.api.v1.CoreService.Statistics:output_type -> vega.api.v1.StatisticsResponse 2888 20, // 34: vega.api.v1.CoreService.LastBlockHeight:output_type -> vega.api.v1.LastBlockHeightResponse 2889 13, // 35: vega.api.v1.CoreService.GetVegaTime:output_type -> vega.api.v1.GetVegaTimeResponse 2890 15, // 36: vega.api.v1.CoreService.ObserveEventBus:output_type -> vega.api.v1.ObserveEventBusResponse 2891 9, // 37: vega.api.v1.CoreService.SubmitRawTransaction:output_type -> vega.api.v1.SubmitRawTransactionResponse 2892 7, // 38: vega.api.v1.CoreService.CheckTransaction:output_type -> vega.api.v1.CheckTransactionResponse 2893 11, // 39: vega.api.v1.CoreService.CheckRawTransaction:output_type -> vega.api.v1.CheckRawTransactionResponse 2894 28, // 40: vega.api.v1.CoreService.GetSpamStatistics:output_type -> vega.api.v1.GetSpamStatisticsResponse 2895 31, // [31:41] is the sub-list for method output_type 2896 21, // [21:31] is the sub-list for method input_type 2897 21, // [21:21] is the sub-list for extension type_name 2898 21, // [21:21] is the sub-list for extension extendee 2899 0, // [0:21] is the sub-list for field type_name 2900 } 2901 2902 func init() { file_vega_api_v1_core_proto_init() } 2903 func file_vega_api_v1_core_proto_init() { 2904 if File_vega_api_v1_core_proto != nil { 2905 return 2906 } 2907 if !protoimpl.UnsafeEnabled { 2908 file_vega_api_v1_core_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2909 switch v := v.(*PropagateChainEventRequest); i { 2910 case 0: 2911 return &v.state 2912 case 1: 2913 return &v.sizeCache 2914 case 2: 2915 return &v.unknownFields 2916 default: 2917 return nil 2918 } 2919 } 2920 file_vega_api_v1_core_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2921 switch v := v.(*PropagateChainEventResponse); i { 2922 case 0: 2923 return &v.state 2924 case 1: 2925 return &v.sizeCache 2926 case 2: 2927 return &v.unknownFields 2928 default: 2929 return nil 2930 } 2931 } 2932 file_vega_api_v1_core_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2933 switch v := v.(*SubmitTransactionRequest); i { 2934 case 0: 2935 return &v.state 2936 case 1: 2937 return &v.sizeCache 2938 case 2: 2939 return &v.unknownFields 2940 default: 2941 return nil 2942 } 2943 } 2944 file_vega_api_v1_core_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2945 switch v := v.(*SubmitTransactionResponse); i { 2946 case 0: 2947 return &v.state 2948 case 1: 2949 return &v.sizeCache 2950 case 2: 2951 return &v.unknownFields 2952 default: 2953 return nil 2954 } 2955 } 2956 file_vega_api_v1_core_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2957 switch v := v.(*CheckTransactionRequest); i { 2958 case 0: 2959 return &v.state 2960 case 1: 2961 return &v.sizeCache 2962 case 2: 2963 return &v.unknownFields 2964 default: 2965 return nil 2966 } 2967 } 2968 file_vega_api_v1_core_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2969 switch v := v.(*CheckTransactionResponse); i { 2970 case 0: 2971 return &v.state 2972 case 1: 2973 return &v.sizeCache 2974 case 2: 2975 return &v.unknownFields 2976 default: 2977 return nil 2978 } 2979 } 2980 file_vega_api_v1_core_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2981 switch v := v.(*SubmitRawTransactionRequest); i { 2982 case 0: 2983 return &v.state 2984 case 1: 2985 return &v.sizeCache 2986 case 2: 2987 return &v.unknownFields 2988 default: 2989 return nil 2990 } 2991 } 2992 file_vega_api_v1_core_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2993 switch v := v.(*SubmitRawTransactionResponse); i { 2994 case 0: 2995 return &v.state 2996 case 1: 2997 return &v.sizeCache 2998 case 2: 2999 return &v.unknownFields 3000 default: 3001 return nil 3002 } 3003 } 3004 file_vega_api_v1_core_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3005 switch v := v.(*CheckRawTransactionRequest); i { 3006 case 0: 3007 return &v.state 3008 case 1: 3009 return &v.sizeCache 3010 case 2: 3011 return &v.unknownFields 3012 default: 3013 return nil 3014 } 3015 } 3016 file_vega_api_v1_core_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3017 switch v := v.(*CheckRawTransactionResponse); i { 3018 case 0: 3019 return &v.state 3020 case 1: 3021 return &v.sizeCache 3022 case 2: 3023 return &v.unknownFields 3024 default: 3025 return nil 3026 } 3027 } 3028 file_vega_api_v1_core_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3029 switch v := v.(*GetVegaTimeRequest); i { 3030 case 0: 3031 return &v.state 3032 case 1: 3033 return &v.sizeCache 3034 case 2: 3035 return &v.unknownFields 3036 default: 3037 return nil 3038 } 3039 } 3040 file_vega_api_v1_core_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3041 switch v := v.(*GetVegaTimeResponse); i { 3042 case 0: 3043 return &v.state 3044 case 1: 3045 return &v.sizeCache 3046 case 2: 3047 return &v.unknownFields 3048 default: 3049 return nil 3050 } 3051 } 3052 file_vega_api_v1_core_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3053 switch v := v.(*ObserveEventBusRequest); i { 3054 case 0: 3055 return &v.state 3056 case 1: 3057 return &v.sizeCache 3058 case 2: 3059 return &v.unknownFields 3060 default: 3061 return nil 3062 } 3063 } 3064 file_vega_api_v1_core_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3065 switch v := v.(*ObserveEventBusResponse); i { 3066 case 0: 3067 return &v.state 3068 case 1: 3069 return &v.sizeCache 3070 case 2: 3071 return &v.unknownFields 3072 default: 3073 return nil 3074 } 3075 } 3076 file_vega_api_v1_core_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3077 switch v := v.(*StatisticsRequest); i { 3078 case 0: 3079 return &v.state 3080 case 1: 3081 return &v.sizeCache 3082 case 2: 3083 return &v.unknownFields 3084 default: 3085 return nil 3086 } 3087 } 3088 file_vega_api_v1_core_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3089 switch v := v.(*StatisticsResponse); i { 3090 case 0: 3091 return &v.state 3092 case 1: 3093 return &v.sizeCache 3094 case 2: 3095 return &v.unknownFields 3096 default: 3097 return nil 3098 } 3099 } 3100 file_vega_api_v1_core_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3101 switch v := v.(*Statistics); i { 3102 case 0: 3103 return &v.state 3104 case 1: 3105 return &v.sizeCache 3106 case 2: 3107 return &v.unknownFields 3108 default: 3109 return nil 3110 } 3111 } 3112 file_vega_api_v1_core_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3113 switch v := v.(*LastBlockHeightRequest); i { 3114 case 0: 3115 return &v.state 3116 case 1: 3117 return &v.sizeCache 3118 case 2: 3119 return &v.unknownFields 3120 default: 3121 return nil 3122 } 3123 } 3124 file_vega_api_v1_core_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 3125 switch v := v.(*LastBlockHeightResponse); i { 3126 case 0: 3127 return &v.state 3128 case 1: 3129 return &v.sizeCache 3130 case 2: 3131 return &v.unknownFields 3132 default: 3133 return nil 3134 } 3135 } 3136 file_vega_api_v1_core_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 3137 switch v := v.(*GetSpamStatisticsRequest); i { 3138 case 0: 3139 return &v.state 3140 case 1: 3141 return &v.sizeCache 3142 case 2: 3143 return &v.unknownFields 3144 default: 3145 return nil 3146 } 3147 } 3148 file_vega_api_v1_core_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 3149 switch v := v.(*SpamStatistic); i { 3150 case 0: 3151 return &v.state 3152 case 1: 3153 return &v.sizeCache 3154 case 2: 3155 return &v.unknownFields 3156 default: 3157 return nil 3158 } 3159 } 3160 file_vega_api_v1_core_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 3161 switch v := v.(*VoteSpamStatistics); i { 3162 case 0: 3163 return &v.state 3164 case 1: 3165 return &v.sizeCache 3166 case 2: 3167 return &v.unknownFields 3168 default: 3169 return nil 3170 } 3171 } 3172 file_vega_api_v1_core_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 3173 switch v := v.(*VoteSpamStatistic); i { 3174 case 0: 3175 return &v.state 3176 case 1: 3177 return &v.sizeCache 3178 case 2: 3179 return &v.unknownFields 3180 default: 3181 return nil 3182 } 3183 } 3184 file_vega_api_v1_core_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 3185 switch v := v.(*PoWBlockState); i { 3186 case 0: 3187 return &v.state 3188 case 1: 3189 return &v.sizeCache 3190 case 2: 3191 return &v.unknownFields 3192 default: 3193 return nil 3194 } 3195 } 3196 file_vega_api_v1_core_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 3197 switch v := v.(*PoWStatistic); i { 3198 case 0: 3199 return &v.state 3200 case 1: 3201 return &v.sizeCache 3202 case 2: 3203 return &v.unknownFields 3204 default: 3205 return nil 3206 } 3207 } 3208 file_vega_api_v1_core_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 3209 switch v := v.(*SpamStatistics); i { 3210 case 0: 3211 return &v.state 3212 case 1: 3213 return &v.sizeCache 3214 case 2: 3215 return &v.unknownFields 3216 default: 3217 return nil 3218 } 3219 } 3220 file_vega_api_v1_core_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 3221 switch v := v.(*GetSpamStatisticsResponse); i { 3222 case 0: 3223 return &v.state 3224 case 1: 3225 return &v.sizeCache 3226 case 2: 3227 return &v.unknownFields 3228 default: 3229 return nil 3230 } 3231 } 3232 } 3233 file_vega_api_v1_core_proto_msgTypes[20].OneofWrappers = []interface{}{} 3234 file_vega_api_v1_core_proto_msgTypes[21].OneofWrappers = []interface{}{} 3235 file_vega_api_v1_core_proto_msgTypes[23].OneofWrappers = []interface{}{} 3236 file_vega_api_v1_core_proto_msgTypes[24].OneofWrappers = []interface{}{} 3237 type x struct{} 3238 out := protoimpl.TypeBuilder{ 3239 File: protoimpl.DescBuilder{ 3240 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 3241 RawDescriptor: file_vega_api_v1_core_proto_rawDesc, 3242 NumEnums: 2, 3243 NumMessages: 27, 3244 NumExtensions: 0, 3245 NumServices: 1, 3246 }, 3247 GoTypes: file_vega_api_v1_core_proto_goTypes, 3248 DependencyIndexes: file_vega_api_v1_core_proto_depIdxs, 3249 EnumInfos: file_vega_api_v1_core_proto_enumTypes, 3250 MessageInfos: file_vega_api_v1_core_proto_msgTypes, 3251 }.Build() 3252 File_vega_api_v1_core_proto = out.File 3253 file_vega_api_v1_core_proto_rawDesc = nil 3254 file_vega_api_v1_core_proto_goTypes = nil 3255 file_vega_api_v1_core_proto_depIdxs = nil 3256 }