github.com/ledgerwatch/erigon-lib@v1.0.0/gointerfaces/txpool/txpool.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: txpool/txpool.proto 6 7 package txpool 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 ImportResult int32 26 27 const ( 28 ImportResult_SUCCESS ImportResult = 0 29 ImportResult_ALREADY_EXISTS ImportResult = 1 30 ImportResult_FEE_TOO_LOW ImportResult = 2 31 ImportResult_STALE ImportResult = 3 32 ImportResult_INVALID ImportResult = 4 33 ImportResult_INTERNAL_ERROR ImportResult = 5 34 ) 35 36 // Enum value maps for ImportResult. 37 var ( 38 ImportResult_name = map[int32]string{ 39 0: "SUCCESS", 40 1: "ALREADY_EXISTS", 41 2: "FEE_TOO_LOW", 42 3: "STALE", 43 4: "INVALID", 44 5: "INTERNAL_ERROR", 45 } 46 ImportResult_value = map[string]int32{ 47 "SUCCESS": 0, 48 "ALREADY_EXISTS": 1, 49 "FEE_TOO_LOW": 2, 50 "STALE": 3, 51 "INVALID": 4, 52 "INTERNAL_ERROR": 5, 53 } 54 ) 55 56 func (x ImportResult) Enum() *ImportResult { 57 p := new(ImportResult) 58 *p = x 59 return p 60 } 61 62 func (x ImportResult) String() string { 63 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 64 } 65 66 func (ImportResult) Descriptor() protoreflect.EnumDescriptor { 67 return file_txpool_txpool_proto_enumTypes[0].Descriptor() 68 } 69 70 func (ImportResult) Type() protoreflect.EnumType { 71 return &file_txpool_txpool_proto_enumTypes[0] 72 } 73 74 func (x ImportResult) Number() protoreflect.EnumNumber { 75 return protoreflect.EnumNumber(x) 76 } 77 78 // Deprecated: Use ImportResult.Descriptor instead. 79 func (ImportResult) EnumDescriptor() ([]byte, []int) { 80 return file_txpool_txpool_proto_rawDescGZIP(), []int{0} 81 } 82 83 type AllReply_TxnType int32 84 85 const ( 86 AllReply_PENDING AllReply_TxnType = 0 // All currently processable transactions 87 AllReply_QUEUED AllReply_TxnType = 1 // Queued but non-processable transactions 88 AllReply_BASE_FEE AllReply_TxnType = 2 // BaseFee not enough baseFee non-processable transactions 89 ) 90 91 // Enum value maps for AllReply_TxnType. 92 var ( 93 AllReply_TxnType_name = map[int32]string{ 94 0: "PENDING", 95 1: "QUEUED", 96 2: "BASE_FEE", 97 } 98 AllReply_TxnType_value = map[string]int32{ 99 "PENDING": 0, 100 "QUEUED": 1, 101 "BASE_FEE": 2, 102 } 103 ) 104 105 func (x AllReply_TxnType) Enum() *AllReply_TxnType { 106 p := new(AllReply_TxnType) 107 *p = x 108 return p 109 } 110 111 func (x AllReply_TxnType) String() string { 112 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 113 } 114 115 func (AllReply_TxnType) Descriptor() protoreflect.EnumDescriptor { 116 return file_txpool_txpool_proto_enumTypes[1].Descriptor() 117 } 118 119 func (AllReply_TxnType) Type() protoreflect.EnumType { 120 return &file_txpool_txpool_proto_enumTypes[1] 121 } 122 123 func (x AllReply_TxnType) Number() protoreflect.EnumNumber { 124 return protoreflect.EnumNumber(x) 125 } 126 127 // Deprecated: Use AllReply_TxnType.Descriptor instead. 128 func (AllReply_TxnType) EnumDescriptor() ([]byte, []int) { 129 return file_txpool_txpool_proto_rawDescGZIP(), []int{8, 0} 130 } 131 132 type TxHashes struct { 133 state protoimpl.MessageState 134 sizeCache protoimpl.SizeCache 135 unknownFields protoimpl.UnknownFields 136 137 Hashes []*types.H256 `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` 138 } 139 140 func (x *TxHashes) Reset() { 141 *x = TxHashes{} 142 if protoimpl.UnsafeEnabled { 143 mi := &file_txpool_txpool_proto_msgTypes[0] 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 ms.StoreMessageInfo(mi) 146 } 147 } 148 149 func (x *TxHashes) String() string { 150 return protoimpl.X.MessageStringOf(x) 151 } 152 153 func (*TxHashes) ProtoMessage() {} 154 155 func (x *TxHashes) ProtoReflect() protoreflect.Message { 156 mi := &file_txpool_txpool_proto_msgTypes[0] 157 if protoimpl.UnsafeEnabled && x != nil { 158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 159 if ms.LoadMessageInfo() == nil { 160 ms.StoreMessageInfo(mi) 161 } 162 return ms 163 } 164 return mi.MessageOf(x) 165 } 166 167 // Deprecated: Use TxHashes.ProtoReflect.Descriptor instead. 168 func (*TxHashes) Descriptor() ([]byte, []int) { 169 return file_txpool_txpool_proto_rawDescGZIP(), []int{0} 170 } 171 172 func (x *TxHashes) GetHashes() []*types.H256 { 173 if x != nil { 174 return x.Hashes 175 } 176 return nil 177 } 178 179 type AddRequest struct { 180 state protoimpl.MessageState 181 sizeCache protoimpl.SizeCache 182 unknownFields protoimpl.UnknownFields 183 184 RlpTxs [][]byte `protobuf:"bytes,1,rep,name=rlp_txs,json=rlpTxs,proto3" json:"rlp_txs,omitempty"` 185 } 186 187 func (x *AddRequest) Reset() { 188 *x = AddRequest{} 189 if protoimpl.UnsafeEnabled { 190 mi := &file_txpool_txpool_proto_msgTypes[1] 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 ms.StoreMessageInfo(mi) 193 } 194 } 195 196 func (x *AddRequest) String() string { 197 return protoimpl.X.MessageStringOf(x) 198 } 199 200 func (*AddRequest) ProtoMessage() {} 201 202 func (x *AddRequest) ProtoReflect() protoreflect.Message { 203 mi := &file_txpool_txpool_proto_msgTypes[1] 204 if protoimpl.UnsafeEnabled && x != nil { 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 206 if ms.LoadMessageInfo() == nil { 207 ms.StoreMessageInfo(mi) 208 } 209 return ms 210 } 211 return mi.MessageOf(x) 212 } 213 214 // Deprecated: Use AddRequest.ProtoReflect.Descriptor instead. 215 func (*AddRequest) Descriptor() ([]byte, []int) { 216 return file_txpool_txpool_proto_rawDescGZIP(), []int{1} 217 } 218 219 func (x *AddRequest) GetRlpTxs() [][]byte { 220 if x != nil { 221 return x.RlpTxs 222 } 223 return nil 224 } 225 226 type AddReply struct { 227 state protoimpl.MessageState 228 sizeCache protoimpl.SizeCache 229 unknownFields protoimpl.UnknownFields 230 231 Imported []ImportResult `protobuf:"varint,1,rep,packed,name=imported,proto3,enum=txpool.ImportResult" json:"imported,omitempty"` 232 Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` 233 } 234 235 func (x *AddReply) Reset() { 236 *x = AddReply{} 237 if protoimpl.UnsafeEnabled { 238 mi := &file_txpool_txpool_proto_msgTypes[2] 239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 240 ms.StoreMessageInfo(mi) 241 } 242 } 243 244 func (x *AddReply) String() string { 245 return protoimpl.X.MessageStringOf(x) 246 } 247 248 func (*AddReply) ProtoMessage() {} 249 250 func (x *AddReply) ProtoReflect() protoreflect.Message { 251 mi := &file_txpool_txpool_proto_msgTypes[2] 252 if protoimpl.UnsafeEnabled && x != nil { 253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 254 if ms.LoadMessageInfo() == nil { 255 ms.StoreMessageInfo(mi) 256 } 257 return ms 258 } 259 return mi.MessageOf(x) 260 } 261 262 // Deprecated: Use AddReply.ProtoReflect.Descriptor instead. 263 func (*AddReply) Descriptor() ([]byte, []int) { 264 return file_txpool_txpool_proto_rawDescGZIP(), []int{2} 265 } 266 267 func (x *AddReply) GetImported() []ImportResult { 268 if x != nil { 269 return x.Imported 270 } 271 return nil 272 } 273 274 func (x *AddReply) GetErrors() []string { 275 if x != nil { 276 return x.Errors 277 } 278 return nil 279 } 280 281 type TransactionsRequest struct { 282 state protoimpl.MessageState 283 sizeCache protoimpl.SizeCache 284 unknownFields protoimpl.UnknownFields 285 286 Hashes []*types.H256 `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` 287 } 288 289 func (x *TransactionsRequest) Reset() { 290 *x = TransactionsRequest{} 291 if protoimpl.UnsafeEnabled { 292 mi := &file_txpool_txpool_proto_msgTypes[3] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 ms.StoreMessageInfo(mi) 295 } 296 } 297 298 func (x *TransactionsRequest) String() string { 299 return protoimpl.X.MessageStringOf(x) 300 } 301 302 func (*TransactionsRequest) ProtoMessage() {} 303 304 func (x *TransactionsRequest) ProtoReflect() protoreflect.Message { 305 mi := &file_txpool_txpool_proto_msgTypes[3] 306 if protoimpl.UnsafeEnabled && x != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(x) 314 } 315 316 // Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead. 317 func (*TransactionsRequest) Descriptor() ([]byte, []int) { 318 return file_txpool_txpool_proto_rawDescGZIP(), []int{3} 319 } 320 321 func (x *TransactionsRequest) GetHashes() []*types.H256 { 322 if x != nil { 323 return x.Hashes 324 } 325 return nil 326 } 327 328 type TransactionsReply struct { 329 state protoimpl.MessageState 330 sizeCache protoimpl.SizeCache 331 unknownFields protoimpl.UnknownFields 332 333 RlpTxs [][]byte `protobuf:"bytes,1,rep,name=rlp_txs,json=rlpTxs,proto3" json:"rlp_txs,omitempty"` 334 } 335 336 func (x *TransactionsReply) Reset() { 337 *x = TransactionsReply{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_txpool_txpool_proto_msgTypes[4] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *TransactionsReply) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*TransactionsReply) ProtoMessage() {} 350 351 func (x *TransactionsReply) ProtoReflect() protoreflect.Message { 352 mi := &file_txpool_txpool_proto_msgTypes[4] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use TransactionsReply.ProtoReflect.Descriptor instead. 364 func (*TransactionsReply) Descriptor() ([]byte, []int) { 365 return file_txpool_txpool_proto_rawDescGZIP(), []int{4} 366 } 367 368 func (x *TransactionsReply) GetRlpTxs() [][]byte { 369 if x != nil { 370 return x.RlpTxs 371 } 372 return nil 373 } 374 375 type OnAddRequest struct { 376 state protoimpl.MessageState 377 sizeCache protoimpl.SizeCache 378 unknownFields protoimpl.UnknownFields 379 } 380 381 func (x *OnAddRequest) Reset() { 382 *x = OnAddRequest{} 383 if protoimpl.UnsafeEnabled { 384 mi := &file_txpool_txpool_proto_msgTypes[5] 385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 386 ms.StoreMessageInfo(mi) 387 } 388 } 389 390 func (x *OnAddRequest) String() string { 391 return protoimpl.X.MessageStringOf(x) 392 } 393 394 func (*OnAddRequest) ProtoMessage() {} 395 396 func (x *OnAddRequest) ProtoReflect() protoreflect.Message { 397 mi := &file_txpool_txpool_proto_msgTypes[5] 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 OnAddRequest.ProtoReflect.Descriptor instead. 409 func (*OnAddRequest) Descriptor() ([]byte, []int) { 410 return file_txpool_txpool_proto_rawDescGZIP(), []int{5} 411 } 412 413 type OnAddReply struct { 414 state protoimpl.MessageState 415 sizeCache protoimpl.SizeCache 416 unknownFields protoimpl.UnknownFields 417 418 RplTxs [][]byte `protobuf:"bytes,1,rep,name=rpl_txs,json=rplTxs,proto3" json:"rpl_txs,omitempty"` 419 } 420 421 func (x *OnAddReply) Reset() { 422 *x = OnAddReply{} 423 if protoimpl.UnsafeEnabled { 424 mi := &file_txpool_txpool_proto_msgTypes[6] 425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 426 ms.StoreMessageInfo(mi) 427 } 428 } 429 430 func (x *OnAddReply) String() string { 431 return protoimpl.X.MessageStringOf(x) 432 } 433 434 func (*OnAddReply) ProtoMessage() {} 435 436 func (x *OnAddReply) ProtoReflect() protoreflect.Message { 437 mi := &file_txpool_txpool_proto_msgTypes[6] 438 if protoimpl.UnsafeEnabled && x != nil { 439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 440 if ms.LoadMessageInfo() == nil { 441 ms.StoreMessageInfo(mi) 442 } 443 return ms 444 } 445 return mi.MessageOf(x) 446 } 447 448 // Deprecated: Use OnAddReply.ProtoReflect.Descriptor instead. 449 func (*OnAddReply) Descriptor() ([]byte, []int) { 450 return file_txpool_txpool_proto_rawDescGZIP(), []int{6} 451 } 452 453 func (x *OnAddReply) GetRplTxs() [][]byte { 454 if x != nil { 455 return x.RplTxs 456 } 457 return nil 458 } 459 460 type AllRequest struct { 461 state protoimpl.MessageState 462 sizeCache protoimpl.SizeCache 463 unknownFields protoimpl.UnknownFields 464 } 465 466 func (x *AllRequest) Reset() { 467 *x = AllRequest{} 468 if protoimpl.UnsafeEnabled { 469 mi := &file_txpool_txpool_proto_msgTypes[7] 470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 471 ms.StoreMessageInfo(mi) 472 } 473 } 474 475 func (x *AllRequest) String() string { 476 return protoimpl.X.MessageStringOf(x) 477 } 478 479 func (*AllRequest) ProtoMessage() {} 480 481 func (x *AllRequest) ProtoReflect() protoreflect.Message { 482 mi := &file_txpool_txpool_proto_msgTypes[7] 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 AllRequest.ProtoReflect.Descriptor instead. 494 func (*AllRequest) Descriptor() ([]byte, []int) { 495 return file_txpool_txpool_proto_rawDescGZIP(), []int{7} 496 } 497 498 type AllReply struct { 499 state protoimpl.MessageState 500 sizeCache protoimpl.SizeCache 501 unknownFields protoimpl.UnknownFields 502 503 Txs []*AllReply_Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` 504 } 505 506 func (x *AllReply) Reset() { 507 *x = AllReply{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_txpool_txpool_proto_msgTypes[8] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513 } 514 515 func (x *AllReply) String() string { 516 return protoimpl.X.MessageStringOf(x) 517 } 518 519 func (*AllReply) ProtoMessage() {} 520 521 func (x *AllReply) ProtoReflect() protoreflect.Message { 522 mi := &file_txpool_txpool_proto_msgTypes[8] 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 AllReply.ProtoReflect.Descriptor instead. 534 func (*AllReply) Descriptor() ([]byte, []int) { 535 return file_txpool_txpool_proto_rawDescGZIP(), []int{8} 536 } 537 538 func (x *AllReply) GetTxs() []*AllReply_Tx { 539 if x != nil { 540 return x.Txs 541 } 542 return nil 543 } 544 545 type PendingReply struct { 546 state protoimpl.MessageState 547 sizeCache protoimpl.SizeCache 548 unknownFields protoimpl.UnknownFields 549 550 Txs []*PendingReply_Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` 551 } 552 553 func (x *PendingReply) Reset() { 554 *x = PendingReply{} 555 if protoimpl.UnsafeEnabled { 556 mi := &file_txpool_txpool_proto_msgTypes[9] 557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 558 ms.StoreMessageInfo(mi) 559 } 560 } 561 562 func (x *PendingReply) String() string { 563 return protoimpl.X.MessageStringOf(x) 564 } 565 566 func (*PendingReply) ProtoMessage() {} 567 568 func (x *PendingReply) ProtoReflect() protoreflect.Message { 569 mi := &file_txpool_txpool_proto_msgTypes[9] 570 if protoimpl.UnsafeEnabled && x != nil { 571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 572 if ms.LoadMessageInfo() == nil { 573 ms.StoreMessageInfo(mi) 574 } 575 return ms 576 } 577 return mi.MessageOf(x) 578 } 579 580 // Deprecated: Use PendingReply.ProtoReflect.Descriptor instead. 581 func (*PendingReply) Descriptor() ([]byte, []int) { 582 return file_txpool_txpool_proto_rawDescGZIP(), []int{9} 583 } 584 585 func (x *PendingReply) GetTxs() []*PendingReply_Tx { 586 if x != nil { 587 return x.Txs 588 } 589 return nil 590 } 591 592 type StatusRequest struct { 593 state protoimpl.MessageState 594 sizeCache protoimpl.SizeCache 595 unknownFields protoimpl.UnknownFields 596 } 597 598 func (x *StatusRequest) Reset() { 599 *x = StatusRequest{} 600 if protoimpl.UnsafeEnabled { 601 mi := &file_txpool_txpool_proto_msgTypes[10] 602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 603 ms.StoreMessageInfo(mi) 604 } 605 } 606 607 func (x *StatusRequest) String() string { 608 return protoimpl.X.MessageStringOf(x) 609 } 610 611 func (*StatusRequest) ProtoMessage() {} 612 613 func (x *StatusRequest) ProtoReflect() protoreflect.Message { 614 mi := &file_txpool_txpool_proto_msgTypes[10] 615 if protoimpl.UnsafeEnabled && x != nil { 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 if ms.LoadMessageInfo() == nil { 618 ms.StoreMessageInfo(mi) 619 } 620 return ms 621 } 622 return mi.MessageOf(x) 623 } 624 625 // Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead. 626 func (*StatusRequest) Descriptor() ([]byte, []int) { 627 return file_txpool_txpool_proto_rawDescGZIP(), []int{10} 628 } 629 630 type StatusReply struct { 631 state protoimpl.MessageState 632 sizeCache protoimpl.SizeCache 633 unknownFields protoimpl.UnknownFields 634 635 PendingCount uint32 `protobuf:"varint,1,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"` 636 QueuedCount uint32 `protobuf:"varint,2,opt,name=queued_count,json=queuedCount,proto3" json:"queued_count,omitempty"` 637 BaseFeeCount uint32 `protobuf:"varint,3,opt,name=base_fee_count,json=baseFeeCount,proto3" json:"base_fee_count,omitempty"` 638 } 639 640 func (x *StatusReply) Reset() { 641 *x = StatusReply{} 642 if protoimpl.UnsafeEnabled { 643 mi := &file_txpool_txpool_proto_msgTypes[11] 644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 645 ms.StoreMessageInfo(mi) 646 } 647 } 648 649 func (x *StatusReply) String() string { 650 return protoimpl.X.MessageStringOf(x) 651 } 652 653 func (*StatusReply) ProtoMessage() {} 654 655 func (x *StatusReply) ProtoReflect() protoreflect.Message { 656 mi := &file_txpool_txpool_proto_msgTypes[11] 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 StatusReply.ProtoReflect.Descriptor instead. 668 func (*StatusReply) Descriptor() ([]byte, []int) { 669 return file_txpool_txpool_proto_rawDescGZIP(), []int{11} 670 } 671 672 func (x *StatusReply) GetPendingCount() uint32 { 673 if x != nil { 674 return x.PendingCount 675 } 676 return 0 677 } 678 679 func (x *StatusReply) GetQueuedCount() uint32 { 680 if x != nil { 681 return x.QueuedCount 682 } 683 return 0 684 } 685 686 func (x *StatusReply) GetBaseFeeCount() uint32 { 687 if x != nil { 688 return x.BaseFeeCount 689 } 690 return 0 691 } 692 693 type NonceRequest struct { 694 state protoimpl.MessageState 695 sizeCache protoimpl.SizeCache 696 unknownFields protoimpl.UnknownFields 697 698 Address *types.H160 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 699 } 700 701 func (x *NonceRequest) Reset() { 702 *x = NonceRequest{} 703 if protoimpl.UnsafeEnabled { 704 mi := &file_txpool_txpool_proto_msgTypes[12] 705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 706 ms.StoreMessageInfo(mi) 707 } 708 } 709 710 func (x *NonceRequest) String() string { 711 return protoimpl.X.MessageStringOf(x) 712 } 713 714 func (*NonceRequest) ProtoMessage() {} 715 716 func (x *NonceRequest) ProtoReflect() protoreflect.Message { 717 mi := &file_txpool_txpool_proto_msgTypes[12] 718 if protoimpl.UnsafeEnabled && x != nil { 719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 720 if ms.LoadMessageInfo() == nil { 721 ms.StoreMessageInfo(mi) 722 } 723 return ms 724 } 725 return mi.MessageOf(x) 726 } 727 728 // Deprecated: Use NonceRequest.ProtoReflect.Descriptor instead. 729 func (*NonceRequest) Descriptor() ([]byte, []int) { 730 return file_txpool_txpool_proto_rawDescGZIP(), []int{12} 731 } 732 733 func (x *NonceRequest) GetAddress() *types.H160 { 734 if x != nil { 735 return x.Address 736 } 737 return nil 738 } 739 740 type NonceReply struct { 741 state protoimpl.MessageState 742 sizeCache protoimpl.SizeCache 743 unknownFields protoimpl.UnknownFields 744 745 Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` 746 Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` 747 } 748 749 func (x *NonceReply) Reset() { 750 *x = NonceReply{} 751 if protoimpl.UnsafeEnabled { 752 mi := &file_txpool_txpool_proto_msgTypes[13] 753 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 754 ms.StoreMessageInfo(mi) 755 } 756 } 757 758 func (x *NonceReply) String() string { 759 return protoimpl.X.MessageStringOf(x) 760 } 761 762 func (*NonceReply) ProtoMessage() {} 763 764 func (x *NonceReply) ProtoReflect() protoreflect.Message { 765 mi := &file_txpool_txpool_proto_msgTypes[13] 766 if protoimpl.UnsafeEnabled && x != nil { 767 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 768 if ms.LoadMessageInfo() == nil { 769 ms.StoreMessageInfo(mi) 770 } 771 return ms 772 } 773 return mi.MessageOf(x) 774 } 775 776 // Deprecated: Use NonceReply.ProtoReflect.Descriptor instead. 777 func (*NonceReply) Descriptor() ([]byte, []int) { 778 return file_txpool_txpool_proto_rawDescGZIP(), []int{13} 779 } 780 781 func (x *NonceReply) GetFound() bool { 782 if x != nil { 783 return x.Found 784 } 785 return false 786 } 787 788 func (x *NonceReply) GetNonce() uint64 { 789 if x != nil { 790 return x.Nonce 791 } 792 return 0 793 } 794 795 type AllReply_Tx struct { 796 state protoimpl.MessageState 797 sizeCache protoimpl.SizeCache 798 unknownFields protoimpl.UnknownFields 799 800 TxnType AllReply_TxnType `protobuf:"varint,1,opt,name=txn_type,json=txnType,proto3,enum=txpool.AllReply_TxnType" json:"txn_type,omitempty"` 801 Sender *types.H160 `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` 802 RlpTx []byte `protobuf:"bytes,3,opt,name=rlp_tx,json=rlpTx,proto3" json:"rlp_tx,omitempty"` 803 } 804 805 func (x *AllReply_Tx) Reset() { 806 *x = AllReply_Tx{} 807 if protoimpl.UnsafeEnabled { 808 mi := &file_txpool_txpool_proto_msgTypes[14] 809 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 810 ms.StoreMessageInfo(mi) 811 } 812 } 813 814 func (x *AllReply_Tx) String() string { 815 return protoimpl.X.MessageStringOf(x) 816 } 817 818 func (*AllReply_Tx) ProtoMessage() {} 819 820 func (x *AllReply_Tx) ProtoReflect() protoreflect.Message { 821 mi := &file_txpool_txpool_proto_msgTypes[14] 822 if protoimpl.UnsafeEnabled && x != nil { 823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 824 if ms.LoadMessageInfo() == nil { 825 ms.StoreMessageInfo(mi) 826 } 827 return ms 828 } 829 return mi.MessageOf(x) 830 } 831 832 // Deprecated: Use AllReply_Tx.ProtoReflect.Descriptor instead. 833 func (*AllReply_Tx) Descriptor() ([]byte, []int) { 834 return file_txpool_txpool_proto_rawDescGZIP(), []int{8, 0} 835 } 836 837 func (x *AllReply_Tx) GetTxnType() AllReply_TxnType { 838 if x != nil { 839 return x.TxnType 840 } 841 return AllReply_PENDING 842 } 843 844 func (x *AllReply_Tx) GetSender() *types.H160 { 845 if x != nil { 846 return x.Sender 847 } 848 return nil 849 } 850 851 func (x *AllReply_Tx) GetRlpTx() []byte { 852 if x != nil { 853 return x.RlpTx 854 } 855 return nil 856 } 857 858 type PendingReply_Tx struct { 859 state protoimpl.MessageState 860 sizeCache protoimpl.SizeCache 861 unknownFields protoimpl.UnknownFields 862 863 Sender *types.H160 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` 864 RlpTx []byte `protobuf:"bytes,2,opt,name=rlp_tx,json=rlpTx,proto3" json:"rlp_tx,omitempty"` 865 IsLocal bool `protobuf:"varint,3,opt,name=is_local,json=isLocal,proto3" json:"is_local,omitempty"` 866 } 867 868 func (x *PendingReply_Tx) Reset() { 869 *x = PendingReply_Tx{} 870 if protoimpl.UnsafeEnabled { 871 mi := &file_txpool_txpool_proto_msgTypes[15] 872 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 873 ms.StoreMessageInfo(mi) 874 } 875 } 876 877 func (x *PendingReply_Tx) String() string { 878 return protoimpl.X.MessageStringOf(x) 879 } 880 881 func (*PendingReply_Tx) ProtoMessage() {} 882 883 func (x *PendingReply_Tx) ProtoReflect() protoreflect.Message { 884 mi := &file_txpool_txpool_proto_msgTypes[15] 885 if protoimpl.UnsafeEnabled && x != nil { 886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 887 if ms.LoadMessageInfo() == nil { 888 ms.StoreMessageInfo(mi) 889 } 890 return ms 891 } 892 return mi.MessageOf(x) 893 } 894 895 // Deprecated: Use PendingReply_Tx.ProtoReflect.Descriptor instead. 896 func (*PendingReply_Tx) Descriptor() ([]byte, []int) { 897 return file_txpool_txpool_proto_rawDescGZIP(), []int{9, 0} 898 } 899 900 func (x *PendingReply_Tx) GetSender() *types.H160 { 901 if x != nil { 902 return x.Sender 903 } 904 return nil 905 } 906 907 func (x *PendingReply_Tx) GetRlpTx() []byte { 908 if x != nil { 909 return x.RlpTx 910 } 911 return nil 912 } 913 914 func (x *PendingReply_Tx) GetIsLocal() bool { 915 if x != nil { 916 return x.IsLocal 917 } 918 return false 919 } 920 921 var File_txpool_txpool_proto protoreflect.FileDescriptor 922 923 var file_txpool_txpool_proto_rawDesc = []byte{ 924 0x0a, 0x13, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 925 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x1a, 0x1b, 0x67, 926 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 927 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 0x79, 0x70, 0x65, 928 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 929 0x08, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x68, 0x61, 0x73, 930 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 931 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x25, 932 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 933 0x72, 0x6c, 0x70, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x72, 934 0x6c, 0x70, 0x54, 0x78, 0x73, 0x22, 0x54, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6c, 935 0x79, 0x12, 0x30, 0x0a, 0x08, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 936 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x49, 0x6d, 0x70, 937 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x69, 0x6d, 0x70, 0x6f, 0x72, 938 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 939 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x3a, 0x0a, 0x13, 0x54, 940 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 941 0x73, 0x74, 0x12, 0x23, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 942 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 943 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 944 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 945 0x72, 0x6c, 0x70, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x72, 946 0x6c, 0x70, 0x54, 0x78, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 947 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x25, 0x0a, 0x0a, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 948 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x70, 0x6c, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x01, 949 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x70, 0x6c, 0x54, 0x78, 0x73, 0x22, 0x0c, 0x0a, 0x0a, 950 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x08, 0x41, 951 0x6c, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 952 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x41, 0x6c, 953 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x54, 0x78, 0x52, 0x03, 0x74, 0x78, 0x73, 0x1a, 0x75, 954 0x0a, 0x02, 0x54, 0x78, 0x12, 0x33, 0x0a, 0x08, 0x74, 0x78, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 955 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 956 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x54, 0x78, 0x6e, 0x54, 0x79, 0x70, 0x65, 957 0x52, 0x07, 0x74, 0x78, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x73, 0x65, 0x6e, 958 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 959 0x73, 0x2e, 0x48, 0x31, 0x36, 0x30, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x15, 960 0x0a, 0x06, 0x72, 0x6c, 0x70, 0x5f, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 961 0x72, 0x6c, 0x70, 0x54, 0x78, 0x22, 0x30, 0x0a, 0x07, 0x54, 0x78, 0x6e, 0x54, 0x79, 0x70, 0x65, 962 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 963 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x53, 964 0x45, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x02, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x50, 0x65, 0x6e, 0x64, 965 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 966 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x50, 967 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2e, 0x54, 0x78, 0x52, 0x03, 968 0x74, 0x78, 0x73, 0x1a, 0x5b, 0x0a, 0x02, 0x54, 0x78, 0x12, 0x23, 0x0a, 0x06, 0x73, 0x65, 0x6e, 969 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 970 0x73, 0x2e, 0x48, 0x31, 0x36, 0x30, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x15, 971 0x0a, 0x06, 0x72, 0x6c, 0x70, 0x5f, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 972 0x72, 0x6c, 0x70, 0x54, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 973 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 974 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 975 0x74, 0x22, 0x7b, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 976 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 977 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 978 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x75, 0x65, 0x64, 0x5f, 979 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x71, 0x75, 0x65, 980 0x75, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 981 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 982 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x35, 983 0x0a, 0x0c, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 984 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 985 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x31, 0x36, 0x30, 0x52, 0x07, 0x61, 0x64, 986 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x38, 0x0a, 0x0a, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 987 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 988 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 989 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x2a, 990 0x6c, 0x0a, 0x0c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 991 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 992 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x01, 993 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x45, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 994 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 995 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 996 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x32, 0xec, 0x03, 997 0x0a, 0x06, 0x54, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x12, 0x36, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 998 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 999 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x74, 0x79, 1000 0x70, 0x65, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 1001 0x12, 0x31, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 1002 0x10, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 1003 0x73, 0x1a, 0x10, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x54, 0x78, 0x48, 0x61, 0x73, 1004 0x68, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x12, 0x12, 0x2e, 0x74, 0x78, 0x70, 1005 0x6f, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 1006 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 1007 0x12, 0x46, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1008 0x12, 0x1b, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 1009 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 1010 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 1011 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x12, 1012 0x12, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 1013 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x41, 0x6c, 0x6c, 1014 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 1015 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1016 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 1017 0x6c, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x33, 1018 0x0a, 0x05, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 1019 0x2e, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 1020 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x70, 0x6c, 1021 0x79, 0x30, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x2e, 1022 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 1023 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 1024 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x4e, 0x6f, 0x6e, 1025 0x63, 0x65, 0x12, 0x14, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 1026 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 1027 0x6c, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x11, 0x5a, 0x0f, 1028 0x2e, 0x2f, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x3b, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x62, 1029 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1030 } 1031 1032 var ( 1033 file_txpool_txpool_proto_rawDescOnce sync.Once 1034 file_txpool_txpool_proto_rawDescData = file_txpool_txpool_proto_rawDesc 1035 ) 1036 1037 func file_txpool_txpool_proto_rawDescGZIP() []byte { 1038 file_txpool_txpool_proto_rawDescOnce.Do(func() { 1039 file_txpool_txpool_proto_rawDescData = protoimpl.X.CompressGZIP(file_txpool_txpool_proto_rawDescData) 1040 }) 1041 return file_txpool_txpool_proto_rawDescData 1042 } 1043 1044 var file_txpool_txpool_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1045 var file_txpool_txpool_proto_msgTypes = make([]protoimpl.MessageInfo, 16) 1046 var file_txpool_txpool_proto_goTypes = []interface{}{ 1047 (ImportResult)(0), // 0: txpool.ImportResult 1048 (AllReply_TxnType)(0), // 1: txpool.AllReply.TxnType 1049 (*TxHashes)(nil), // 2: txpool.TxHashes 1050 (*AddRequest)(nil), // 3: txpool.AddRequest 1051 (*AddReply)(nil), // 4: txpool.AddReply 1052 (*TransactionsRequest)(nil), // 5: txpool.TransactionsRequest 1053 (*TransactionsReply)(nil), // 6: txpool.TransactionsReply 1054 (*OnAddRequest)(nil), // 7: txpool.OnAddRequest 1055 (*OnAddReply)(nil), // 8: txpool.OnAddReply 1056 (*AllRequest)(nil), // 9: txpool.AllRequest 1057 (*AllReply)(nil), // 10: txpool.AllReply 1058 (*PendingReply)(nil), // 11: txpool.PendingReply 1059 (*StatusRequest)(nil), // 12: txpool.StatusRequest 1060 (*StatusReply)(nil), // 13: txpool.StatusReply 1061 (*NonceRequest)(nil), // 14: txpool.NonceRequest 1062 (*NonceReply)(nil), // 15: txpool.NonceReply 1063 (*AllReply_Tx)(nil), // 16: txpool.AllReply.Tx 1064 (*PendingReply_Tx)(nil), // 17: txpool.PendingReply.Tx 1065 (*types.H256)(nil), // 18: types.H256 1066 (*types.H160)(nil), // 19: types.H160 1067 (*emptypb.Empty)(nil), // 20: google.protobuf.Empty 1068 (*types.VersionReply)(nil), // 21: types.VersionReply 1069 } 1070 var file_txpool_txpool_proto_depIdxs = []int32{ 1071 18, // 0: txpool.TxHashes.hashes:type_name -> types.H256 1072 0, // 1: txpool.AddReply.imported:type_name -> txpool.ImportResult 1073 18, // 2: txpool.TransactionsRequest.hashes:type_name -> types.H256 1074 16, // 3: txpool.AllReply.txs:type_name -> txpool.AllReply.Tx 1075 17, // 4: txpool.PendingReply.txs:type_name -> txpool.PendingReply.Tx 1076 19, // 5: txpool.NonceRequest.address:type_name -> types.H160 1077 1, // 6: txpool.AllReply.Tx.txn_type:type_name -> txpool.AllReply.TxnType 1078 19, // 7: txpool.AllReply.Tx.sender:type_name -> types.H160 1079 19, // 8: txpool.PendingReply.Tx.sender:type_name -> types.H160 1080 20, // 9: txpool.Txpool.Version:input_type -> google.protobuf.Empty 1081 2, // 10: txpool.Txpool.FindUnknown:input_type -> txpool.TxHashes 1082 3, // 11: txpool.Txpool.Add:input_type -> txpool.AddRequest 1083 5, // 12: txpool.Txpool.Transactions:input_type -> txpool.TransactionsRequest 1084 9, // 13: txpool.Txpool.All:input_type -> txpool.AllRequest 1085 20, // 14: txpool.Txpool.Pending:input_type -> google.protobuf.Empty 1086 7, // 15: txpool.Txpool.OnAdd:input_type -> txpool.OnAddRequest 1087 12, // 16: txpool.Txpool.Status:input_type -> txpool.StatusRequest 1088 14, // 17: txpool.Txpool.Nonce:input_type -> txpool.NonceRequest 1089 21, // 18: txpool.Txpool.Version:output_type -> types.VersionReply 1090 2, // 19: txpool.Txpool.FindUnknown:output_type -> txpool.TxHashes 1091 4, // 20: txpool.Txpool.Add:output_type -> txpool.AddReply 1092 6, // 21: txpool.Txpool.Transactions:output_type -> txpool.TransactionsReply 1093 10, // 22: txpool.Txpool.All:output_type -> txpool.AllReply 1094 11, // 23: txpool.Txpool.Pending:output_type -> txpool.PendingReply 1095 8, // 24: txpool.Txpool.OnAdd:output_type -> txpool.OnAddReply 1096 13, // 25: txpool.Txpool.Status:output_type -> txpool.StatusReply 1097 15, // 26: txpool.Txpool.Nonce:output_type -> txpool.NonceReply 1098 18, // [18:27] is the sub-list for method output_type 1099 9, // [9:18] is the sub-list for method input_type 1100 9, // [9:9] is the sub-list for extension type_name 1101 9, // [9:9] is the sub-list for extension extendee 1102 0, // [0:9] is the sub-list for field type_name 1103 } 1104 1105 func init() { file_txpool_txpool_proto_init() } 1106 func file_txpool_txpool_proto_init() { 1107 if File_txpool_txpool_proto != nil { 1108 return 1109 } 1110 if !protoimpl.UnsafeEnabled { 1111 file_txpool_txpool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1112 switch v := v.(*TxHashes); i { 1113 case 0: 1114 return &v.state 1115 case 1: 1116 return &v.sizeCache 1117 case 2: 1118 return &v.unknownFields 1119 default: 1120 return nil 1121 } 1122 } 1123 file_txpool_txpool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1124 switch v := v.(*AddRequest); i { 1125 case 0: 1126 return &v.state 1127 case 1: 1128 return &v.sizeCache 1129 case 2: 1130 return &v.unknownFields 1131 default: 1132 return nil 1133 } 1134 } 1135 file_txpool_txpool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1136 switch v := v.(*AddReply); i { 1137 case 0: 1138 return &v.state 1139 case 1: 1140 return &v.sizeCache 1141 case 2: 1142 return &v.unknownFields 1143 default: 1144 return nil 1145 } 1146 } 1147 file_txpool_txpool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1148 switch v := v.(*TransactionsRequest); i { 1149 case 0: 1150 return &v.state 1151 case 1: 1152 return &v.sizeCache 1153 case 2: 1154 return &v.unknownFields 1155 default: 1156 return nil 1157 } 1158 } 1159 file_txpool_txpool_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1160 switch v := v.(*TransactionsReply); i { 1161 case 0: 1162 return &v.state 1163 case 1: 1164 return &v.sizeCache 1165 case 2: 1166 return &v.unknownFields 1167 default: 1168 return nil 1169 } 1170 } 1171 file_txpool_txpool_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1172 switch v := v.(*OnAddRequest); i { 1173 case 0: 1174 return &v.state 1175 case 1: 1176 return &v.sizeCache 1177 case 2: 1178 return &v.unknownFields 1179 default: 1180 return nil 1181 } 1182 } 1183 file_txpool_txpool_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1184 switch v := v.(*OnAddReply); i { 1185 case 0: 1186 return &v.state 1187 case 1: 1188 return &v.sizeCache 1189 case 2: 1190 return &v.unknownFields 1191 default: 1192 return nil 1193 } 1194 } 1195 file_txpool_txpool_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1196 switch v := v.(*AllRequest); i { 1197 case 0: 1198 return &v.state 1199 case 1: 1200 return &v.sizeCache 1201 case 2: 1202 return &v.unknownFields 1203 default: 1204 return nil 1205 } 1206 } 1207 file_txpool_txpool_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1208 switch v := v.(*AllReply); i { 1209 case 0: 1210 return &v.state 1211 case 1: 1212 return &v.sizeCache 1213 case 2: 1214 return &v.unknownFields 1215 default: 1216 return nil 1217 } 1218 } 1219 file_txpool_txpool_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1220 switch v := v.(*PendingReply); i { 1221 case 0: 1222 return &v.state 1223 case 1: 1224 return &v.sizeCache 1225 case 2: 1226 return &v.unknownFields 1227 default: 1228 return nil 1229 } 1230 } 1231 file_txpool_txpool_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1232 switch v := v.(*StatusRequest); i { 1233 case 0: 1234 return &v.state 1235 case 1: 1236 return &v.sizeCache 1237 case 2: 1238 return &v.unknownFields 1239 default: 1240 return nil 1241 } 1242 } 1243 file_txpool_txpool_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1244 switch v := v.(*StatusReply); i { 1245 case 0: 1246 return &v.state 1247 case 1: 1248 return &v.sizeCache 1249 case 2: 1250 return &v.unknownFields 1251 default: 1252 return nil 1253 } 1254 } 1255 file_txpool_txpool_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1256 switch v := v.(*NonceRequest); i { 1257 case 0: 1258 return &v.state 1259 case 1: 1260 return &v.sizeCache 1261 case 2: 1262 return &v.unknownFields 1263 default: 1264 return nil 1265 } 1266 } 1267 file_txpool_txpool_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1268 switch v := v.(*NonceReply); i { 1269 case 0: 1270 return &v.state 1271 case 1: 1272 return &v.sizeCache 1273 case 2: 1274 return &v.unknownFields 1275 default: 1276 return nil 1277 } 1278 } 1279 file_txpool_txpool_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1280 switch v := v.(*AllReply_Tx); i { 1281 case 0: 1282 return &v.state 1283 case 1: 1284 return &v.sizeCache 1285 case 2: 1286 return &v.unknownFields 1287 default: 1288 return nil 1289 } 1290 } 1291 file_txpool_txpool_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1292 switch v := v.(*PendingReply_Tx); i { 1293 case 0: 1294 return &v.state 1295 case 1: 1296 return &v.sizeCache 1297 case 2: 1298 return &v.unknownFields 1299 default: 1300 return nil 1301 } 1302 } 1303 } 1304 type x struct{} 1305 out := protoimpl.TypeBuilder{ 1306 File: protoimpl.DescBuilder{ 1307 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1308 RawDescriptor: file_txpool_txpool_proto_rawDesc, 1309 NumEnums: 2, 1310 NumMessages: 16, 1311 NumExtensions: 0, 1312 NumServices: 1, 1313 }, 1314 GoTypes: file_txpool_txpool_proto_goTypes, 1315 DependencyIndexes: file_txpool_txpool_proto_depIdxs, 1316 EnumInfos: file_txpool_txpool_proto_enumTypes, 1317 MessageInfos: file_txpool_txpool_proto_msgTypes, 1318 }.Build() 1319 File_txpool_txpool_proto = out.File 1320 file_txpool_txpool_proto_rawDesc = nil 1321 file_txpool_txpool_proto_goTypes = nil 1322 file_txpool_txpool_proto_depIdxs = nil 1323 }