github.com/ledgerwatch/erigon-lib@v1.0.0/gointerfaces/txpool/mining.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/mining.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 OnPendingBlockRequest struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  }
    30  
    31  func (x *OnPendingBlockRequest) Reset() {
    32  	*x = OnPendingBlockRequest{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_txpool_mining_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *OnPendingBlockRequest) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*OnPendingBlockRequest) ProtoMessage() {}
    45  
    46  func (x *OnPendingBlockRequest) ProtoReflect() protoreflect.Message {
    47  	mi := &file_txpool_mining_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use OnPendingBlockRequest.ProtoReflect.Descriptor instead.
    59  func (*OnPendingBlockRequest) Descriptor() ([]byte, []int) {
    60  	return file_txpool_mining_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  type OnPendingBlockReply struct {
    64  	state         protoimpl.MessageState
    65  	sizeCache     protoimpl.SizeCache
    66  	unknownFields protoimpl.UnknownFields
    67  
    68  	RplBlock []byte `protobuf:"bytes,1,opt,name=rpl_block,json=rplBlock,proto3" json:"rpl_block,omitempty"`
    69  }
    70  
    71  func (x *OnPendingBlockReply) Reset() {
    72  	*x = OnPendingBlockReply{}
    73  	if protoimpl.UnsafeEnabled {
    74  		mi := &file_txpool_mining_proto_msgTypes[1]
    75  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    76  		ms.StoreMessageInfo(mi)
    77  	}
    78  }
    79  
    80  func (x *OnPendingBlockReply) String() string {
    81  	return protoimpl.X.MessageStringOf(x)
    82  }
    83  
    84  func (*OnPendingBlockReply) ProtoMessage() {}
    85  
    86  func (x *OnPendingBlockReply) ProtoReflect() protoreflect.Message {
    87  	mi := &file_txpool_mining_proto_msgTypes[1]
    88  	if protoimpl.UnsafeEnabled && x != nil {
    89  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    90  		if ms.LoadMessageInfo() == nil {
    91  			ms.StoreMessageInfo(mi)
    92  		}
    93  		return ms
    94  	}
    95  	return mi.MessageOf(x)
    96  }
    97  
    98  // Deprecated: Use OnPendingBlockReply.ProtoReflect.Descriptor instead.
    99  func (*OnPendingBlockReply) Descriptor() ([]byte, []int) {
   100  	return file_txpool_mining_proto_rawDescGZIP(), []int{1}
   101  }
   102  
   103  func (x *OnPendingBlockReply) GetRplBlock() []byte {
   104  	if x != nil {
   105  		return x.RplBlock
   106  	}
   107  	return nil
   108  }
   109  
   110  type OnMinedBlockRequest struct {
   111  	state         protoimpl.MessageState
   112  	sizeCache     protoimpl.SizeCache
   113  	unknownFields protoimpl.UnknownFields
   114  }
   115  
   116  func (x *OnMinedBlockRequest) Reset() {
   117  	*x = OnMinedBlockRequest{}
   118  	if protoimpl.UnsafeEnabled {
   119  		mi := &file_txpool_mining_proto_msgTypes[2]
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		ms.StoreMessageInfo(mi)
   122  	}
   123  }
   124  
   125  func (x *OnMinedBlockRequest) String() string {
   126  	return protoimpl.X.MessageStringOf(x)
   127  }
   128  
   129  func (*OnMinedBlockRequest) ProtoMessage() {}
   130  
   131  func (x *OnMinedBlockRequest) ProtoReflect() protoreflect.Message {
   132  	mi := &file_txpool_mining_proto_msgTypes[2]
   133  	if protoimpl.UnsafeEnabled && x != nil {
   134  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   135  		if ms.LoadMessageInfo() == nil {
   136  			ms.StoreMessageInfo(mi)
   137  		}
   138  		return ms
   139  	}
   140  	return mi.MessageOf(x)
   141  }
   142  
   143  // Deprecated: Use OnMinedBlockRequest.ProtoReflect.Descriptor instead.
   144  func (*OnMinedBlockRequest) Descriptor() ([]byte, []int) {
   145  	return file_txpool_mining_proto_rawDescGZIP(), []int{2}
   146  }
   147  
   148  type OnMinedBlockReply struct {
   149  	state         protoimpl.MessageState
   150  	sizeCache     protoimpl.SizeCache
   151  	unknownFields protoimpl.UnknownFields
   152  
   153  	RplBlock []byte `protobuf:"bytes,1,opt,name=rpl_block,json=rplBlock,proto3" json:"rpl_block,omitempty"`
   154  }
   155  
   156  func (x *OnMinedBlockReply) Reset() {
   157  	*x = OnMinedBlockReply{}
   158  	if protoimpl.UnsafeEnabled {
   159  		mi := &file_txpool_mining_proto_msgTypes[3]
   160  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   161  		ms.StoreMessageInfo(mi)
   162  	}
   163  }
   164  
   165  func (x *OnMinedBlockReply) String() string {
   166  	return protoimpl.X.MessageStringOf(x)
   167  }
   168  
   169  func (*OnMinedBlockReply) ProtoMessage() {}
   170  
   171  func (x *OnMinedBlockReply) ProtoReflect() protoreflect.Message {
   172  	mi := &file_txpool_mining_proto_msgTypes[3]
   173  	if protoimpl.UnsafeEnabled && x != nil {
   174  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   175  		if ms.LoadMessageInfo() == nil {
   176  			ms.StoreMessageInfo(mi)
   177  		}
   178  		return ms
   179  	}
   180  	return mi.MessageOf(x)
   181  }
   182  
   183  // Deprecated: Use OnMinedBlockReply.ProtoReflect.Descriptor instead.
   184  func (*OnMinedBlockReply) Descriptor() ([]byte, []int) {
   185  	return file_txpool_mining_proto_rawDescGZIP(), []int{3}
   186  }
   187  
   188  func (x *OnMinedBlockReply) GetRplBlock() []byte {
   189  	if x != nil {
   190  		return x.RplBlock
   191  	}
   192  	return nil
   193  }
   194  
   195  type OnPendingLogsRequest struct {
   196  	state         protoimpl.MessageState
   197  	sizeCache     protoimpl.SizeCache
   198  	unknownFields protoimpl.UnknownFields
   199  }
   200  
   201  func (x *OnPendingLogsRequest) Reset() {
   202  	*x = OnPendingLogsRequest{}
   203  	if protoimpl.UnsafeEnabled {
   204  		mi := &file_txpool_mining_proto_msgTypes[4]
   205  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   206  		ms.StoreMessageInfo(mi)
   207  	}
   208  }
   209  
   210  func (x *OnPendingLogsRequest) String() string {
   211  	return protoimpl.X.MessageStringOf(x)
   212  }
   213  
   214  func (*OnPendingLogsRequest) ProtoMessage() {}
   215  
   216  func (x *OnPendingLogsRequest) ProtoReflect() protoreflect.Message {
   217  	mi := &file_txpool_mining_proto_msgTypes[4]
   218  	if protoimpl.UnsafeEnabled && x != nil {
   219  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  		if ms.LoadMessageInfo() == nil {
   221  			ms.StoreMessageInfo(mi)
   222  		}
   223  		return ms
   224  	}
   225  	return mi.MessageOf(x)
   226  }
   227  
   228  // Deprecated: Use OnPendingLogsRequest.ProtoReflect.Descriptor instead.
   229  func (*OnPendingLogsRequest) Descriptor() ([]byte, []int) {
   230  	return file_txpool_mining_proto_rawDescGZIP(), []int{4}
   231  }
   232  
   233  type OnPendingLogsReply struct {
   234  	state         protoimpl.MessageState
   235  	sizeCache     protoimpl.SizeCache
   236  	unknownFields protoimpl.UnknownFields
   237  
   238  	RplLogs []byte `protobuf:"bytes,1,opt,name=rpl_logs,json=rplLogs,proto3" json:"rpl_logs,omitempty"`
   239  }
   240  
   241  func (x *OnPendingLogsReply) Reset() {
   242  	*x = OnPendingLogsReply{}
   243  	if protoimpl.UnsafeEnabled {
   244  		mi := &file_txpool_mining_proto_msgTypes[5]
   245  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   246  		ms.StoreMessageInfo(mi)
   247  	}
   248  }
   249  
   250  func (x *OnPendingLogsReply) String() string {
   251  	return protoimpl.X.MessageStringOf(x)
   252  }
   253  
   254  func (*OnPendingLogsReply) ProtoMessage() {}
   255  
   256  func (x *OnPendingLogsReply) ProtoReflect() protoreflect.Message {
   257  	mi := &file_txpool_mining_proto_msgTypes[5]
   258  	if protoimpl.UnsafeEnabled && x != nil {
   259  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   260  		if ms.LoadMessageInfo() == nil {
   261  			ms.StoreMessageInfo(mi)
   262  		}
   263  		return ms
   264  	}
   265  	return mi.MessageOf(x)
   266  }
   267  
   268  // Deprecated: Use OnPendingLogsReply.ProtoReflect.Descriptor instead.
   269  func (*OnPendingLogsReply) Descriptor() ([]byte, []int) {
   270  	return file_txpool_mining_proto_rawDescGZIP(), []int{5}
   271  }
   272  
   273  func (x *OnPendingLogsReply) GetRplLogs() []byte {
   274  	if x != nil {
   275  		return x.RplLogs
   276  	}
   277  	return nil
   278  }
   279  
   280  type GetWorkRequest struct {
   281  	state         protoimpl.MessageState
   282  	sizeCache     protoimpl.SizeCache
   283  	unknownFields protoimpl.UnknownFields
   284  }
   285  
   286  func (x *GetWorkRequest) Reset() {
   287  	*x = GetWorkRequest{}
   288  	if protoimpl.UnsafeEnabled {
   289  		mi := &file_txpool_mining_proto_msgTypes[6]
   290  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   291  		ms.StoreMessageInfo(mi)
   292  	}
   293  }
   294  
   295  func (x *GetWorkRequest) String() string {
   296  	return protoimpl.X.MessageStringOf(x)
   297  }
   298  
   299  func (*GetWorkRequest) ProtoMessage() {}
   300  
   301  func (x *GetWorkRequest) ProtoReflect() protoreflect.Message {
   302  	mi := &file_txpool_mining_proto_msgTypes[6]
   303  	if protoimpl.UnsafeEnabled && x != nil {
   304  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   305  		if ms.LoadMessageInfo() == nil {
   306  			ms.StoreMessageInfo(mi)
   307  		}
   308  		return ms
   309  	}
   310  	return mi.MessageOf(x)
   311  }
   312  
   313  // Deprecated: Use GetWorkRequest.ProtoReflect.Descriptor instead.
   314  func (*GetWorkRequest) Descriptor() ([]byte, []int) {
   315  	return file_txpool_mining_proto_rawDescGZIP(), []int{6}
   316  }
   317  
   318  type GetWorkReply struct {
   319  	state         protoimpl.MessageState
   320  	sizeCache     protoimpl.SizeCache
   321  	unknownFields protoimpl.UnknownFields
   322  
   323  	HeaderHash  string `protobuf:"bytes,1,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`    // 32 bytes hex encoded current block header pow-hash
   324  	SeedHash    string `protobuf:"bytes,2,opt,name=seed_hash,json=seedHash,proto3" json:"seed_hash,omitempty"`          // 32 bytes hex encoded seed hash used for DAG
   325  	Target      string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`                              // 32 bytes hex encoded boundary condition ("target"), 2^256/difficulty
   326  	BlockNumber string `protobuf:"bytes,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // hex encoded block number
   327  }
   328  
   329  func (x *GetWorkReply) Reset() {
   330  	*x = GetWorkReply{}
   331  	if protoimpl.UnsafeEnabled {
   332  		mi := &file_txpool_mining_proto_msgTypes[7]
   333  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   334  		ms.StoreMessageInfo(mi)
   335  	}
   336  }
   337  
   338  func (x *GetWorkReply) String() string {
   339  	return protoimpl.X.MessageStringOf(x)
   340  }
   341  
   342  func (*GetWorkReply) ProtoMessage() {}
   343  
   344  func (x *GetWorkReply) ProtoReflect() protoreflect.Message {
   345  	mi := &file_txpool_mining_proto_msgTypes[7]
   346  	if protoimpl.UnsafeEnabled && x != nil {
   347  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   348  		if ms.LoadMessageInfo() == nil {
   349  			ms.StoreMessageInfo(mi)
   350  		}
   351  		return ms
   352  	}
   353  	return mi.MessageOf(x)
   354  }
   355  
   356  // Deprecated: Use GetWorkReply.ProtoReflect.Descriptor instead.
   357  func (*GetWorkReply) Descriptor() ([]byte, []int) {
   358  	return file_txpool_mining_proto_rawDescGZIP(), []int{7}
   359  }
   360  
   361  func (x *GetWorkReply) GetHeaderHash() string {
   362  	if x != nil {
   363  		return x.HeaderHash
   364  	}
   365  	return ""
   366  }
   367  
   368  func (x *GetWorkReply) GetSeedHash() string {
   369  	if x != nil {
   370  		return x.SeedHash
   371  	}
   372  	return ""
   373  }
   374  
   375  func (x *GetWorkReply) GetTarget() string {
   376  	if x != nil {
   377  		return x.Target
   378  	}
   379  	return ""
   380  }
   381  
   382  func (x *GetWorkReply) GetBlockNumber() string {
   383  	if x != nil {
   384  		return x.BlockNumber
   385  	}
   386  	return ""
   387  }
   388  
   389  type SubmitWorkRequest struct {
   390  	state         protoimpl.MessageState
   391  	sizeCache     protoimpl.SizeCache
   392  	unknownFields protoimpl.UnknownFields
   393  
   394  	BlockNonce []byte `protobuf:"bytes,1,opt,name=block_nonce,json=blockNonce,proto3" json:"block_nonce,omitempty"`
   395  	PowHash    []byte `protobuf:"bytes,2,opt,name=pow_hash,json=powHash,proto3" json:"pow_hash,omitempty"`
   396  	Digest     []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
   397  }
   398  
   399  func (x *SubmitWorkRequest) Reset() {
   400  	*x = SubmitWorkRequest{}
   401  	if protoimpl.UnsafeEnabled {
   402  		mi := &file_txpool_mining_proto_msgTypes[8]
   403  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   404  		ms.StoreMessageInfo(mi)
   405  	}
   406  }
   407  
   408  func (x *SubmitWorkRequest) String() string {
   409  	return protoimpl.X.MessageStringOf(x)
   410  }
   411  
   412  func (*SubmitWorkRequest) ProtoMessage() {}
   413  
   414  func (x *SubmitWorkRequest) ProtoReflect() protoreflect.Message {
   415  	mi := &file_txpool_mining_proto_msgTypes[8]
   416  	if protoimpl.UnsafeEnabled && x != nil {
   417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   418  		if ms.LoadMessageInfo() == nil {
   419  			ms.StoreMessageInfo(mi)
   420  		}
   421  		return ms
   422  	}
   423  	return mi.MessageOf(x)
   424  }
   425  
   426  // Deprecated: Use SubmitWorkRequest.ProtoReflect.Descriptor instead.
   427  func (*SubmitWorkRequest) Descriptor() ([]byte, []int) {
   428  	return file_txpool_mining_proto_rawDescGZIP(), []int{8}
   429  }
   430  
   431  func (x *SubmitWorkRequest) GetBlockNonce() []byte {
   432  	if x != nil {
   433  		return x.BlockNonce
   434  	}
   435  	return nil
   436  }
   437  
   438  func (x *SubmitWorkRequest) GetPowHash() []byte {
   439  	if x != nil {
   440  		return x.PowHash
   441  	}
   442  	return nil
   443  }
   444  
   445  func (x *SubmitWorkRequest) GetDigest() []byte {
   446  	if x != nil {
   447  		return x.Digest
   448  	}
   449  	return nil
   450  }
   451  
   452  type SubmitWorkReply struct {
   453  	state         protoimpl.MessageState
   454  	sizeCache     protoimpl.SizeCache
   455  	unknownFields protoimpl.UnknownFields
   456  
   457  	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
   458  }
   459  
   460  func (x *SubmitWorkReply) Reset() {
   461  	*x = SubmitWorkReply{}
   462  	if protoimpl.UnsafeEnabled {
   463  		mi := &file_txpool_mining_proto_msgTypes[9]
   464  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   465  		ms.StoreMessageInfo(mi)
   466  	}
   467  }
   468  
   469  func (x *SubmitWorkReply) String() string {
   470  	return protoimpl.X.MessageStringOf(x)
   471  }
   472  
   473  func (*SubmitWorkReply) ProtoMessage() {}
   474  
   475  func (x *SubmitWorkReply) ProtoReflect() protoreflect.Message {
   476  	mi := &file_txpool_mining_proto_msgTypes[9]
   477  	if protoimpl.UnsafeEnabled && x != nil {
   478  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   479  		if ms.LoadMessageInfo() == nil {
   480  			ms.StoreMessageInfo(mi)
   481  		}
   482  		return ms
   483  	}
   484  	return mi.MessageOf(x)
   485  }
   486  
   487  // Deprecated: Use SubmitWorkReply.ProtoReflect.Descriptor instead.
   488  func (*SubmitWorkReply) Descriptor() ([]byte, []int) {
   489  	return file_txpool_mining_proto_rawDescGZIP(), []int{9}
   490  }
   491  
   492  func (x *SubmitWorkReply) GetOk() bool {
   493  	if x != nil {
   494  		return x.Ok
   495  	}
   496  	return false
   497  }
   498  
   499  type SubmitHashRateRequest struct {
   500  	state         protoimpl.MessageState
   501  	sizeCache     protoimpl.SizeCache
   502  	unknownFields protoimpl.UnknownFields
   503  
   504  	Rate uint64 `protobuf:"varint,1,opt,name=rate,proto3" json:"rate,omitempty"`
   505  	Id   []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
   506  }
   507  
   508  func (x *SubmitHashRateRequest) Reset() {
   509  	*x = SubmitHashRateRequest{}
   510  	if protoimpl.UnsafeEnabled {
   511  		mi := &file_txpool_mining_proto_msgTypes[10]
   512  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   513  		ms.StoreMessageInfo(mi)
   514  	}
   515  }
   516  
   517  func (x *SubmitHashRateRequest) String() string {
   518  	return protoimpl.X.MessageStringOf(x)
   519  }
   520  
   521  func (*SubmitHashRateRequest) ProtoMessage() {}
   522  
   523  func (x *SubmitHashRateRequest) ProtoReflect() protoreflect.Message {
   524  	mi := &file_txpool_mining_proto_msgTypes[10]
   525  	if protoimpl.UnsafeEnabled && x != nil {
   526  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   527  		if ms.LoadMessageInfo() == nil {
   528  			ms.StoreMessageInfo(mi)
   529  		}
   530  		return ms
   531  	}
   532  	return mi.MessageOf(x)
   533  }
   534  
   535  // Deprecated: Use SubmitHashRateRequest.ProtoReflect.Descriptor instead.
   536  func (*SubmitHashRateRequest) Descriptor() ([]byte, []int) {
   537  	return file_txpool_mining_proto_rawDescGZIP(), []int{10}
   538  }
   539  
   540  func (x *SubmitHashRateRequest) GetRate() uint64 {
   541  	if x != nil {
   542  		return x.Rate
   543  	}
   544  	return 0
   545  }
   546  
   547  func (x *SubmitHashRateRequest) GetId() []byte {
   548  	if x != nil {
   549  		return x.Id
   550  	}
   551  	return nil
   552  }
   553  
   554  type SubmitHashRateReply struct {
   555  	state         protoimpl.MessageState
   556  	sizeCache     protoimpl.SizeCache
   557  	unknownFields protoimpl.UnknownFields
   558  
   559  	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
   560  }
   561  
   562  func (x *SubmitHashRateReply) Reset() {
   563  	*x = SubmitHashRateReply{}
   564  	if protoimpl.UnsafeEnabled {
   565  		mi := &file_txpool_mining_proto_msgTypes[11]
   566  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   567  		ms.StoreMessageInfo(mi)
   568  	}
   569  }
   570  
   571  func (x *SubmitHashRateReply) String() string {
   572  	return protoimpl.X.MessageStringOf(x)
   573  }
   574  
   575  func (*SubmitHashRateReply) ProtoMessage() {}
   576  
   577  func (x *SubmitHashRateReply) ProtoReflect() protoreflect.Message {
   578  	mi := &file_txpool_mining_proto_msgTypes[11]
   579  	if protoimpl.UnsafeEnabled && x != nil {
   580  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   581  		if ms.LoadMessageInfo() == nil {
   582  			ms.StoreMessageInfo(mi)
   583  		}
   584  		return ms
   585  	}
   586  	return mi.MessageOf(x)
   587  }
   588  
   589  // Deprecated: Use SubmitHashRateReply.ProtoReflect.Descriptor instead.
   590  func (*SubmitHashRateReply) Descriptor() ([]byte, []int) {
   591  	return file_txpool_mining_proto_rawDescGZIP(), []int{11}
   592  }
   593  
   594  func (x *SubmitHashRateReply) GetOk() bool {
   595  	if x != nil {
   596  		return x.Ok
   597  	}
   598  	return false
   599  }
   600  
   601  type HashRateRequest struct {
   602  	state         protoimpl.MessageState
   603  	sizeCache     protoimpl.SizeCache
   604  	unknownFields protoimpl.UnknownFields
   605  }
   606  
   607  func (x *HashRateRequest) Reset() {
   608  	*x = HashRateRequest{}
   609  	if protoimpl.UnsafeEnabled {
   610  		mi := &file_txpool_mining_proto_msgTypes[12]
   611  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   612  		ms.StoreMessageInfo(mi)
   613  	}
   614  }
   615  
   616  func (x *HashRateRequest) String() string {
   617  	return protoimpl.X.MessageStringOf(x)
   618  }
   619  
   620  func (*HashRateRequest) ProtoMessage() {}
   621  
   622  func (x *HashRateRequest) ProtoReflect() protoreflect.Message {
   623  	mi := &file_txpool_mining_proto_msgTypes[12]
   624  	if protoimpl.UnsafeEnabled && x != nil {
   625  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   626  		if ms.LoadMessageInfo() == nil {
   627  			ms.StoreMessageInfo(mi)
   628  		}
   629  		return ms
   630  	}
   631  	return mi.MessageOf(x)
   632  }
   633  
   634  // Deprecated: Use HashRateRequest.ProtoReflect.Descriptor instead.
   635  func (*HashRateRequest) Descriptor() ([]byte, []int) {
   636  	return file_txpool_mining_proto_rawDescGZIP(), []int{12}
   637  }
   638  
   639  type HashRateReply struct {
   640  	state         protoimpl.MessageState
   641  	sizeCache     protoimpl.SizeCache
   642  	unknownFields protoimpl.UnknownFields
   643  
   644  	HashRate uint64 `protobuf:"varint,1,opt,name=hash_rate,json=hashRate,proto3" json:"hash_rate,omitempty"`
   645  }
   646  
   647  func (x *HashRateReply) Reset() {
   648  	*x = HashRateReply{}
   649  	if protoimpl.UnsafeEnabled {
   650  		mi := &file_txpool_mining_proto_msgTypes[13]
   651  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   652  		ms.StoreMessageInfo(mi)
   653  	}
   654  }
   655  
   656  func (x *HashRateReply) String() string {
   657  	return protoimpl.X.MessageStringOf(x)
   658  }
   659  
   660  func (*HashRateReply) ProtoMessage() {}
   661  
   662  func (x *HashRateReply) ProtoReflect() protoreflect.Message {
   663  	mi := &file_txpool_mining_proto_msgTypes[13]
   664  	if protoimpl.UnsafeEnabled && x != nil {
   665  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   666  		if ms.LoadMessageInfo() == nil {
   667  			ms.StoreMessageInfo(mi)
   668  		}
   669  		return ms
   670  	}
   671  	return mi.MessageOf(x)
   672  }
   673  
   674  // Deprecated: Use HashRateReply.ProtoReflect.Descriptor instead.
   675  func (*HashRateReply) Descriptor() ([]byte, []int) {
   676  	return file_txpool_mining_proto_rawDescGZIP(), []int{13}
   677  }
   678  
   679  func (x *HashRateReply) GetHashRate() uint64 {
   680  	if x != nil {
   681  		return x.HashRate
   682  	}
   683  	return 0
   684  }
   685  
   686  type MiningRequest struct {
   687  	state         protoimpl.MessageState
   688  	sizeCache     protoimpl.SizeCache
   689  	unknownFields protoimpl.UnknownFields
   690  }
   691  
   692  func (x *MiningRequest) Reset() {
   693  	*x = MiningRequest{}
   694  	if protoimpl.UnsafeEnabled {
   695  		mi := &file_txpool_mining_proto_msgTypes[14]
   696  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   697  		ms.StoreMessageInfo(mi)
   698  	}
   699  }
   700  
   701  func (x *MiningRequest) String() string {
   702  	return protoimpl.X.MessageStringOf(x)
   703  }
   704  
   705  func (*MiningRequest) ProtoMessage() {}
   706  
   707  func (x *MiningRequest) ProtoReflect() protoreflect.Message {
   708  	mi := &file_txpool_mining_proto_msgTypes[14]
   709  	if protoimpl.UnsafeEnabled && x != nil {
   710  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   711  		if ms.LoadMessageInfo() == nil {
   712  			ms.StoreMessageInfo(mi)
   713  		}
   714  		return ms
   715  	}
   716  	return mi.MessageOf(x)
   717  }
   718  
   719  // Deprecated: Use MiningRequest.ProtoReflect.Descriptor instead.
   720  func (*MiningRequest) Descriptor() ([]byte, []int) {
   721  	return file_txpool_mining_proto_rawDescGZIP(), []int{14}
   722  }
   723  
   724  type MiningReply struct {
   725  	state         protoimpl.MessageState
   726  	sizeCache     protoimpl.SizeCache
   727  	unknownFields protoimpl.UnknownFields
   728  
   729  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   730  	Running bool `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"`
   731  }
   732  
   733  func (x *MiningReply) Reset() {
   734  	*x = MiningReply{}
   735  	if protoimpl.UnsafeEnabled {
   736  		mi := &file_txpool_mining_proto_msgTypes[15]
   737  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   738  		ms.StoreMessageInfo(mi)
   739  	}
   740  }
   741  
   742  func (x *MiningReply) String() string {
   743  	return protoimpl.X.MessageStringOf(x)
   744  }
   745  
   746  func (*MiningReply) ProtoMessage() {}
   747  
   748  func (x *MiningReply) ProtoReflect() protoreflect.Message {
   749  	mi := &file_txpool_mining_proto_msgTypes[15]
   750  	if protoimpl.UnsafeEnabled && x != nil {
   751  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   752  		if ms.LoadMessageInfo() == nil {
   753  			ms.StoreMessageInfo(mi)
   754  		}
   755  		return ms
   756  	}
   757  	return mi.MessageOf(x)
   758  }
   759  
   760  // Deprecated: Use MiningReply.ProtoReflect.Descriptor instead.
   761  func (*MiningReply) Descriptor() ([]byte, []int) {
   762  	return file_txpool_mining_proto_rawDescGZIP(), []int{15}
   763  }
   764  
   765  func (x *MiningReply) GetEnabled() bool {
   766  	if x != nil {
   767  		return x.Enabled
   768  	}
   769  	return false
   770  }
   771  
   772  func (x *MiningReply) GetRunning() bool {
   773  	if x != nil {
   774  		return x.Running
   775  	}
   776  	return false
   777  }
   778  
   779  var File_txpool_mining_proto protoreflect.FileDescriptor
   780  
   781  var file_txpool_mining_proto_rawDesc = []byte{
   782  	0x0a, 0x13, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x6d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
   783  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x1a, 0x1b, 0x67,
   784  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
   785  	0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 0x79, 0x70, 0x65,
   786  	0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a,
   787  	0x15, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52,
   788  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x32, 0x0a, 0x13, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64,
   789  	0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1b, 0x0a,
   790  	0x09, 0x72, 0x70, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
   791  	0x52, 0x08, 0x72, 0x70, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x15, 0x0a, 0x13, 0x4f, 0x6e,
   792  	0x4d, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   793  	0x74, 0x22, 0x30, 0x0a, 0x11, 0x4f, 0x6e, 0x4d, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63,
   794  	0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x6c, 0x5f, 0x62, 0x6c,
   795  	0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x6c, 0x42, 0x6c,
   796  	0x6f, 0x63, 0x6b, 0x22, 0x16, 0x0a, 0x14, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   797  	0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2f, 0x0a, 0x12, 0x4f,
   798  	0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x70, 0x6c,
   799  	0x79, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x6c, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20,
   800  	0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x70, 0x6c, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e,
   801  	0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87,
   802  	0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
   803  	0x1f, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01,
   804  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68,
   805  	0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20,
   806  	0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x65, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a,
   807  	0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,
   808  	0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e,
   809  	0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f,
   810  	0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x67, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d,
   811  	0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
   812  	0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
   813  	0x28, 0x0c, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x19,
   814  	0x0a, 0x08, 0x70, 0x6f, 0x77, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
   815  	0x52, 0x07, 0x70, 0x6f, 0x77, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67,
   816  	0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73,
   817  	0x74, 0x22, 0x21, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52,
   818  	0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
   819  	0x52, 0x02, 0x6f, 0x6b, 0x22, 0x3b, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x48, 0x61,
   820  	0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
   821  	0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x72, 0x61, 0x74,
   822  	0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69,
   823  	0x64, 0x22, 0x25, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x52,
   824  	0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01,
   825  	0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x22, 0x11, 0x0a, 0x0f, 0x48, 0x61, 0x73, 0x68,
   826  	0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2c, 0x0a, 0x0d, 0x48,
   827  	0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09,
   828  	0x68, 0x61, 0x73, 0x68, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
   829  	0x08, 0x68, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x4d, 0x69, 0x6e,
   830  	0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x0b, 0x4d, 0x69,
   831  	0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61,
   832  	0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
   833  	0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x02,
   834  	0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x32, 0xe2, 0x04,
   835  	0x0a, 0x06, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73,
   836  	0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   837  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x74, 0x79,
   838  	0x70, 0x65, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
   839  	0x12, 0x4e, 0x0a, 0x0e, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f,
   840  	0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x50, 0x65,
   841  	0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   842  	0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x50, 0x65, 0x6e,
   843  	0x64, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x30, 0x01,
   844  	0x12, 0x48, 0x0a, 0x0c, 0x4f, 0x6e, 0x4d, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
   845  	0x12, 0x1b, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x4d, 0x69, 0x6e, 0x65,
   846  	0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
   847  	0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x4d, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x6c,
   848  	0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0d, 0x4f, 0x6e,
   849  	0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1c, 0x2e, 0x74, 0x78,
   850  	0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x6f,
   851  	0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x74, 0x78, 0x70, 0x6f,
   852  	0x6f, 0x6c, 0x2e, 0x4f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x67, 0x73,
   853  	0x52, 0x65, 0x70, 0x6c, 0x79, 0x30, 0x01, 0x12, 0x37, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x57, 0x6f,
   854  	0x72, 0x6b, 0x12, 0x16, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57,
   855  	0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x74, 0x78, 0x70,
   856  	0x6f, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79,
   857  	0x12, 0x40, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x19,
   858  	0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f,
   859  	0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x78, 0x70, 0x6f,
   860  	0x6f, 0x6c, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x70,
   861  	0x6c, 0x79, 0x12, 0x4c, 0x0a, 0x0e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68,
   862  	0x52, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x53, 0x75,
   863  	0x62, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
   864  	0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x53, 0x75, 0x62,
   865  	0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
   866  	0x12, 0x3a, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x74,
   867  	0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65,
   868  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x48,
   869  	0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x34, 0x0a, 0x06,
   870  	0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x2e, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e,
   871  	0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e,
   872  	0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70,
   873  	0x6c, 0x79, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x74, 0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x3b, 0x74,
   874  	0x78, 0x70, 0x6f, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   875  }
   876  
   877  var (
   878  	file_txpool_mining_proto_rawDescOnce sync.Once
   879  	file_txpool_mining_proto_rawDescData = file_txpool_mining_proto_rawDesc
   880  )
   881  
   882  func file_txpool_mining_proto_rawDescGZIP() []byte {
   883  	file_txpool_mining_proto_rawDescOnce.Do(func() {
   884  		file_txpool_mining_proto_rawDescData = protoimpl.X.CompressGZIP(file_txpool_mining_proto_rawDescData)
   885  	})
   886  	return file_txpool_mining_proto_rawDescData
   887  }
   888  
   889  var file_txpool_mining_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
   890  var file_txpool_mining_proto_goTypes = []interface{}{
   891  	(*OnPendingBlockRequest)(nil), // 0: txpool.OnPendingBlockRequest
   892  	(*OnPendingBlockReply)(nil),   // 1: txpool.OnPendingBlockReply
   893  	(*OnMinedBlockRequest)(nil),   // 2: txpool.OnMinedBlockRequest
   894  	(*OnMinedBlockReply)(nil),     // 3: txpool.OnMinedBlockReply
   895  	(*OnPendingLogsRequest)(nil),  // 4: txpool.OnPendingLogsRequest
   896  	(*OnPendingLogsReply)(nil),    // 5: txpool.OnPendingLogsReply
   897  	(*GetWorkRequest)(nil),        // 6: txpool.GetWorkRequest
   898  	(*GetWorkReply)(nil),          // 7: txpool.GetWorkReply
   899  	(*SubmitWorkRequest)(nil),     // 8: txpool.SubmitWorkRequest
   900  	(*SubmitWorkReply)(nil),       // 9: txpool.SubmitWorkReply
   901  	(*SubmitHashRateRequest)(nil), // 10: txpool.SubmitHashRateRequest
   902  	(*SubmitHashRateReply)(nil),   // 11: txpool.SubmitHashRateReply
   903  	(*HashRateRequest)(nil),       // 12: txpool.HashRateRequest
   904  	(*HashRateReply)(nil),         // 13: txpool.HashRateReply
   905  	(*MiningRequest)(nil),         // 14: txpool.MiningRequest
   906  	(*MiningReply)(nil),           // 15: txpool.MiningReply
   907  	(*emptypb.Empty)(nil),         // 16: google.protobuf.Empty
   908  	(*types.VersionReply)(nil),    // 17: types.VersionReply
   909  }
   910  var file_txpool_mining_proto_depIdxs = []int32{
   911  	16, // 0: txpool.Mining.Version:input_type -> google.protobuf.Empty
   912  	0,  // 1: txpool.Mining.OnPendingBlock:input_type -> txpool.OnPendingBlockRequest
   913  	2,  // 2: txpool.Mining.OnMinedBlock:input_type -> txpool.OnMinedBlockRequest
   914  	4,  // 3: txpool.Mining.OnPendingLogs:input_type -> txpool.OnPendingLogsRequest
   915  	6,  // 4: txpool.Mining.GetWork:input_type -> txpool.GetWorkRequest
   916  	8,  // 5: txpool.Mining.SubmitWork:input_type -> txpool.SubmitWorkRequest
   917  	10, // 6: txpool.Mining.SubmitHashRate:input_type -> txpool.SubmitHashRateRequest
   918  	12, // 7: txpool.Mining.HashRate:input_type -> txpool.HashRateRequest
   919  	14, // 8: txpool.Mining.Mining:input_type -> txpool.MiningRequest
   920  	17, // 9: txpool.Mining.Version:output_type -> types.VersionReply
   921  	1,  // 10: txpool.Mining.OnPendingBlock:output_type -> txpool.OnPendingBlockReply
   922  	3,  // 11: txpool.Mining.OnMinedBlock:output_type -> txpool.OnMinedBlockReply
   923  	5,  // 12: txpool.Mining.OnPendingLogs:output_type -> txpool.OnPendingLogsReply
   924  	7,  // 13: txpool.Mining.GetWork:output_type -> txpool.GetWorkReply
   925  	9,  // 14: txpool.Mining.SubmitWork:output_type -> txpool.SubmitWorkReply
   926  	11, // 15: txpool.Mining.SubmitHashRate:output_type -> txpool.SubmitHashRateReply
   927  	13, // 16: txpool.Mining.HashRate:output_type -> txpool.HashRateReply
   928  	15, // 17: txpool.Mining.Mining:output_type -> txpool.MiningReply
   929  	9,  // [9:18] is the sub-list for method output_type
   930  	0,  // [0:9] is the sub-list for method input_type
   931  	0,  // [0:0] is the sub-list for extension type_name
   932  	0,  // [0:0] is the sub-list for extension extendee
   933  	0,  // [0:0] is the sub-list for field type_name
   934  }
   935  
   936  func init() { file_txpool_mining_proto_init() }
   937  func file_txpool_mining_proto_init() {
   938  	if File_txpool_mining_proto != nil {
   939  		return
   940  	}
   941  	if !protoimpl.UnsafeEnabled {
   942  		file_txpool_mining_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   943  			switch v := v.(*OnPendingBlockRequest); i {
   944  			case 0:
   945  				return &v.state
   946  			case 1:
   947  				return &v.sizeCache
   948  			case 2:
   949  				return &v.unknownFields
   950  			default:
   951  				return nil
   952  			}
   953  		}
   954  		file_txpool_mining_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   955  			switch v := v.(*OnPendingBlockReply); i {
   956  			case 0:
   957  				return &v.state
   958  			case 1:
   959  				return &v.sizeCache
   960  			case 2:
   961  				return &v.unknownFields
   962  			default:
   963  				return nil
   964  			}
   965  		}
   966  		file_txpool_mining_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   967  			switch v := v.(*OnMinedBlockRequest); i {
   968  			case 0:
   969  				return &v.state
   970  			case 1:
   971  				return &v.sizeCache
   972  			case 2:
   973  				return &v.unknownFields
   974  			default:
   975  				return nil
   976  			}
   977  		}
   978  		file_txpool_mining_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   979  			switch v := v.(*OnMinedBlockReply); i {
   980  			case 0:
   981  				return &v.state
   982  			case 1:
   983  				return &v.sizeCache
   984  			case 2:
   985  				return &v.unknownFields
   986  			default:
   987  				return nil
   988  			}
   989  		}
   990  		file_txpool_mining_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   991  			switch v := v.(*OnPendingLogsRequest); i {
   992  			case 0:
   993  				return &v.state
   994  			case 1:
   995  				return &v.sizeCache
   996  			case 2:
   997  				return &v.unknownFields
   998  			default:
   999  				return nil
  1000  			}
  1001  		}
  1002  		file_txpool_mining_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1003  			switch v := v.(*OnPendingLogsReply); i {
  1004  			case 0:
  1005  				return &v.state
  1006  			case 1:
  1007  				return &v.sizeCache
  1008  			case 2:
  1009  				return &v.unknownFields
  1010  			default:
  1011  				return nil
  1012  			}
  1013  		}
  1014  		file_txpool_mining_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1015  			switch v := v.(*GetWorkRequest); i {
  1016  			case 0:
  1017  				return &v.state
  1018  			case 1:
  1019  				return &v.sizeCache
  1020  			case 2:
  1021  				return &v.unknownFields
  1022  			default:
  1023  				return nil
  1024  			}
  1025  		}
  1026  		file_txpool_mining_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1027  			switch v := v.(*GetWorkReply); i {
  1028  			case 0:
  1029  				return &v.state
  1030  			case 1:
  1031  				return &v.sizeCache
  1032  			case 2:
  1033  				return &v.unknownFields
  1034  			default:
  1035  				return nil
  1036  			}
  1037  		}
  1038  		file_txpool_mining_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1039  			switch v := v.(*SubmitWorkRequest); i {
  1040  			case 0:
  1041  				return &v.state
  1042  			case 1:
  1043  				return &v.sizeCache
  1044  			case 2:
  1045  				return &v.unknownFields
  1046  			default:
  1047  				return nil
  1048  			}
  1049  		}
  1050  		file_txpool_mining_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1051  			switch v := v.(*SubmitWorkReply); i {
  1052  			case 0:
  1053  				return &v.state
  1054  			case 1:
  1055  				return &v.sizeCache
  1056  			case 2:
  1057  				return &v.unknownFields
  1058  			default:
  1059  				return nil
  1060  			}
  1061  		}
  1062  		file_txpool_mining_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1063  			switch v := v.(*SubmitHashRateRequest); i {
  1064  			case 0:
  1065  				return &v.state
  1066  			case 1:
  1067  				return &v.sizeCache
  1068  			case 2:
  1069  				return &v.unknownFields
  1070  			default:
  1071  				return nil
  1072  			}
  1073  		}
  1074  		file_txpool_mining_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1075  			switch v := v.(*SubmitHashRateReply); i {
  1076  			case 0:
  1077  				return &v.state
  1078  			case 1:
  1079  				return &v.sizeCache
  1080  			case 2:
  1081  				return &v.unknownFields
  1082  			default:
  1083  				return nil
  1084  			}
  1085  		}
  1086  		file_txpool_mining_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1087  			switch v := v.(*HashRateRequest); i {
  1088  			case 0:
  1089  				return &v.state
  1090  			case 1:
  1091  				return &v.sizeCache
  1092  			case 2:
  1093  				return &v.unknownFields
  1094  			default:
  1095  				return nil
  1096  			}
  1097  		}
  1098  		file_txpool_mining_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1099  			switch v := v.(*HashRateReply); i {
  1100  			case 0:
  1101  				return &v.state
  1102  			case 1:
  1103  				return &v.sizeCache
  1104  			case 2:
  1105  				return &v.unknownFields
  1106  			default:
  1107  				return nil
  1108  			}
  1109  		}
  1110  		file_txpool_mining_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1111  			switch v := v.(*MiningRequest); i {
  1112  			case 0:
  1113  				return &v.state
  1114  			case 1:
  1115  				return &v.sizeCache
  1116  			case 2:
  1117  				return &v.unknownFields
  1118  			default:
  1119  				return nil
  1120  			}
  1121  		}
  1122  		file_txpool_mining_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1123  			switch v := v.(*MiningReply); i {
  1124  			case 0:
  1125  				return &v.state
  1126  			case 1:
  1127  				return &v.sizeCache
  1128  			case 2:
  1129  				return &v.unknownFields
  1130  			default:
  1131  				return nil
  1132  			}
  1133  		}
  1134  	}
  1135  	type x struct{}
  1136  	out := protoimpl.TypeBuilder{
  1137  		File: protoimpl.DescBuilder{
  1138  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1139  			RawDescriptor: file_txpool_mining_proto_rawDesc,
  1140  			NumEnums:      0,
  1141  			NumMessages:   16,
  1142  			NumExtensions: 0,
  1143  			NumServices:   1,
  1144  		},
  1145  		GoTypes:           file_txpool_mining_proto_goTypes,
  1146  		DependencyIndexes: file_txpool_mining_proto_depIdxs,
  1147  		MessageInfos:      file_txpool_mining_proto_msgTypes,
  1148  	}.Build()
  1149  	File_txpool_mining_proto = out.File
  1150  	file_txpool_mining_proto_rawDesc = nil
  1151  	file_txpool_mining_proto_goTypes = nil
  1152  	file_txpool_mining_proto_depIdxs = nil
  1153  }