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