github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/internal/cli/server/proto/server.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.12 5 // source: internal/cli/server/proto/server.proto 6 7 package proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type DebugPprofRequest_Type int32 25 26 const ( 27 DebugPprofRequest_LOOKUP DebugPprofRequest_Type = 0 28 DebugPprofRequest_CPU DebugPprofRequest_Type = 1 29 DebugPprofRequest_TRACE DebugPprofRequest_Type = 2 30 ) 31 32 // Enum value maps for DebugPprofRequest_Type. 33 var ( 34 DebugPprofRequest_Type_name = map[int32]string{ 35 0: "LOOKUP", 36 1: "CPU", 37 2: "TRACE", 38 } 39 DebugPprofRequest_Type_value = map[string]int32{ 40 "LOOKUP": 0, 41 "CPU": 1, 42 "TRACE": 2, 43 } 44 ) 45 46 func (x DebugPprofRequest_Type) Enum() *DebugPprofRequest_Type { 47 p := new(DebugPprofRequest_Type) 48 *p = x 49 return p 50 } 51 52 func (x DebugPprofRequest_Type) String() string { 53 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 54 } 55 56 func (DebugPprofRequest_Type) Descriptor() protoreflect.EnumDescriptor { 57 return file_internal_cli_server_proto_server_proto_enumTypes[0].Descriptor() 58 } 59 60 func (DebugPprofRequest_Type) Type() protoreflect.EnumType { 61 return &file_internal_cli_server_proto_server_proto_enumTypes[0] 62 } 63 64 func (x DebugPprofRequest_Type) Number() protoreflect.EnumNumber { 65 return protoreflect.EnumNumber(x) 66 } 67 68 // Deprecated: Use DebugPprofRequest_Type.Descriptor instead. 69 func (DebugPprofRequest_Type) EnumDescriptor() ([]byte, []int) { 70 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{19, 0} 71 } 72 73 type TraceRequest struct { 74 state protoimpl.MessageState 75 sizeCache protoimpl.SizeCache 76 unknownFields protoimpl.UnknownFields 77 78 Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 79 } 80 81 func (x *TraceRequest) Reset() { 82 *x = TraceRequest{} 83 if protoimpl.UnsafeEnabled { 84 mi := &file_internal_cli_server_proto_server_proto_msgTypes[0] 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 ms.StoreMessageInfo(mi) 87 } 88 } 89 90 func (x *TraceRequest) String() string { 91 return protoimpl.X.MessageStringOf(x) 92 } 93 94 func (*TraceRequest) ProtoMessage() {} 95 96 func (x *TraceRequest) ProtoReflect() protoreflect.Message { 97 mi := &file_internal_cli_server_proto_server_proto_msgTypes[0] 98 if protoimpl.UnsafeEnabled && x != nil { 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 if ms.LoadMessageInfo() == nil { 101 ms.StoreMessageInfo(mi) 102 } 103 return ms 104 } 105 return mi.MessageOf(x) 106 } 107 108 // Deprecated: Use TraceRequest.ProtoReflect.Descriptor instead. 109 func (*TraceRequest) Descriptor() ([]byte, []int) { 110 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{0} 111 } 112 113 func (x *TraceRequest) GetNumber() int64 { 114 if x != nil { 115 return x.Number 116 } 117 return 0 118 } 119 120 type TraceResponse struct { 121 state protoimpl.MessageState 122 sizeCache protoimpl.SizeCache 123 unknownFields protoimpl.UnknownFields 124 } 125 126 func (x *TraceResponse) Reset() { 127 *x = TraceResponse{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_internal_cli_server_proto_server_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *TraceResponse) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*TraceResponse) ProtoMessage() {} 140 141 func (x *TraceResponse) ProtoReflect() protoreflect.Message { 142 mi := &file_internal_cli_server_proto_server_proto_msgTypes[1] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use TraceResponse.ProtoReflect.Descriptor instead. 154 func (*TraceResponse) Descriptor() ([]byte, []int) { 155 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{1} 156 } 157 158 type ChainWatchRequest struct { 159 state protoimpl.MessageState 160 sizeCache protoimpl.SizeCache 161 unknownFields protoimpl.UnknownFields 162 } 163 164 func (x *ChainWatchRequest) Reset() { 165 *x = ChainWatchRequest{} 166 if protoimpl.UnsafeEnabled { 167 mi := &file_internal_cli_server_proto_server_proto_msgTypes[2] 168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 169 ms.StoreMessageInfo(mi) 170 } 171 } 172 173 func (x *ChainWatchRequest) String() string { 174 return protoimpl.X.MessageStringOf(x) 175 } 176 177 func (*ChainWatchRequest) ProtoMessage() {} 178 179 func (x *ChainWatchRequest) ProtoReflect() protoreflect.Message { 180 mi := &file_internal_cli_server_proto_server_proto_msgTypes[2] 181 if protoimpl.UnsafeEnabled && x != nil { 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 if ms.LoadMessageInfo() == nil { 184 ms.StoreMessageInfo(mi) 185 } 186 return ms 187 } 188 return mi.MessageOf(x) 189 } 190 191 // Deprecated: Use ChainWatchRequest.ProtoReflect.Descriptor instead. 192 func (*ChainWatchRequest) Descriptor() ([]byte, []int) { 193 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{2} 194 } 195 196 type ChainWatchResponse struct { 197 state protoimpl.MessageState 198 sizeCache protoimpl.SizeCache 199 unknownFields protoimpl.UnknownFields 200 201 Oldchain []*BlockStub `protobuf:"bytes,1,rep,name=oldchain,proto3" json:"oldchain,omitempty"` 202 Newchain []*BlockStub `protobuf:"bytes,2,rep,name=newchain,proto3" json:"newchain,omitempty"` 203 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 204 } 205 206 func (x *ChainWatchResponse) Reset() { 207 *x = ChainWatchResponse{} 208 if protoimpl.UnsafeEnabled { 209 mi := &file_internal_cli_server_proto_server_proto_msgTypes[3] 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 211 ms.StoreMessageInfo(mi) 212 } 213 } 214 215 func (x *ChainWatchResponse) String() string { 216 return protoimpl.X.MessageStringOf(x) 217 } 218 219 func (*ChainWatchResponse) ProtoMessage() {} 220 221 func (x *ChainWatchResponse) ProtoReflect() protoreflect.Message { 222 mi := &file_internal_cli_server_proto_server_proto_msgTypes[3] 223 if protoimpl.UnsafeEnabled && x != nil { 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 225 if ms.LoadMessageInfo() == nil { 226 ms.StoreMessageInfo(mi) 227 } 228 return ms 229 } 230 return mi.MessageOf(x) 231 } 232 233 // Deprecated: Use ChainWatchResponse.ProtoReflect.Descriptor instead. 234 func (*ChainWatchResponse) Descriptor() ([]byte, []int) { 235 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{3} 236 } 237 238 func (x *ChainWatchResponse) GetOldchain() []*BlockStub { 239 if x != nil { 240 return x.Oldchain 241 } 242 return nil 243 } 244 245 func (x *ChainWatchResponse) GetNewchain() []*BlockStub { 246 if x != nil { 247 return x.Newchain 248 } 249 return nil 250 } 251 252 func (x *ChainWatchResponse) GetType() string { 253 if x != nil { 254 return x.Type 255 } 256 return "" 257 } 258 259 type BlockStub struct { 260 state protoimpl.MessageState 261 sizeCache protoimpl.SizeCache 262 unknownFields protoimpl.UnknownFields 263 264 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 265 Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 266 } 267 268 func (x *BlockStub) Reset() { 269 *x = BlockStub{} 270 if protoimpl.UnsafeEnabled { 271 mi := &file_internal_cli_server_proto_server_proto_msgTypes[4] 272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 273 ms.StoreMessageInfo(mi) 274 } 275 } 276 277 func (x *BlockStub) String() string { 278 return protoimpl.X.MessageStringOf(x) 279 } 280 281 func (*BlockStub) ProtoMessage() {} 282 283 func (x *BlockStub) ProtoReflect() protoreflect.Message { 284 mi := &file_internal_cli_server_proto_server_proto_msgTypes[4] 285 if protoimpl.UnsafeEnabled && x != nil { 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 if ms.LoadMessageInfo() == nil { 288 ms.StoreMessageInfo(mi) 289 } 290 return ms 291 } 292 return mi.MessageOf(x) 293 } 294 295 // Deprecated: Use BlockStub.ProtoReflect.Descriptor instead. 296 func (*BlockStub) Descriptor() ([]byte, []int) { 297 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{4} 298 } 299 300 func (x *BlockStub) GetHash() string { 301 if x != nil { 302 return x.Hash 303 } 304 return "" 305 } 306 307 func (x *BlockStub) GetNumber() uint64 { 308 if x != nil { 309 return x.Number 310 } 311 return 0 312 } 313 314 type PeersAddRequest struct { 315 state protoimpl.MessageState 316 sizeCache protoimpl.SizeCache 317 unknownFields protoimpl.UnknownFields 318 319 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 320 Trusted bool `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"` 321 } 322 323 func (x *PeersAddRequest) Reset() { 324 *x = PeersAddRequest{} 325 if protoimpl.UnsafeEnabled { 326 mi := &file_internal_cli_server_proto_server_proto_msgTypes[5] 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 ms.StoreMessageInfo(mi) 329 } 330 } 331 332 func (x *PeersAddRequest) String() string { 333 return protoimpl.X.MessageStringOf(x) 334 } 335 336 func (*PeersAddRequest) ProtoMessage() {} 337 338 func (x *PeersAddRequest) ProtoReflect() protoreflect.Message { 339 mi := &file_internal_cli_server_proto_server_proto_msgTypes[5] 340 if protoimpl.UnsafeEnabled && x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348 } 349 350 // Deprecated: Use PeersAddRequest.ProtoReflect.Descriptor instead. 351 func (*PeersAddRequest) Descriptor() ([]byte, []int) { 352 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{5} 353 } 354 355 func (x *PeersAddRequest) GetEnode() string { 356 if x != nil { 357 return x.Enode 358 } 359 return "" 360 } 361 362 func (x *PeersAddRequest) GetTrusted() bool { 363 if x != nil { 364 return x.Trusted 365 } 366 return false 367 } 368 369 type PeersAddResponse struct { 370 state protoimpl.MessageState 371 sizeCache protoimpl.SizeCache 372 unknownFields protoimpl.UnknownFields 373 } 374 375 func (x *PeersAddResponse) Reset() { 376 *x = PeersAddResponse{} 377 if protoimpl.UnsafeEnabled { 378 mi := &file_internal_cli_server_proto_server_proto_msgTypes[6] 379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 380 ms.StoreMessageInfo(mi) 381 } 382 } 383 384 func (x *PeersAddResponse) String() string { 385 return protoimpl.X.MessageStringOf(x) 386 } 387 388 func (*PeersAddResponse) ProtoMessage() {} 389 390 func (x *PeersAddResponse) ProtoReflect() protoreflect.Message { 391 mi := &file_internal_cli_server_proto_server_proto_msgTypes[6] 392 if protoimpl.UnsafeEnabled && x != nil { 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 if ms.LoadMessageInfo() == nil { 395 ms.StoreMessageInfo(mi) 396 } 397 return ms 398 } 399 return mi.MessageOf(x) 400 } 401 402 // Deprecated: Use PeersAddResponse.ProtoReflect.Descriptor instead. 403 func (*PeersAddResponse) Descriptor() ([]byte, []int) { 404 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{6} 405 } 406 407 type PeersRemoveRequest struct { 408 state protoimpl.MessageState 409 sizeCache protoimpl.SizeCache 410 unknownFields protoimpl.UnknownFields 411 412 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 413 Trusted bool `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"` 414 } 415 416 func (x *PeersRemoveRequest) Reset() { 417 *x = PeersRemoveRequest{} 418 if protoimpl.UnsafeEnabled { 419 mi := &file_internal_cli_server_proto_server_proto_msgTypes[7] 420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 421 ms.StoreMessageInfo(mi) 422 } 423 } 424 425 func (x *PeersRemoveRequest) String() string { 426 return protoimpl.X.MessageStringOf(x) 427 } 428 429 func (*PeersRemoveRequest) ProtoMessage() {} 430 431 func (x *PeersRemoveRequest) ProtoReflect() protoreflect.Message { 432 mi := &file_internal_cli_server_proto_server_proto_msgTypes[7] 433 if protoimpl.UnsafeEnabled && x != nil { 434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 435 if ms.LoadMessageInfo() == nil { 436 ms.StoreMessageInfo(mi) 437 } 438 return ms 439 } 440 return mi.MessageOf(x) 441 } 442 443 // Deprecated: Use PeersRemoveRequest.ProtoReflect.Descriptor instead. 444 func (*PeersRemoveRequest) Descriptor() ([]byte, []int) { 445 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{7} 446 } 447 448 func (x *PeersRemoveRequest) GetEnode() string { 449 if x != nil { 450 return x.Enode 451 } 452 return "" 453 } 454 455 func (x *PeersRemoveRequest) GetTrusted() bool { 456 if x != nil { 457 return x.Trusted 458 } 459 return false 460 } 461 462 type PeersRemoveResponse struct { 463 state protoimpl.MessageState 464 sizeCache protoimpl.SizeCache 465 unknownFields protoimpl.UnknownFields 466 } 467 468 func (x *PeersRemoveResponse) Reset() { 469 *x = PeersRemoveResponse{} 470 if protoimpl.UnsafeEnabled { 471 mi := &file_internal_cli_server_proto_server_proto_msgTypes[8] 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 ms.StoreMessageInfo(mi) 474 } 475 } 476 477 func (x *PeersRemoveResponse) String() string { 478 return protoimpl.X.MessageStringOf(x) 479 } 480 481 func (*PeersRemoveResponse) ProtoMessage() {} 482 483 func (x *PeersRemoveResponse) ProtoReflect() protoreflect.Message { 484 mi := &file_internal_cli_server_proto_server_proto_msgTypes[8] 485 if protoimpl.UnsafeEnabled && x != nil { 486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 487 if ms.LoadMessageInfo() == nil { 488 ms.StoreMessageInfo(mi) 489 } 490 return ms 491 } 492 return mi.MessageOf(x) 493 } 494 495 // Deprecated: Use PeersRemoveResponse.ProtoReflect.Descriptor instead. 496 func (*PeersRemoveResponse) Descriptor() ([]byte, []int) { 497 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{8} 498 } 499 500 type PeersListRequest struct { 501 state protoimpl.MessageState 502 sizeCache protoimpl.SizeCache 503 unknownFields protoimpl.UnknownFields 504 } 505 506 func (x *PeersListRequest) Reset() { 507 *x = PeersListRequest{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_internal_cli_server_proto_server_proto_msgTypes[9] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513 } 514 515 func (x *PeersListRequest) String() string { 516 return protoimpl.X.MessageStringOf(x) 517 } 518 519 func (*PeersListRequest) ProtoMessage() {} 520 521 func (x *PeersListRequest) ProtoReflect() protoreflect.Message { 522 mi := &file_internal_cli_server_proto_server_proto_msgTypes[9] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531 } 532 533 // Deprecated: Use PeersListRequest.ProtoReflect.Descriptor instead. 534 func (*PeersListRequest) Descriptor() ([]byte, []int) { 535 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{9} 536 } 537 538 type PeersListResponse struct { 539 state protoimpl.MessageState 540 sizeCache protoimpl.SizeCache 541 unknownFields protoimpl.UnknownFields 542 543 Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` 544 } 545 546 func (x *PeersListResponse) Reset() { 547 *x = PeersListResponse{} 548 if protoimpl.UnsafeEnabled { 549 mi := &file_internal_cli_server_proto_server_proto_msgTypes[10] 550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 551 ms.StoreMessageInfo(mi) 552 } 553 } 554 555 func (x *PeersListResponse) String() string { 556 return protoimpl.X.MessageStringOf(x) 557 } 558 559 func (*PeersListResponse) ProtoMessage() {} 560 561 func (x *PeersListResponse) ProtoReflect() protoreflect.Message { 562 mi := &file_internal_cli_server_proto_server_proto_msgTypes[10] 563 if protoimpl.UnsafeEnabled && x != nil { 564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 565 if ms.LoadMessageInfo() == nil { 566 ms.StoreMessageInfo(mi) 567 } 568 return ms 569 } 570 return mi.MessageOf(x) 571 } 572 573 // Deprecated: Use PeersListResponse.ProtoReflect.Descriptor instead. 574 func (*PeersListResponse) Descriptor() ([]byte, []int) { 575 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{10} 576 } 577 578 func (x *PeersListResponse) GetPeers() []*Peer { 579 if x != nil { 580 return x.Peers 581 } 582 return nil 583 } 584 585 type PeersStatusRequest struct { 586 state protoimpl.MessageState 587 sizeCache protoimpl.SizeCache 588 unknownFields protoimpl.UnknownFields 589 590 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 591 } 592 593 func (x *PeersStatusRequest) Reset() { 594 *x = PeersStatusRequest{} 595 if protoimpl.UnsafeEnabled { 596 mi := &file_internal_cli_server_proto_server_proto_msgTypes[11] 597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 598 ms.StoreMessageInfo(mi) 599 } 600 } 601 602 func (x *PeersStatusRequest) String() string { 603 return protoimpl.X.MessageStringOf(x) 604 } 605 606 func (*PeersStatusRequest) ProtoMessage() {} 607 608 func (x *PeersStatusRequest) ProtoReflect() protoreflect.Message { 609 mi := &file_internal_cli_server_proto_server_proto_msgTypes[11] 610 if protoimpl.UnsafeEnabled && x != nil { 611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 612 if ms.LoadMessageInfo() == nil { 613 ms.StoreMessageInfo(mi) 614 } 615 return ms 616 } 617 return mi.MessageOf(x) 618 } 619 620 // Deprecated: Use PeersStatusRequest.ProtoReflect.Descriptor instead. 621 func (*PeersStatusRequest) Descriptor() ([]byte, []int) { 622 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{11} 623 } 624 625 func (x *PeersStatusRequest) GetEnode() string { 626 if x != nil { 627 return x.Enode 628 } 629 return "" 630 } 631 632 type PeersStatusResponse struct { 633 state protoimpl.MessageState 634 sizeCache protoimpl.SizeCache 635 unknownFields protoimpl.UnknownFields 636 637 Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` 638 } 639 640 func (x *PeersStatusResponse) Reset() { 641 *x = PeersStatusResponse{} 642 if protoimpl.UnsafeEnabled { 643 mi := &file_internal_cli_server_proto_server_proto_msgTypes[12] 644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 645 ms.StoreMessageInfo(mi) 646 } 647 } 648 649 func (x *PeersStatusResponse) String() string { 650 return protoimpl.X.MessageStringOf(x) 651 } 652 653 func (*PeersStatusResponse) ProtoMessage() {} 654 655 func (x *PeersStatusResponse) ProtoReflect() protoreflect.Message { 656 mi := &file_internal_cli_server_proto_server_proto_msgTypes[12] 657 if protoimpl.UnsafeEnabled && x != nil { 658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 659 if ms.LoadMessageInfo() == nil { 660 ms.StoreMessageInfo(mi) 661 } 662 return ms 663 } 664 return mi.MessageOf(x) 665 } 666 667 // Deprecated: Use PeersStatusResponse.ProtoReflect.Descriptor instead. 668 func (*PeersStatusResponse) Descriptor() ([]byte, []int) { 669 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{12} 670 } 671 672 func (x *PeersStatusResponse) GetPeer() *Peer { 673 if x != nil { 674 return x.Peer 675 } 676 return nil 677 } 678 679 type Peer struct { 680 state protoimpl.MessageState 681 sizeCache protoimpl.SizeCache 682 unknownFields protoimpl.UnknownFields 683 684 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 685 Enode string `protobuf:"bytes,2,opt,name=enode,proto3" json:"enode,omitempty"` 686 Enr string `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"` 687 Caps []string `protobuf:"bytes,4,rep,name=caps,proto3" json:"caps,omitempty"` 688 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 689 Trusted bool `protobuf:"varint,6,opt,name=trusted,proto3" json:"trusted,omitempty"` 690 Static bool `protobuf:"varint,7,opt,name=static,proto3" json:"static,omitempty"` 691 } 692 693 func (x *Peer) Reset() { 694 *x = Peer{} 695 if protoimpl.UnsafeEnabled { 696 mi := &file_internal_cli_server_proto_server_proto_msgTypes[13] 697 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 698 ms.StoreMessageInfo(mi) 699 } 700 } 701 702 func (x *Peer) String() string { 703 return protoimpl.X.MessageStringOf(x) 704 } 705 706 func (*Peer) ProtoMessage() {} 707 708 func (x *Peer) ProtoReflect() protoreflect.Message { 709 mi := &file_internal_cli_server_proto_server_proto_msgTypes[13] 710 if protoimpl.UnsafeEnabled && x != nil { 711 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 712 if ms.LoadMessageInfo() == nil { 713 ms.StoreMessageInfo(mi) 714 } 715 return ms 716 } 717 return mi.MessageOf(x) 718 } 719 720 // Deprecated: Use Peer.ProtoReflect.Descriptor instead. 721 func (*Peer) Descriptor() ([]byte, []int) { 722 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{13} 723 } 724 725 func (x *Peer) GetId() string { 726 if x != nil { 727 return x.Id 728 } 729 return "" 730 } 731 732 func (x *Peer) GetEnode() string { 733 if x != nil { 734 return x.Enode 735 } 736 return "" 737 } 738 739 func (x *Peer) GetEnr() string { 740 if x != nil { 741 return x.Enr 742 } 743 return "" 744 } 745 746 func (x *Peer) GetCaps() []string { 747 if x != nil { 748 return x.Caps 749 } 750 return nil 751 } 752 753 func (x *Peer) GetName() string { 754 if x != nil { 755 return x.Name 756 } 757 return "" 758 } 759 760 func (x *Peer) GetTrusted() bool { 761 if x != nil { 762 return x.Trusted 763 } 764 return false 765 } 766 767 func (x *Peer) GetStatic() bool { 768 if x != nil { 769 return x.Static 770 } 771 return false 772 } 773 774 type ChainSetHeadRequest struct { 775 state protoimpl.MessageState 776 sizeCache protoimpl.SizeCache 777 unknownFields protoimpl.UnknownFields 778 779 Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 780 } 781 782 func (x *ChainSetHeadRequest) Reset() { 783 *x = ChainSetHeadRequest{} 784 if protoimpl.UnsafeEnabled { 785 mi := &file_internal_cli_server_proto_server_proto_msgTypes[14] 786 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 787 ms.StoreMessageInfo(mi) 788 } 789 } 790 791 func (x *ChainSetHeadRequest) String() string { 792 return protoimpl.X.MessageStringOf(x) 793 } 794 795 func (*ChainSetHeadRequest) ProtoMessage() {} 796 797 func (x *ChainSetHeadRequest) ProtoReflect() protoreflect.Message { 798 mi := &file_internal_cli_server_proto_server_proto_msgTypes[14] 799 if protoimpl.UnsafeEnabled && x != nil { 800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 801 if ms.LoadMessageInfo() == nil { 802 ms.StoreMessageInfo(mi) 803 } 804 return ms 805 } 806 return mi.MessageOf(x) 807 } 808 809 // Deprecated: Use ChainSetHeadRequest.ProtoReflect.Descriptor instead. 810 func (*ChainSetHeadRequest) Descriptor() ([]byte, []int) { 811 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{14} 812 } 813 814 func (x *ChainSetHeadRequest) GetNumber() uint64 { 815 if x != nil { 816 return x.Number 817 } 818 return 0 819 } 820 821 type ChainSetHeadResponse struct { 822 state protoimpl.MessageState 823 sizeCache protoimpl.SizeCache 824 unknownFields protoimpl.UnknownFields 825 } 826 827 func (x *ChainSetHeadResponse) Reset() { 828 *x = ChainSetHeadResponse{} 829 if protoimpl.UnsafeEnabled { 830 mi := &file_internal_cli_server_proto_server_proto_msgTypes[15] 831 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 832 ms.StoreMessageInfo(mi) 833 } 834 } 835 836 func (x *ChainSetHeadResponse) String() string { 837 return protoimpl.X.MessageStringOf(x) 838 } 839 840 func (*ChainSetHeadResponse) ProtoMessage() {} 841 842 func (x *ChainSetHeadResponse) ProtoReflect() protoreflect.Message { 843 mi := &file_internal_cli_server_proto_server_proto_msgTypes[15] 844 if protoimpl.UnsafeEnabled && x != nil { 845 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 846 if ms.LoadMessageInfo() == nil { 847 ms.StoreMessageInfo(mi) 848 } 849 return ms 850 } 851 return mi.MessageOf(x) 852 } 853 854 // Deprecated: Use ChainSetHeadResponse.ProtoReflect.Descriptor instead. 855 func (*ChainSetHeadResponse) Descriptor() ([]byte, []int) { 856 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{15} 857 } 858 859 type StatusRequest struct { 860 state protoimpl.MessageState 861 sizeCache protoimpl.SizeCache 862 unknownFields protoimpl.UnknownFields 863 864 Wait bool `protobuf:"varint,1,opt,name=Wait,proto3" json:"Wait,omitempty"` 865 } 866 867 func (x *StatusRequest) Reset() { 868 *x = StatusRequest{} 869 if protoimpl.UnsafeEnabled { 870 mi := &file_internal_cli_server_proto_server_proto_msgTypes[16] 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 872 ms.StoreMessageInfo(mi) 873 } 874 } 875 876 func (x *StatusRequest) String() string { 877 return protoimpl.X.MessageStringOf(x) 878 } 879 880 func (*StatusRequest) ProtoMessage() {} 881 882 func (x *StatusRequest) ProtoReflect() protoreflect.Message { 883 mi := &file_internal_cli_server_proto_server_proto_msgTypes[16] 884 if protoimpl.UnsafeEnabled && x != nil { 885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 886 if ms.LoadMessageInfo() == nil { 887 ms.StoreMessageInfo(mi) 888 } 889 return ms 890 } 891 return mi.MessageOf(x) 892 } 893 894 // Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead. 895 func (*StatusRequest) Descriptor() ([]byte, []int) { 896 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{16} 897 } 898 899 func (x *StatusRequest) GetWait() bool { 900 if x != nil { 901 return x.Wait 902 } 903 return false 904 } 905 906 type StatusResponse struct { 907 state protoimpl.MessageState 908 sizeCache protoimpl.SizeCache 909 unknownFields protoimpl.UnknownFields 910 911 CurrentBlock *Header `protobuf:"bytes,1,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"` 912 CurrentHeader *Header `protobuf:"bytes,2,opt,name=currentHeader,proto3" json:"currentHeader,omitempty"` 913 NumPeers int64 `protobuf:"varint,3,opt,name=numPeers,proto3" json:"numPeers,omitempty"` 914 SyncMode string `protobuf:"bytes,4,opt,name=syncMode,proto3" json:"syncMode,omitempty"` 915 Syncing *StatusResponse_Syncing `protobuf:"bytes,5,opt,name=syncing,proto3" json:"syncing,omitempty"` 916 Forks []*StatusResponse_Fork `protobuf:"bytes,6,rep,name=forks,proto3" json:"forks,omitempty"` 917 } 918 919 func (x *StatusResponse) Reset() { 920 *x = StatusResponse{} 921 if protoimpl.UnsafeEnabled { 922 mi := &file_internal_cli_server_proto_server_proto_msgTypes[17] 923 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 924 ms.StoreMessageInfo(mi) 925 } 926 } 927 928 func (x *StatusResponse) String() string { 929 return protoimpl.X.MessageStringOf(x) 930 } 931 932 func (*StatusResponse) ProtoMessage() {} 933 934 func (x *StatusResponse) ProtoReflect() protoreflect.Message { 935 mi := &file_internal_cli_server_proto_server_proto_msgTypes[17] 936 if protoimpl.UnsafeEnabled && x != nil { 937 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 938 if ms.LoadMessageInfo() == nil { 939 ms.StoreMessageInfo(mi) 940 } 941 return ms 942 } 943 return mi.MessageOf(x) 944 } 945 946 // Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead. 947 func (*StatusResponse) Descriptor() ([]byte, []int) { 948 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{17} 949 } 950 951 func (x *StatusResponse) GetCurrentBlock() *Header { 952 if x != nil { 953 return x.CurrentBlock 954 } 955 return nil 956 } 957 958 func (x *StatusResponse) GetCurrentHeader() *Header { 959 if x != nil { 960 return x.CurrentHeader 961 } 962 return nil 963 } 964 965 func (x *StatusResponse) GetNumPeers() int64 { 966 if x != nil { 967 return x.NumPeers 968 } 969 return 0 970 } 971 972 func (x *StatusResponse) GetSyncMode() string { 973 if x != nil { 974 return x.SyncMode 975 } 976 return "" 977 } 978 979 func (x *StatusResponse) GetSyncing() *StatusResponse_Syncing { 980 if x != nil { 981 return x.Syncing 982 } 983 return nil 984 } 985 986 func (x *StatusResponse) GetForks() []*StatusResponse_Fork { 987 if x != nil { 988 return x.Forks 989 } 990 return nil 991 } 992 993 type Header struct { 994 state protoimpl.MessageState 995 sizeCache protoimpl.SizeCache 996 unknownFields protoimpl.UnknownFields 997 998 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 999 Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 1000 } 1001 1002 func (x *Header) Reset() { 1003 *x = Header{} 1004 if protoimpl.UnsafeEnabled { 1005 mi := &file_internal_cli_server_proto_server_proto_msgTypes[18] 1006 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1007 ms.StoreMessageInfo(mi) 1008 } 1009 } 1010 1011 func (x *Header) String() string { 1012 return protoimpl.X.MessageStringOf(x) 1013 } 1014 1015 func (*Header) ProtoMessage() {} 1016 1017 func (x *Header) ProtoReflect() protoreflect.Message { 1018 mi := &file_internal_cli_server_proto_server_proto_msgTypes[18] 1019 if protoimpl.UnsafeEnabled && x != nil { 1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1021 if ms.LoadMessageInfo() == nil { 1022 ms.StoreMessageInfo(mi) 1023 } 1024 return ms 1025 } 1026 return mi.MessageOf(x) 1027 } 1028 1029 // Deprecated: Use Header.ProtoReflect.Descriptor instead. 1030 func (*Header) Descriptor() ([]byte, []int) { 1031 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{18} 1032 } 1033 1034 func (x *Header) GetHash() string { 1035 if x != nil { 1036 return x.Hash 1037 } 1038 return "" 1039 } 1040 1041 func (x *Header) GetNumber() uint64 { 1042 if x != nil { 1043 return x.Number 1044 } 1045 return 0 1046 } 1047 1048 type DebugPprofRequest struct { 1049 state protoimpl.MessageState 1050 sizeCache protoimpl.SizeCache 1051 unknownFields protoimpl.UnknownFields 1052 1053 Type DebugPprofRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=proto.DebugPprofRequest_Type" json:"type,omitempty"` 1054 Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` 1055 Seconds int64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` 1056 } 1057 1058 func (x *DebugPprofRequest) Reset() { 1059 *x = DebugPprofRequest{} 1060 if protoimpl.UnsafeEnabled { 1061 mi := &file_internal_cli_server_proto_server_proto_msgTypes[19] 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1063 ms.StoreMessageInfo(mi) 1064 } 1065 } 1066 1067 func (x *DebugPprofRequest) String() string { 1068 return protoimpl.X.MessageStringOf(x) 1069 } 1070 1071 func (*DebugPprofRequest) ProtoMessage() {} 1072 1073 func (x *DebugPprofRequest) ProtoReflect() protoreflect.Message { 1074 mi := &file_internal_cli_server_proto_server_proto_msgTypes[19] 1075 if protoimpl.UnsafeEnabled && x != nil { 1076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1077 if ms.LoadMessageInfo() == nil { 1078 ms.StoreMessageInfo(mi) 1079 } 1080 return ms 1081 } 1082 return mi.MessageOf(x) 1083 } 1084 1085 // Deprecated: Use DebugPprofRequest.ProtoReflect.Descriptor instead. 1086 func (*DebugPprofRequest) Descriptor() ([]byte, []int) { 1087 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{19} 1088 } 1089 1090 func (x *DebugPprofRequest) GetType() DebugPprofRequest_Type { 1091 if x != nil { 1092 return x.Type 1093 } 1094 return DebugPprofRequest_LOOKUP 1095 } 1096 1097 func (x *DebugPprofRequest) GetProfile() string { 1098 if x != nil { 1099 return x.Profile 1100 } 1101 return "" 1102 } 1103 1104 func (x *DebugPprofRequest) GetSeconds() int64 { 1105 if x != nil { 1106 return x.Seconds 1107 } 1108 return 0 1109 } 1110 1111 type DebugBlockRequest struct { 1112 state protoimpl.MessageState 1113 sizeCache protoimpl.SizeCache 1114 unknownFields protoimpl.UnknownFields 1115 1116 Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 1117 } 1118 1119 func (x *DebugBlockRequest) Reset() { 1120 *x = DebugBlockRequest{} 1121 if protoimpl.UnsafeEnabled { 1122 mi := &file_internal_cli_server_proto_server_proto_msgTypes[20] 1123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1124 ms.StoreMessageInfo(mi) 1125 } 1126 } 1127 1128 func (x *DebugBlockRequest) String() string { 1129 return protoimpl.X.MessageStringOf(x) 1130 } 1131 1132 func (*DebugBlockRequest) ProtoMessage() {} 1133 1134 func (x *DebugBlockRequest) ProtoReflect() protoreflect.Message { 1135 mi := &file_internal_cli_server_proto_server_proto_msgTypes[20] 1136 if protoimpl.UnsafeEnabled && x != nil { 1137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1138 if ms.LoadMessageInfo() == nil { 1139 ms.StoreMessageInfo(mi) 1140 } 1141 return ms 1142 } 1143 return mi.MessageOf(x) 1144 } 1145 1146 // Deprecated: Use DebugBlockRequest.ProtoReflect.Descriptor instead. 1147 func (*DebugBlockRequest) Descriptor() ([]byte, []int) { 1148 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{20} 1149 } 1150 1151 func (x *DebugBlockRequest) GetNumber() int64 { 1152 if x != nil { 1153 return x.Number 1154 } 1155 return 0 1156 } 1157 1158 type DebugFileResponse struct { 1159 state protoimpl.MessageState 1160 sizeCache protoimpl.SizeCache 1161 unknownFields protoimpl.UnknownFields 1162 1163 // Types that are assignable to Event: 1164 // 1165 // *DebugFileResponse_Open_ 1166 // *DebugFileResponse_Input_ 1167 // *DebugFileResponse_Eof 1168 Event isDebugFileResponse_Event `protobuf_oneof:"event"` 1169 } 1170 1171 func (x *DebugFileResponse) Reset() { 1172 *x = DebugFileResponse{} 1173 if protoimpl.UnsafeEnabled { 1174 mi := &file_internal_cli_server_proto_server_proto_msgTypes[21] 1175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1176 ms.StoreMessageInfo(mi) 1177 } 1178 } 1179 1180 func (x *DebugFileResponse) String() string { 1181 return protoimpl.X.MessageStringOf(x) 1182 } 1183 1184 func (*DebugFileResponse) ProtoMessage() {} 1185 1186 func (x *DebugFileResponse) ProtoReflect() protoreflect.Message { 1187 mi := &file_internal_cli_server_proto_server_proto_msgTypes[21] 1188 if protoimpl.UnsafeEnabled && x != nil { 1189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1190 if ms.LoadMessageInfo() == nil { 1191 ms.StoreMessageInfo(mi) 1192 } 1193 return ms 1194 } 1195 return mi.MessageOf(x) 1196 } 1197 1198 // Deprecated: Use DebugFileResponse.ProtoReflect.Descriptor instead. 1199 func (*DebugFileResponse) Descriptor() ([]byte, []int) { 1200 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{21} 1201 } 1202 1203 func (m *DebugFileResponse) GetEvent() isDebugFileResponse_Event { 1204 if m != nil { 1205 return m.Event 1206 } 1207 return nil 1208 } 1209 1210 func (x *DebugFileResponse) GetOpen() *DebugFileResponse_Open { 1211 if x, ok := x.GetEvent().(*DebugFileResponse_Open_); ok { 1212 return x.Open 1213 } 1214 return nil 1215 } 1216 1217 func (x *DebugFileResponse) GetInput() *DebugFileResponse_Input { 1218 if x, ok := x.GetEvent().(*DebugFileResponse_Input_); ok { 1219 return x.Input 1220 } 1221 return nil 1222 } 1223 1224 func (x *DebugFileResponse) GetEof() *emptypb.Empty { 1225 if x, ok := x.GetEvent().(*DebugFileResponse_Eof); ok { 1226 return x.Eof 1227 } 1228 return nil 1229 } 1230 1231 type isDebugFileResponse_Event interface { 1232 isDebugFileResponse_Event() 1233 } 1234 1235 type DebugFileResponse_Open_ struct { 1236 Open *DebugFileResponse_Open `protobuf:"bytes,1,opt,name=open,proto3,oneof"` 1237 } 1238 1239 type DebugFileResponse_Input_ struct { 1240 Input *DebugFileResponse_Input `protobuf:"bytes,2,opt,name=input,proto3,oneof"` 1241 } 1242 1243 type DebugFileResponse_Eof struct { 1244 Eof *emptypb.Empty `protobuf:"bytes,3,opt,name=eof,proto3,oneof"` 1245 } 1246 1247 func (*DebugFileResponse_Open_) isDebugFileResponse_Event() {} 1248 1249 func (*DebugFileResponse_Input_) isDebugFileResponse_Event() {} 1250 1251 func (*DebugFileResponse_Eof) isDebugFileResponse_Event() {} 1252 1253 type StatusResponse_Fork struct { 1254 state protoimpl.MessageState 1255 sizeCache protoimpl.SizeCache 1256 unknownFields protoimpl.UnknownFields 1257 1258 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1259 Block int64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` 1260 Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` 1261 } 1262 1263 func (x *StatusResponse_Fork) Reset() { 1264 *x = StatusResponse_Fork{} 1265 if protoimpl.UnsafeEnabled { 1266 mi := &file_internal_cli_server_proto_server_proto_msgTypes[22] 1267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1268 ms.StoreMessageInfo(mi) 1269 } 1270 } 1271 1272 func (x *StatusResponse_Fork) String() string { 1273 return protoimpl.X.MessageStringOf(x) 1274 } 1275 1276 func (*StatusResponse_Fork) ProtoMessage() {} 1277 1278 func (x *StatusResponse_Fork) ProtoReflect() protoreflect.Message { 1279 mi := &file_internal_cli_server_proto_server_proto_msgTypes[22] 1280 if protoimpl.UnsafeEnabled && x != nil { 1281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1282 if ms.LoadMessageInfo() == nil { 1283 ms.StoreMessageInfo(mi) 1284 } 1285 return ms 1286 } 1287 return mi.MessageOf(x) 1288 } 1289 1290 // Deprecated: Use StatusResponse_Fork.ProtoReflect.Descriptor instead. 1291 func (*StatusResponse_Fork) Descriptor() ([]byte, []int) { 1292 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{17, 0} 1293 } 1294 1295 func (x *StatusResponse_Fork) GetName() string { 1296 if x != nil { 1297 return x.Name 1298 } 1299 return "" 1300 } 1301 1302 func (x *StatusResponse_Fork) GetBlock() int64 { 1303 if x != nil { 1304 return x.Block 1305 } 1306 return 0 1307 } 1308 1309 func (x *StatusResponse_Fork) GetDisabled() bool { 1310 if x != nil { 1311 return x.Disabled 1312 } 1313 return false 1314 } 1315 1316 type StatusResponse_Syncing struct { 1317 state protoimpl.MessageState 1318 sizeCache protoimpl.SizeCache 1319 unknownFields protoimpl.UnknownFields 1320 1321 StartingBlock int64 `protobuf:"varint,1,opt,name=startingBlock,proto3" json:"startingBlock,omitempty"` 1322 HighestBlock int64 `protobuf:"varint,2,opt,name=highestBlock,proto3" json:"highestBlock,omitempty"` 1323 CurrentBlock int64 `protobuf:"varint,3,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"` 1324 } 1325 1326 func (x *StatusResponse_Syncing) Reset() { 1327 *x = StatusResponse_Syncing{} 1328 if protoimpl.UnsafeEnabled { 1329 mi := &file_internal_cli_server_proto_server_proto_msgTypes[23] 1330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1331 ms.StoreMessageInfo(mi) 1332 } 1333 } 1334 1335 func (x *StatusResponse_Syncing) String() string { 1336 return protoimpl.X.MessageStringOf(x) 1337 } 1338 1339 func (*StatusResponse_Syncing) ProtoMessage() {} 1340 1341 func (x *StatusResponse_Syncing) ProtoReflect() protoreflect.Message { 1342 mi := &file_internal_cli_server_proto_server_proto_msgTypes[23] 1343 if protoimpl.UnsafeEnabled && x != nil { 1344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1345 if ms.LoadMessageInfo() == nil { 1346 ms.StoreMessageInfo(mi) 1347 } 1348 return ms 1349 } 1350 return mi.MessageOf(x) 1351 } 1352 1353 // Deprecated: Use StatusResponse_Syncing.ProtoReflect.Descriptor instead. 1354 func (*StatusResponse_Syncing) Descriptor() ([]byte, []int) { 1355 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{17, 1} 1356 } 1357 1358 func (x *StatusResponse_Syncing) GetStartingBlock() int64 { 1359 if x != nil { 1360 return x.StartingBlock 1361 } 1362 return 0 1363 } 1364 1365 func (x *StatusResponse_Syncing) GetHighestBlock() int64 { 1366 if x != nil { 1367 return x.HighestBlock 1368 } 1369 return 0 1370 } 1371 1372 func (x *StatusResponse_Syncing) GetCurrentBlock() int64 { 1373 if x != nil { 1374 return x.CurrentBlock 1375 } 1376 return 0 1377 } 1378 1379 type DebugFileResponse_Open struct { 1380 state protoimpl.MessageState 1381 sizeCache protoimpl.SizeCache 1382 unknownFields protoimpl.UnknownFields 1383 1384 Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1385 } 1386 1387 func (x *DebugFileResponse_Open) Reset() { 1388 *x = DebugFileResponse_Open{} 1389 if protoimpl.UnsafeEnabled { 1390 mi := &file_internal_cli_server_proto_server_proto_msgTypes[24] 1391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1392 ms.StoreMessageInfo(mi) 1393 } 1394 } 1395 1396 func (x *DebugFileResponse_Open) String() string { 1397 return protoimpl.X.MessageStringOf(x) 1398 } 1399 1400 func (*DebugFileResponse_Open) ProtoMessage() {} 1401 1402 func (x *DebugFileResponse_Open) ProtoReflect() protoreflect.Message { 1403 mi := &file_internal_cli_server_proto_server_proto_msgTypes[24] 1404 if protoimpl.UnsafeEnabled && x != nil { 1405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1406 if ms.LoadMessageInfo() == nil { 1407 ms.StoreMessageInfo(mi) 1408 } 1409 return ms 1410 } 1411 return mi.MessageOf(x) 1412 } 1413 1414 // Deprecated: Use DebugFileResponse_Open.ProtoReflect.Descriptor instead. 1415 func (*DebugFileResponse_Open) Descriptor() ([]byte, []int) { 1416 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{21, 0} 1417 } 1418 1419 func (x *DebugFileResponse_Open) GetHeaders() map[string]string { 1420 if x != nil { 1421 return x.Headers 1422 } 1423 return nil 1424 } 1425 1426 type DebugFileResponse_Input struct { 1427 state protoimpl.MessageState 1428 sizeCache protoimpl.SizeCache 1429 unknownFields protoimpl.UnknownFields 1430 1431 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 1432 } 1433 1434 func (x *DebugFileResponse_Input) Reset() { 1435 *x = DebugFileResponse_Input{} 1436 if protoimpl.UnsafeEnabled { 1437 mi := &file_internal_cli_server_proto_server_proto_msgTypes[25] 1438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1439 ms.StoreMessageInfo(mi) 1440 } 1441 } 1442 1443 func (x *DebugFileResponse_Input) String() string { 1444 return protoimpl.X.MessageStringOf(x) 1445 } 1446 1447 func (*DebugFileResponse_Input) ProtoMessage() {} 1448 1449 func (x *DebugFileResponse_Input) ProtoReflect() protoreflect.Message { 1450 mi := &file_internal_cli_server_proto_server_proto_msgTypes[25] 1451 if protoimpl.UnsafeEnabled && x != nil { 1452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1453 if ms.LoadMessageInfo() == nil { 1454 ms.StoreMessageInfo(mi) 1455 } 1456 return ms 1457 } 1458 return mi.MessageOf(x) 1459 } 1460 1461 // Deprecated: Use DebugFileResponse_Input.ProtoReflect.Descriptor instead. 1462 func (*DebugFileResponse_Input) Descriptor() ([]byte, []int) { 1463 return file_internal_cli_server_proto_server_proto_rawDescGZIP(), []int{21, 1} 1464 } 1465 1466 func (x *DebugFileResponse_Input) GetData() []byte { 1467 if x != nil { 1468 return x.Data 1469 } 1470 return nil 1471 } 1472 1473 var File_internal_cli_server_proto_server_proto protoreflect.FileDescriptor 1474 1475 var file_internal_cli_server_proto_server_proto_rawDesc = []byte{ 1476 0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x73, 1477 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 1478 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1479 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1480 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0c, 1481 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 1482 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 1483 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0f, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 1484 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 1485 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x43, 1486 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1487 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 1488 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 1489 0x6b, 0x53, 0x74, 0x75, 0x62, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 1490 0x2c, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 1491 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 1492 0x74, 0x75, 0x62, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 1493 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 1494 0x65, 0x22, 0x37, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x75, 0x62, 0x12, 0x12, 1495 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 1496 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 1497 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x41, 0x0a, 0x0f, 0x50, 0x65, 1498 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 1499 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 1500 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 1501 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, 0x12, 0x0a, 1502 0x10, 0x50, 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1503 0x65, 0x22, 0x44, 0x0a, 0x12, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 1504 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 1505 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 1506 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 1507 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x65, 0x65, 0x72, 0x73, 1508 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 1509 0x0a, 0x10, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 1510 0x73, 0x74, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 1511 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 1512 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 1513 0x65, 0x65, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2a, 0x0a, 0x12, 0x50, 0x65, 1514 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1515 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1516 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 1517 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 1518 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x72, 1519 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x22, 0x98, 1520 0x01, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 1521 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 1522 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 1523 0x03, 0x65, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x72, 0x12, 1524 0x12, 0x0a, 0x04, 0x63, 0x61, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x63, 1525 0x61, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 1526 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 1527 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 1528 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 1529 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x22, 0x2d, 0x0a, 0x13, 0x43, 0x68, 0x61, 1530 0x69, 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1531 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 1532 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x69, 1533 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1534 0x22, 0x23, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1535 0x74, 0x12, 0x12, 0x0a, 0x04, 0x57, 0x61, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 1536 0x04, 0x57, 0x61, 0x69, 0x74, 0x22, 0xe2, 0x03, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1537 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 1538 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 1539 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x63, 1540 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x33, 0x0a, 0x0d, 0x63, 1541 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 1542 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 1543 0x72, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 1544 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 1545 0x28, 0x03, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 1546 0x73, 0x79, 0x6e, 0x63, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 1547 0x73, 0x79, 0x6e, 0x63, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x79, 0x6e, 0x63, 1548 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1549 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1550 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 1551 0x67, 0x12, 0x30, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 1552 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 1553 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x05, 0x66, 0x6f, 1554 0x72, 0x6b, 0x73, 0x1a, 0x4c, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 1555 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1556 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 1557 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 1558 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 1559 0x64, 0x1a, 0x77, 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 1560 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 1561 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 1562 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 1563 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 1564 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 1565 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x75, 1566 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x34, 0x0a, 0x06, 0x48, 0x65, 1567 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 1568 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 1569 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 1570 0x22, 0xa2, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 1571 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 1572 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 1573 0x75, 0x67, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 1574 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 1575 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 1576 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 1577 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x26, 0x0a, 1578 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x4f, 0x4b, 0x55, 0x50, 0x10, 1579 0x00, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x50, 0x55, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x52, 1580 0x41, 0x43, 0x45, 0x10, 0x02, 0x22, 0x2b, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x42, 0x6c, 1581 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 1582 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 1583 0x65, 0x72, 0x22, 0xdd, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x46, 0x69, 0x6c, 0x65, 1584 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 1585 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 1586 0x65, 0x62, 0x75, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1587 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x36, 0x0a, 1588 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 1589 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 1590 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x05, 1591 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x2a, 0x0a, 0x03, 0x65, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 1592 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1593 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x03, 0x65, 0x6f, 1594 0x66, 0x1a, 0x88, 0x01, 0x0a, 0x04, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x44, 0x0a, 0x07, 0x68, 0x65, 1595 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 1596 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 1597 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 1598 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1599 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1600 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 1601 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1602 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x1b, 0x0a, 0x05, 1603 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 1604 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 1605 0x6e, 0x74, 0x32, 0xdb, 0x04, 0x0a, 0x03, 0x42, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x50, 0x65, 1606 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 1607 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 1608 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 1609 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 0x73, 1610 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 1611 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1612 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 1613 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 1614 0x09, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 1615 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 1616 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 1617 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 1618 0x0b, 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x2e, 0x70, 1619 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1620 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 1621 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1622 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x48, 1623 0x65, 0x61, 0x64, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 1624 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1625 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 1626 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 1627 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 1628 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 1629 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1630 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 0x74, 0x63, 1631 0x68, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 1632 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 1633 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 1634 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 1635 0x67, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 1636 0x65, 0x62, 0x75, 0x67, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1637 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x46, 0x69, 1638 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x0a, 1639 0x44, 0x65, 0x62, 0x75, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 1640 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 1641 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x62, 1642 0x75, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 1643 0x42, 0x1c, 0x5a, 0x1a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6c, 1644 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 1645 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1646 } 1647 1648 var ( 1649 file_internal_cli_server_proto_server_proto_rawDescOnce sync.Once 1650 file_internal_cli_server_proto_server_proto_rawDescData = file_internal_cli_server_proto_server_proto_rawDesc 1651 ) 1652 1653 func file_internal_cli_server_proto_server_proto_rawDescGZIP() []byte { 1654 file_internal_cli_server_proto_server_proto_rawDescOnce.Do(func() { 1655 file_internal_cli_server_proto_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_cli_server_proto_server_proto_rawDescData) 1656 }) 1657 return file_internal_cli_server_proto_server_proto_rawDescData 1658 } 1659 1660 var file_internal_cli_server_proto_server_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1661 var file_internal_cli_server_proto_server_proto_msgTypes = make([]protoimpl.MessageInfo, 27) 1662 var file_internal_cli_server_proto_server_proto_goTypes = []interface{}{ 1663 (DebugPprofRequest_Type)(0), // 0: proto.DebugPprofRequest.Type 1664 (*TraceRequest)(nil), // 1: proto.TraceRequest 1665 (*TraceResponse)(nil), // 2: proto.TraceResponse 1666 (*ChainWatchRequest)(nil), // 3: proto.ChainWatchRequest 1667 (*ChainWatchResponse)(nil), // 4: proto.ChainWatchResponse 1668 (*BlockStub)(nil), // 5: proto.BlockStub 1669 (*PeersAddRequest)(nil), // 6: proto.PeersAddRequest 1670 (*PeersAddResponse)(nil), // 7: proto.PeersAddResponse 1671 (*PeersRemoveRequest)(nil), // 8: proto.PeersRemoveRequest 1672 (*PeersRemoveResponse)(nil), // 9: proto.PeersRemoveResponse 1673 (*PeersListRequest)(nil), // 10: proto.PeersListRequest 1674 (*PeersListResponse)(nil), // 11: proto.PeersListResponse 1675 (*PeersStatusRequest)(nil), // 12: proto.PeersStatusRequest 1676 (*PeersStatusResponse)(nil), // 13: proto.PeersStatusResponse 1677 (*Peer)(nil), // 14: proto.Peer 1678 (*ChainSetHeadRequest)(nil), // 15: proto.ChainSetHeadRequest 1679 (*ChainSetHeadResponse)(nil), // 16: proto.ChainSetHeadResponse 1680 (*StatusRequest)(nil), // 17: proto.StatusRequest 1681 (*StatusResponse)(nil), // 18: proto.StatusResponse 1682 (*Header)(nil), // 19: proto.Header 1683 (*DebugPprofRequest)(nil), // 20: proto.DebugPprofRequest 1684 (*DebugBlockRequest)(nil), // 21: proto.DebugBlockRequest 1685 (*DebugFileResponse)(nil), // 22: proto.DebugFileResponse 1686 (*StatusResponse_Fork)(nil), // 23: proto.StatusResponse.Fork 1687 (*StatusResponse_Syncing)(nil), // 24: proto.StatusResponse.Syncing 1688 (*DebugFileResponse_Open)(nil), // 25: proto.DebugFileResponse.Open 1689 (*DebugFileResponse_Input)(nil), // 26: proto.DebugFileResponse.Input 1690 nil, // 27: proto.DebugFileResponse.Open.HeadersEntry 1691 (*emptypb.Empty)(nil), // 28: google.protobuf.Empty 1692 } 1693 var file_internal_cli_server_proto_server_proto_depIdxs = []int32{ 1694 5, // 0: proto.ChainWatchResponse.oldchain:type_name -> proto.BlockStub 1695 5, // 1: proto.ChainWatchResponse.newchain:type_name -> proto.BlockStub 1696 14, // 2: proto.PeersListResponse.peers:type_name -> proto.Peer 1697 14, // 3: proto.PeersStatusResponse.peer:type_name -> proto.Peer 1698 19, // 4: proto.StatusResponse.currentBlock:type_name -> proto.Header 1699 19, // 5: proto.StatusResponse.currentHeader:type_name -> proto.Header 1700 24, // 6: proto.StatusResponse.syncing:type_name -> proto.StatusResponse.Syncing 1701 23, // 7: proto.StatusResponse.forks:type_name -> proto.StatusResponse.Fork 1702 0, // 8: proto.DebugPprofRequest.type:type_name -> proto.DebugPprofRequest.Type 1703 25, // 9: proto.DebugFileResponse.open:type_name -> proto.DebugFileResponse.Open 1704 26, // 10: proto.DebugFileResponse.input:type_name -> proto.DebugFileResponse.Input 1705 28, // 11: proto.DebugFileResponse.eof:type_name -> google.protobuf.Empty 1706 27, // 12: proto.DebugFileResponse.Open.headers:type_name -> proto.DebugFileResponse.Open.HeadersEntry 1707 6, // 13: proto.Bor.PeersAdd:input_type -> proto.PeersAddRequest 1708 8, // 14: proto.Bor.PeersRemove:input_type -> proto.PeersRemoveRequest 1709 10, // 15: proto.Bor.PeersList:input_type -> proto.PeersListRequest 1710 12, // 16: proto.Bor.PeersStatus:input_type -> proto.PeersStatusRequest 1711 15, // 17: proto.Bor.ChainSetHead:input_type -> proto.ChainSetHeadRequest 1712 17, // 18: proto.Bor.Status:input_type -> proto.StatusRequest 1713 3, // 19: proto.Bor.ChainWatch:input_type -> proto.ChainWatchRequest 1714 20, // 20: proto.Bor.DebugPprof:input_type -> proto.DebugPprofRequest 1715 21, // 21: proto.Bor.DebugBlock:input_type -> proto.DebugBlockRequest 1716 7, // 22: proto.Bor.PeersAdd:output_type -> proto.PeersAddResponse 1717 9, // 23: proto.Bor.PeersRemove:output_type -> proto.PeersRemoveResponse 1718 11, // 24: proto.Bor.PeersList:output_type -> proto.PeersListResponse 1719 13, // 25: proto.Bor.PeersStatus:output_type -> proto.PeersStatusResponse 1720 16, // 26: proto.Bor.ChainSetHead:output_type -> proto.ChainSetHeadResponse 1721 18, // 27: proto.Bor.Status:output_type -> proto.StatusResponse 1722 4, // 28: proto.Bor.ChainWatch:output_type -> proto.ChainWatchResponse 1723 22, // 29: proto.Bor.DebugPprof:output_type -> proto.DebugFileResponse 1724 22, // 30: proto.Bor.DebugBlock:output_type -> proto.DebugFileResponse 1725 22, // [22:31] is the sub-list for method output_type 1726 13, // [13:22] is the sub-list for method input_type 1727 13, // [13:13] is the sub-list for extension type_name 1728 13, // [13:13] is the sub-list for extension extendee 1729 0, // [0:13] is the sub-list for field type_name 1730 } 1731 1732 func init() { file_internal_cli_server_proto_server_proto_init() } 1733 func file_internal_cli_server_proto_server_proto_init() { 1734 if File_internal_cli_server_proto_server_proto != nil { 1735 return 1736 } 1737 if !protoimpl.UnsafeEnabled { 1738 file_internal_cli_server_proto_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1739 switch v := v.(*TraceRequest); i { 1740 case 0: 1741 return &v.state 1742 case 1: 1743 return &v.sizeCache 1744 case 2: 1745 return &v.unknownFields 1746 default: 1747 return nil 1748 } 1749 } 1750 file_internal_cli_server_proto_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1751 switch v := v.(*TraceResponse); i { 1752 case 0: 1753 return &v.state 1754 case 1: 1755 return &v.sizeCache 1756 case 2: 1757 return &v.unknownFields 1758 default: 1759 return nil 1760 } 1761 } 1762 file_internal_cli_server_proto_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1763 switch v := v.(*ChainWatchRequest); i { 1764 case 0: 1765 return &v.state 1766 case 1: 1767 return &v.sizeCache 1768 case 2: 1769 return &v.unknownFields 1770 default: 1771 return nil 1772 } 1773 } 1774 file_internal_cli_server_proto_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1775 switch v := v.(*ChainWatchResponse); i { 1776 case 0: 1777 return &v.state 1778 case 1: 1779 return &v.sizeCache 1780 case 2: 1781 return &v.unknownFields 1782 default: 1783 return nil 1784 } 1785 } 1786 file_internal_cli_server_proto_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1787 switch v := v.(*BlockStub); i { 1788 case 0: 1789 return &v.state 1790 case 1: 1791 return &v.sizeCache 1792 case 2: 1793 return &v.unknownFields 1794 default: 1795 return nil 1796 } 1797 } 1798 file_internal_cli_server_proto_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1799 switch v := v.(*PeersAddRequest); i { 1800 case 0: 1801 return &v.state 1802 case 1: 1803 return &v.sizeCache 1804 case 2: 1805 return &v.unknownFields 1806 default: 1807 return nil 1808 } 1809 } 1810 file_internal_cli_server_proto_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1811 switch v := v.(*PeersAddResponse); i { 1812 case 0: 1813 return &v.state 1814 case 1: 1815 return &v.sizeCache 1816 case 2: 1817 return &v.unknownFields 1818 default: 1819 return nil 1820 } 1821 } 1822 file_internal_cli_server_proto_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1823 switch v := v.(*PeersRemoveRequest); i { 1824 case 0: 1825 return &v.state 1826 case 1: 1827 return &v.sizeCache 1828 case 2: 1829 return &v.unknownFields 1830 default: 1831 return nil 1832 } 1833 } 1834 file_internal_cli_server_proto_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1835 switch v := v.(*PeersRemoveResponse); i { 1836 case 0: 1837 return &v.state 1838 case 1: 1839 return &v.sizeCache 1840 case 2: 1841 return &v.unknownFields 1842 default: 1843 return nil 1844 } 1845 } 1846 file_internal_cli_server_proto_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1847 switch v := v.(*PeersListRequest); i { 1848 case 0: 1849 return &v.state 1850 case 1: 1851 return &v.sizeCache 1852 case 2: 1853 return &v.unknownFields 1854 default: 1855 return nil 1856 } 1857 } 1858 file_internal_cli_server_proto_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1859 switch v := v.(*PeersListResponse); i { 1860 case 0: 1861 return &v.state 1862 case 1: 1863 return &v.sizeCache 1864 case 2: 1865 return &v.unknownFields 1866 default: 1867 return nil 1868 } 1869 } 1870 file_internal_cli_server_proto_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1871 switch v := v.(*PeersStatusRequest); i { 1872 case 0: 1873 return &v.state 1874 case 1: 1875 return &v.sizeCache 1876 case 2: 1877 return &v.unknownFields 1878 default: 1879 return nil 1880 } 1881 } 1882 file_internal_cli_server_proto_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1883 switch v := v.(*PeersStatusResponse); i { 1884 case 0: 1885 return &v.state 1886 case 1: 1887 return &v.sizeCache 1888 case 2: 1889 return &v.unknownFields 1890 default: 1891 return nil 1892 } 1893 } 1894 file_internal_cli_server_proto_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1895 switch v := v.(*Peer); i { 1896 case 0: 1897 return &v.state 1898 case 1: 1899 return &v.sizeCache 1900 case 2: 1901 return &v.unknownFields 1902 default: 1903 return nil 1904 } 1905 } 1906 file_internal_cli_server_proto_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1907 switch v := v.(*ChainSetHeadRequest); i { 1908 case 0: 1909 return &v.state 1910 case 1: 1911 return &v.sizeCache 1912 case 2: 1913 return &v.unknownFields 1914 default: 1915 return nil 1916 } 1917 } 1918 file_internal_cli_server_proto_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1919 switch v := v.(*ChainSetHeadResponse); i { 1920 case 0: 1921 return &v.state 1922 case 1: 1923 return &v.sizeCache 1924 case 2: 1925 return &v.unknownFields 1926 default: 1927 return nil 1928 } 1929 } 1930 file_internal_cli_server_proto_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1931 switch v := v.(*StatusRequest); i { 1932 case 0: 1933 return &v.state 1934 case 1: 1935 return &v.sizeCache 1936 case 2: 1937 return &v.unknownFields 1938 default: 1939 return nil 1940 } 1941 } 1942 file_internal_cli_server_proto_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1943 switch v := v.(*StatusResponse); i { 1944 case 0: 1945 return &v.state 1946 case 1: 1947 return &v.sizeCache 1948 case 2: 1949 return &v.unknownFields 1950 default: 1951 return nil 1952 } 1953 } 1954 file_internal_cli_server_proto_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 1955 switch v := v.(*Header); i { 1956 case 0: 1957 return &v.state 1958 case 1: 1959 return &v.sizeCache 1960 case 2: 1961 return &v.unknownFields 1962 default: 1963 return nil 1964 } 1965 } 1966 file_internal_cli_server_proto_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 1967 switch v := v.(*DebugPprofRequest); i { 1968 case 0: 1969 return &v.state 1970 case 1: 1971 return &v.sizeCache 1972 case 2: 1973 return &v.unknownFields 1974 default: 1975 return nil 1976 } 1977 } 1978 file_internal_cli_server_proto_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 1979 switch v := v.(*DebugBlockRequest); i { 1980 case 0: 1981 return &v.state 1982 case 1: 1983 return &v.sizeCache 1984 case 2: 1985 return &v.unknownFields 1986 default: 1987 return nil 1988 } 1989 } 1990 file_internal_cli_server_proto_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 1991 switch v := v.(*DebugFileResponse); i { 1992 case 0: 1993 return &v.state 1994 case 1: 1995 return &v.sizeCache 1996 case 2: 1997 return &v.unknownFields 1998 default: 1999 return nil 2000 } 2001 } 2002 file_internal_cli_server_proto_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2003 switch v := v.(*StatusResponse_Fork); i { 2004 case 0: 2005 return &v.state 2006 case 1: 2007 return &v.sizeCache 2008 case 2: 2009 return &v.unknownFields 2010 default: 2011 return nil 2012 } 2013 } 2014 file_internal_cli_server_proto_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2015 switch v := v.(*StatusResponse_Syncing); i { 2016 case 0: 2017 return &v.state 2018 case 1: 2019 return &v.sizeCache 2020 case 2: 2021 return &v.unknownFields 2022 default: 2023 return nil 2024 } 2025 } 2026 file_internal_cli_server_proto_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 2027 switch v := v.(*DebugFileResponse_Open); i { 2028 case 0: 2029 return &v.state 2030 case 1: 2031 return &v.sizeCache 2032 case 2: 2033 return &v.unknownFields 2034 default: 2035 return nil 2036 } 2037 } 2038 file_internal_cli_server_proto_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 2039 switch v := v.(*DebugFileResponse_Input); i { 2040 case 0: 2041 return &v.state 2042 case 1: 2043 return &v.sizeCache 2044 case 2: 2045 return &v.unknownFields 2046 default: 2047 return nil 2048 } 2049 } 2050 } 2051 file_internal_cli_server_proto_server_proto_msgTypes[21].OneofWrappers = []interface{}{ 2052 (*DebugFileResponse_Open_)(nil), 2053 (*DebugFileResponse_Input_)(nil), 2054 (*DebugFileResponse_Eof)(nil), 2055 } 2056 type x struct{} 2057 out := protoimpl.TypeBuilder{ 2058 File: protoimpl.DescBuilder{ 2059 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2060 RawDescriptor: file_internal_cli_server_proto_server_proto_rawDesc, 2061 NumEnums: 1, 2062 NumMessages: 27, 2063 NumExtensions: 0, 2064 NumServices: 1, 2065 }, 2066 GoTypes: file_internal_cli_server_proto_server_proto_goTypes, 2067 DependencyIndexes: file_internal_cli_server_proto_server_proto_depIdxs, 2068 EnumInfos: file_internal_cli_server_proto_server_proto_enumTypes, 2069 MessageInfos: file_internal_cli_server_proto_server_proto_msgTypes, 2070 }.Build() 2071 File_internal_cli_server_proto_server_proto = out.File 2072 file_internal_cli_server_proto_server_proto_rawDesc = nil 2073 file_internal_cli_server_proto_server_proto_goTypes = nil 2074 file_internal_cli_server_proto_server_proto_depIdxs = nil 2075 }