github.com/ledgerwatch/erigon-lib@v1.0.0/gointerfaces/sentinel/sentinel.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: p2psentinel/sentinel.proto
     6  
     7  package sentinel
     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  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type GossipType int32
    25  
    26  const (
    27  	// Global gossip topics.
    28  	GossipType_BeaconBlockGossipType       GossipType = 0
    29  	GossipType_AggregateAndProofGossipType GossipType = 1
    30  	GossipType_VoluntaryExitGossipType     GossipType = 2
    31  	GossipType_ProposerSlashingGossipType  GossipType = 3
    32  	GossipType_AttesterSlashingGossipType  GossipType = 4
    33  	GossipType_BlobSidecarType             GossipType = 5
    34  )
    35  
    36  // Enum value maps for GossipType.
    37  var (
    38  	GossipType_name = map[int32]string{
    39  		0: "BeaconBlockGossipType",
    40  		1: "AggregateAndProofGossipType",
    41  		2: "VoluntaryExitGossipType",
    42  		3: "ProposerSlashingGossipType",
    43  		4: "AttesterSlashingGossipType",
    44  		5: "BlobSidecarType",
    45  	}
    46  	GossipType_value = map[string]int32{
    47  		"BeaconBlockGossipType":       0,
    48  		"AggregateAndProofGossipType": 1,
    49  		"VoluntaryExitGossipType":     2,
    50  		"ProposerSlashingGossipType":  3,
    51  		"AttesterSlashingGossipType":  4,
    52  		"BlobSidecarType":             5,
    53  	}
    54  )
    55  
    56  func (x GossipType) Enum() *GossipType {
    57  	p := new(GossipType)
    58  	*p = x
    59  	return p
    60  }
    61  
    62  func (x GossipType) String() string {
    63  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    64  }
    65  
    66  func (GossipType) Descriptor() protoreflect.EnumDescriptor {
    67  	return file_p2psentinel_sentinel_proto_enumTypes[0].Descriptor()
    68  }
    69  
    70  func (GossipType) Type() protoreflect.EnumType {
    71  	return &file_p2psentinel_sentinel_proto_enumTypes[0]
    72  }
    73  
    74  func (x GossipType) Number() protoreflect.EnumNumber {
    75  	return protoreflect.EnumNumber(x)
    76  }
    77  
    78  // Deprecated: Use GossipType.Descriptor instead.
    79  func (GossipType) EnumDescriptor() ([]byte, []int) {
    80  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  type EmptyMessage struct {
    84  	state         protoimpl.MessageState
    85  	sizeCache     protoimpl.SizeCache
    86  	unknownFields protoimpl.UnknownFields
    87  }
    88  
    89  func (x *EmptyMessage) Reset() {
    90  	*x = EmptyMessage{}
    91  	if protoimpl.UnsafeEnabled {
    92  		mi := &file_p2psentinel_sentinel_proto_msgTypes[0]
    93  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    94  		ms.StoreMessageInfo(mi)
    95  	}
    96  }
    97  
    98  func (x *EmptyMessage) String() string {
    99  	return protoimpl.X.MessageStringOf(x)
   100  }
   101  
   102  func (*EmptyMessage) ProtoMessage() {}
   103  
   104  func (x *EmptyMessage) ProtoReflect() protoreflect.Message {
   105  	mi := &file_p2psentinel_sentinel_proto_msgTypes[0]
   106  	if protoimpl.UnsafeEnabled && x != nil {
   107  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   108  		if ms.LoadMessageInfo() == nil {
   109  			ms.StoreMessageInfo(mi)
   110  		}
   111  		return ms
   112  	}
   113  	return mi.MessageOf(x)
   114  }
   115  
   116  // Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.
   117  func (*EmptyMessage) Descriptor() ([]byte, []int) {
   118  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{0}
   119  }
   120  
   121  type Peer struct {
   122  	state         protoimpl.MessageState
   123  	sizeCache     protoimpl.SizeCache
   124  	unknownFields protoimpl.UnknownFields
   125  
   126  	Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"`
   127  }
   128  
   129  func (x *Peer) Reset() {
   130  	*x = Peer{}
   131  	if protoimpl.UnsafeEnabled {
   132  		mi := &file_p2psentinel_sentinel_proto_msgTypes[1]
   133  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   134  		ms.StoreMessageInfo(mi)
   135  	}
   136  }
   137  
   138  func (x *Peer) String() string {
   139  	return protoimpl.X.MessageStringOf(x)
   140  }
   141  
   142  func (*Peer) ProtoMessage() {}
   143  
   144  func (x *Peer) ProtoReflect() protoreflect.Message {
   145  	mi := &file_p2psentinel_sentinel_proto_msgTypes[1]
   146  	if protoimpl.UnsafeEnabled && x != nil {
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		if ms.LoadMessageInfo() == nil {
   149  			ms.StoreMessageInfo(mi)
   150  		}
   151  		return ms
   152  	}
   153  	return mi.MessageOf(x)
   154  }
   155  
   156  // Deprecated: Use Peer.ProtoReflect.Descriptor instead.
   157  func (*Peer) Descriptor() ([]byte, []int) {
   158  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{1}
   159  }
   160  
   161  func (x *Peer) GetPid() string {
   162  	if x != nil {
   163  		return x.Pid
   164  	}
   165  	return ""
   166  }
   167  
   168  type GossipData struct {
   169  	state         protoimpl.MessageState
   170  	sizeCache     protoimpl.SizeCache
   171  	unknownFields protoimpl.UnknownFields
   172  
   173  	Data      []byte     `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // SSZ encoded data
   174  	Type      GossipType `protobuf:"varint,2,opt,name=type,proto3,enum=sentinel.GossipType" json:"type,omitempty"`
   175  	Peer      *Peer      `protobuf:"bytes,3,opt,name=peer,proto3,oneof" json:"peer,omitempty"`
   176  	BlobIndex *uint32    `protobuf:"varint,4,opt,name=blob_index,json=blobIndex,proto3,oneof" json:"blob_index,omitempty"` // Blob identifier for EIP4844
   177  }
   178  
   179  func (x *GossipData) Reset() {
   180  	*x = GossipData{}
   181  	if protoimpl.UnsafeEnabled {
   182  		mi := &file_p2psentinel_sentinel_proto_msgTypes[2]
   183  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   184  		ms.StoreMessageInfo(mi)
   185  	}
   186  }
   187  
   188  func (x *GossipData) String() string {
   189  	return protoimpl.X.MessageStringOf(x)
   190  }
   191  
   192  func (*GossipData) ProtoMessage() {}
   193  
   194  func (x *GossipData) ProtoReflect() protoreflect.Message {
   195  	mi := &file_p2psentinel_sentinel_proto_msgTypes[2]
   196  	if protoimpl.UnsafeEnabled && x != nil {
   197  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   198  		if ms.LoadMessageInfo() == nil {
   199  			ms.StoreMessageInfo(mi)
   200  		}
   201  		return ms
   202  	}
   203  	return mi.MessageOf(x)
   204  }
   205  
   206  // Deprecated: Use GossipData.ProtoReflect.Descriptor instead.
   207  func (*GossipData) Descriptor() ([]byte, []int) {
   208  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{2}
   209  }
   210  
   211  func (x *GossipData) GetData() []byte {
   212  	if x != nil {
   213  		return x.Data
   214  	}
   215  	return nil
   216  }
   217  
   218  func (x *GossipData) GetType() GossipType {
   219  	if x != nil {
   220  		return x.Type
   221  	}
   222  	return GossipType_BeaconBlockGossipType
   223  }
   224  
   225  func (x *GossipData) GetPeer() *Peer {
   226  	if x != nil {
   227  		return x.Peer
   228  	}
   229  	return nil
   230  }
   231  
   232  func (x *GossipData) GetBlobIndex() uint32 {
   233  	if x != nil && x.BlobIndex != nil {
   234  		return *x.BlobIndex
   235  	}
   236  	return 0
   237  }
   238  
   239  type Status struct {
   240  	state         protoimpl.MessageState
   241  	sizeCache     protoimpl.SizeCache
   242  	unknownFields protoimpl.UnknownFields
   243  
   244  	ForkDigest     uint32      `protobuf:"varint,1,opt,name=fork_digest,json=forkDigest,proto3" json:"fork_digest,omitempty"` // 4 bytes can be repressented in uint32.
   245  	FinalizedRoot  *types.H256 `protobuf:"bytes,2,opt,name=finalized_root,json=finalizedRoot,proto3" json:"finalized_root,omitempty"`
   246  	FinalizedEpoch uint64      `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty"`
   247  	HeadRoot       *types.H256 `protobuf:"bytes,4,opt,name=head_root,json=headRoot,proto3" json:"head_root,omitempty"`
   248  	HeadSlot       uint64      `protobuf:"varint,5,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty"`
   249  }
   250  
   251  func (x *Status) Reset() {
   252  	*x = Status{}
   253  	if protoimpl.UnsafeEnabled {
   254  		mi := &file_p2psentinel_sentinel_proto_msgTypes[3]
   255  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   256  		ms.StoreMessageInfo(mi)
   257  	}
   258  }
   259  
   260  func (x *Status) String() string {
   261  	return protoimpl.X.MessageStringOf(x)
   262  }
   263  
   264  func (*Status) ProtoMessage() {}
   265  
   266  func (x *Status) ProtoReflect() protoreflect.Message {
   267  	mi := &file_p2psentinel_sentinel_proto_msgTypes[3]
   268  	if protoimpl.UnsafeEnabled && x != nil {
   269  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   270  		if ms.LoadMessageInfo() == nil {
   271  			ms.StoreMessageInfo(mi)
   272  		}
   273  		return ms
   274  	}
   275  	return mi.MessageOf(x)
   276  }
   277  
   278  // Deprecated: Use Status.ProtoReflect.Descriptor instead.
   279  func (*Status) Descriptor() ([]byte, []int) {
   280  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{3}
   281  }
   282  
   283  func (x *Status) GetForkDigest() uint32 {
   284  	if x != nil {
   285  		return x.ForkDigest
   286  	}
   287  	return 0
   288  }
   289  
   290  func (x *Status) GetFinalizedRoot() *types.H256 {
   291  	if x != nil {
   292  		return x.FinalizedRoot
   293  	}
   294  	return nil
   295  }
   296  
   297  func (x *Status) GetFinalizedEpoch() uint64 {
   298  	if x != nil {
   299  		return x.FinalizedEpoch
   300  	}
   301  	return 0
   302  }
   303  
   304  func (x *Status) GetHeadRoot() *types.H256 {
   305  	if x != nil {
   306  		return x.HeadRoot
   307  	}
   308  	return nil
   309  }
   310  
   311  func (x *Status) GetHeadSlot() uint64 {
   312  	if x != nil {
   313  		return x.HeadSlot
   314  	}
   315  	return 0
   316  }
   317  
   318  type PeerCount struct {
   319  	state         protoimpl.MessageState
   320  	sizeCache     protoimpl.SizeCache
   321  	unknownFields protoimpl.UnknownFields
   322  
   323  	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
   324  }
   325  
   326  func (x *PeerCount) Reset() {
   327  	*x = PeerCount{}
   328  	if protoimpl.UnsafeEnabled {
   329  		mi := &file_p2psentinel_sentinel_proto_msgTypes[4]
   330  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   331  		ms.StoreMessageInfo(mi)
   332  	}
   333  }
   334  
   335  func (x *PeerCount) String() string {
   336  	return protoimpl.X.MessageStringOf(x)
   337  }
   338  
   339  func (*PeerCount) ProtoMessage() {}
   340  
   341  func (x *PeerCount) ProtoReflect() protoreflect.Message {
   342  	mi := &file_p2psentinel_sentinel_proto_msgTypes[4]
   343  	if protoimpl.UnsafeEnabled && x != nil {
   344  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   345  		if ms.LoadMessageInfo() == nil {
   346  			ms.StoreMessageInfo(mi)
   347  		}
   348  		return ms
   349  	}
   350  	return mi.MessageOf(x)
   351  }
   352  
   353  // Deprecated: Use PeerCount.ProtoReflect.Descriptor instead.
   354  func (*PeerCount) Descriptor() ([]byte, []int) {
   355  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{4}
   356  }
   357  
   358  func (x *PeerCount) GetAmount() uint64 {
   359  	if x != nil {
   360  		return x.Amount
   361  	}
   362  	return 0
   363  }
   364  
   365  type RequestData struct {
   366  	state         protoimpl.MessageState
   367  	sizeCache     protoimpl.SizeCache
   368  	unknownFields protoimpl.UnknownFields
   369  
   370  	Data  []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // SSZ encoded data
   371  	Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
   372  }
   373  
   374  func (x *RequestData) Reset() {
   375  	*x = RequestData{}
   376  	if protoimpl.UnsafeEnabled {
   377  		mi := &file_p2psentinel_sentinel_proto_msgTypes[5]
   378  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   379  		ms.StoreMessageInfo(mi)
   380  	}
   381  }
   382  
   383  func (x *RequestData) String() string {
   384  	return protoimpl.X.MessageStringOf(x)
   385  }
   386  
   387  func (*RequestData) ProtoMessage() {}
   388  
   389  func (x *RequestData) ProtoReflect() protoreflect.Message {
   390  	mi := &file_p2psentinel_sentinel_proto_msgTypes[5]
   391  	if protoimpl.UnsafeEnabled && x != nil {
   392  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   393  		if ms.LoadMessageInfo() == nil {
   394  			ms.StoreMessageInfo(mi)
   395  		}
   396  		return ms
   397  	}
   398  	return mi.MessageOf(x)
   399  }
   400  
   401  // Deprecated: Use RequestData.ProtoReflect.Descriptor instead.
   402  func (*RequestData) Descriptor() ([]byte, []int) {
   403  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{5}
   404  }
   405  
   406  func (x *RequestData) GetData() []byte {
   407  	if x != nil {
   408  		return x.Data
   409  	}
   410  	return nil
   411  }
   412  
   413  func (x *RequestData) GetTopic() string {
   414  	if x != nil {
   415  		return x.Topic
   416  	}
   417  	return ""
   418  }
   419  
   420  type ResponseData struct {
   421  	state         protoimpl.MessageState
   422  	sizeCache     protoimpl.SizeCache
   423  	unknownFields protoimpl.UnknownFields
   424  
   425  	Data  []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`    // prefix-stripped SSZ encoded data
   426  	Error bool   `protobuf:"varint,2,opt,name=error,proto3" json:"error,omitempty"` // did the peer encounter an error
   427  	Peer  *Peer  `protobuf:"bytes,3,opt,name=peer,proto3" json:"peer,omitempty"`
   428  }
   429  
   430  func (x *ResponseData) Reset() {
   431  	*x = ResponseData{}
   432  	if protoimpl.UnsafeEnabled {
   433  		mi := &file_p2psentinel_sentinel_proto_msgTypes[6]
   434  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   435  		ms.StoreMessageInfo(mi)
   436  	}
   437  }
   438  
   439  func (x *ResponseData) String() string {
   440  	return protoimpl.X.MessageStringOf(x)
   441  }
   442  
   443  func (*ResponseData) ProtoMessage() {}
   444  
   445  func (x *ResponseData) ProtoReflect() protoreflect.Message {
   446  	mi := &file_p2psentinel_sentinel_proto_msgTypes[6]
   447  	if protoimpl.UnsafeEnabled && x != nil {
   448  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   449  		if ms.LoadMessageInfo() == nil {
   450  			ms.StoreMessageInfo(mi)
   451  		}
   452  		return ms
   453  	}
   454  	return mi.MessageOf(x)
   455  }
   456  
   457  // Deprecated: Use ResponseData.ProtoReflect.Descriptor instead.
   458  func (*ResponseData) Descriptor() ([]byte, []int) {
   459  	return file_p2psentinel_sentinel_proto_rawDescGZIP(), []int{6}
   460  }
   461  
   462  func (x *ResponseData) GetData() []byte {
   463  	if x != nil {
   464  		return x.Data
   465  	}
   466  	return nil
   467  }
   468  
   469  func (x *ResponseData) GetError() bool {
   470  	if x != nil {
   471  		return x.Error
   472  	}
   473  	return false
   474  }
   475  
   476  func (x *ResponseData) GetPeer() *Peer {
   477  	if x != nil {
   478  		return x.Peer
   479  	}
   480  	return nil
   481  }
   482  
   483  var File_p2psentinel_sentinel_proto protoreflect.FileDescriptor
   484  
   485  var file_p2psentinel_sentinel_proto_rawDesc = []byte{
   486  	0x0a, 0x1a, 0x70, 0x32, 0x70, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2f, 0x73, 0x65,
   487  	0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x73, 0x65,
   488  	0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x1a, 0x11, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x74, 0x79,
   489  	0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70,
   490  	0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x18, 0x0a, 0x04, 0x50, 0x65, 0x65,
   491  	0x72, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   492  	0x70, 0x69, 0x64, 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x44, 0x61,
   493  	0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
   494  	0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
   495  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e,
   496  	0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
   497  	0x12, 0x27, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
   498  	0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x48, 0x00,
   499  	0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x62, 0x6c, 0x6f,
   500  	0x62, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52,
   501  	0x09, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a,
   502  	0x05, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x5f,
   503  	0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xcd, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
   504  	0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18,
   505  	0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x67, 0x65, 0x73,
   506  	0x74, 0x12, 0x32, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72,
   507  	0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65,
   508  	0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0d, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
   509  	0x64, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
   510  	0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e,
   511  	0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x28,
   512  	0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
   513  	0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x08,
   514  	0x68, 0x65, 0x61, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64,
   515  	0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x68, 0x65, 0x61,
   516  	0x64, 0x53, 0x6c, 0x6f, 0x74, 0x22, 0x23, 0x0a, 0x09, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75,
   517  	0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
   518  	0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x52, 0x65,
   519  	0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
   520  	0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a,
   521  	0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
   522  	0x70, 0x69, 0x63, 0x22, 0x5c, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44,
   523  	0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
   524  	0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
   525  	0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x22, 0x0a,
   526  	0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x65,
   527  	0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, 0x65,
   528  	0x72, 0x2a, 0xba, 0x01, 0x0a, 0x0a, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65,
   529  	0x12, 0x19, 0x0a, 0x15, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x47,
   530  	0x6f, 0x73, 0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x41,
   531  	0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66,
   532  	0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17,
   533  	0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x47, 0x6f, 0x73,
   534  	0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x72, 0x6f,
   535  	0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x6f, 0x73,
   536  	0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x74, 0x74,
   537  	0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x6f, 0x73,
   538  	0x73, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x6c, 0x6f,
   539  	0x62, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x10, 0x05, 0x32, 0x90,
   540  	0x04, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x12, 0x41, 0x0a, 0x0f, 0x53,
   541  	0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x12, 0x16,
   542  	0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d,
   543  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x14, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65,
   544  	0x6c, 0x2e, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x30, 0x01, 0x12, 0x3c,
   545  	0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x2e,
   546  	0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   547  	0x44, 0x61, 0x74, 0x61, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e,
   548  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x09,
   549  	0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x2e, 0x73, 0x65, 0x6e, 0x74,
   550  	0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x16, 0x2e, 0x73, 0x65,
   551  	0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73,
   552  	0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12,
   553  	0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
   554  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e,
   555  	0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x07,
   556  	0x42, 0x61, 0x6e, 0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e,
   557  	0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e,
   558  	0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
   559  	0x33, 0x0a, 0x09, 0x55, 0x6e, 0x62, 0x61, 0x6e, 0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x73,
   560  	0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x73,
   561  	0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73,
   562  	0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x0c, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
   563  	0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e,
   564  	0x50, 0x65, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e,
   565  	0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x0a,
   566  	0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x73, 0x65, 0x6e,
   567  	0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e,
   568  	0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61,
   569  	0x67, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x6f, 0x73,
   570  	0x73, 0x69, 0x70, 0x12, 0x14, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x47,
   571  	0x6f, 0x73, 0x73, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74,
   572  	0x69, 0x6e, 0x65, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   573  	0x65, 0x42, 0x15, 0x5a, 0x13, 0x2e, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x3b,
   574  	0x73, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   575  }
   576  
   577  var (
   578  	file_p2psentinel_sentinel_proto_rawDescOnce sync.Once
   579  	file_p2psentinel_sentinel_proto_rawDescData = file_p2psentinel_sentinel_proto_rawDesc
   580  )
   581  
   582  func file_p2psentinel_sentinel_proto_rawDescGZIP() []byte {
   583  	file_p2psentinel_sentinel_proto_rawDescOnce.Do(func() {
   584  		file_p2psentinel_sentinel_proto_rawDescData = protoimpl.X.CompressGZIP(file_p2psentinel_sentinel_proto_rawDescData)
   585  	})
   586  	return file_p2psentinel_sentinel_proto_rawDescData
   587  }
   588  
   589  var file_p2psentinel_sentinel_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   590  var file_p2psentinel_sentinel_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   591  var file_p2psentinel_sentinel_proto_goTypes = []interface{}{
   592  	(GossipType)(0),      // 0: sentinel.GossipType
   593  	(*EmptyMessage)(nil), // 1: sentinel.EmptyMessage
   594  	(*Peer)(nil),         // 2: sentinel.Peer
   595  	(*GossipData)(nil),   // 3: sentinel.GossipData
   596  	(*Status)(nil),       // 4: sentinel.Status
   597  	(*PeerCount)(nil),    // 5: sentinel.PeerCount
   598  	(*RequestData)(nil),  // 6: sentinel.RequestData
   599  	(*ResponseData)(nil), // 7: sentinel.ResponseData
   600  	(*types.H256)(nil),   // 8: types.H256
   601  }
   602  var file_p2psentinel_sentinel_proto_depIdxs = []int32{
   603  	0,  // 0: sentinel.GossipData.type:type_name -> sentinel.GossipType
   604  	2,  // 1: sentinel.GossipData.peer:type_name -> sentinel.Peer
   605  	8,  // 2: sentinel.Status.finalized_root:type_name -> types.H256
   606  	8,  // 3: sentinel.Status.head_root:type_name -> types.H256
   607  	2,  // 4: sentinel.ResponseData.peer:type_name -> sentinel.Peer
   608  	1,  // 5: sentinel.Sentinel.SubscribeGossip:input_type -> sentinel.EmptyMessage
   609  	6,  // 6: sentinel.Sentinel.SendRequest:input_type -> sentinel.RequestData
   610  	4,  // 7: sentinel.Sentinel.SetStatus:input_type -> sentinel.Status
   611  	1,  // 8: sentinel.Sentinel.GetPeers:input_type -> sentinel.EmptyMessage
   612  	2,  // 9: sentinel.Sentinel.BanPeer:input_type -> sentinel.Peer
   613  	2,  // 10: sentinel.Sentinel.UnbanPeer:input_type -> sentinel.Peer
   614  	2,  // 11: sentinel.Sentinel.PenalizePeer:input_type -> sentinel.Peer
   615  	2,  // 12: sentinel.Sentinel.RewardPeer:input_type -> sentinel.Peer
   616  	3,  // 13: sentinel.Sentinel.PublishGossip:input_type -> sentinel.GossipData
   617  	3,  // 14: sentinel.Sentinel.SubscribeGossip:output_type -> sentinel.GossipData
   618  	7,  // 15: sentinel.Sentinel.SendRequest:output_type -> sentinel.ResponseData
   619  	1,  // 16: sentinel.Sentinel.SetStatus:output_type -> sentinel.EmptyMessage
   620  	5,  // 17: sentinel.Sentinel.GetPeers:output_type -> sentinel.PeerCount
   621  	1,  // 18: sentinel.Sentinel.BanPeer:output_type -> sentinel.EmptyMessage
   622  	1,  // 19: sentinel.Sentinel.UnbanPeer:output_type -> sentinel.EmptyMessage
   623  	1,  // 20: sentinel.Sentinel.PenalizePeer:output_type -> sentinel.EmptyMessage
   624  	1,  // 21: sentinel.Sentinel.RewardPeer:output_type -> sentinel.EmptyMessage
   625  	1,  // 22: sentinel.Sentinel.PublishGossip:output_type -> sentinel.EmptyMessage
   626  	14, // [14:23] is the sub-list for method output_type
   627  	5,  // [5:14] is the sub-list for method input_type
   628  	5,  // [5:5] is the sub-list for extension type_name
   629  	5,  // [5:5] is the sub-list for extension extendee
   630  	0,  // [0:5] is the sub-list for field type_name
   631  }
   632  
   633  func init() { file_p2psentinel_sentinel_proto_init() }
   634  func file_p2psentinel_sentinel_proto_init() {
   635  	if File_p2psentinel_sentinel_proto != nil {
   636  		return
   637  	}
   638  	if !protoimpl.UnsafeEnabled {
   639  		file_p2psentinel_sentinel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   640  			switch v := v.(*EmptyMessage); i {
   641  			case 0:
   642  				return &v.state
   643  			case 1:
   644  				return &v.sizeCache
   645  			case 2:
   646  				return &v.unknownFields
   647  			default:
   648  				return nil
   649  			}
   650  		}
   651  		file_p2psentinel_sentinel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   652  			switch v := v.(*Peer); i {
   653  			case 0:
   654  				return &v.state
   655  			case 1:
   656  				return &v.sizeCache
   657  			case 2:
   658  				return &v.unknownFields
   659  			default:
   660  				return nil
   661  			}
   662  		}
   663  		file_p2psentinel_sentinel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   664  			switch v := v.(*GossipData); i {
   665  			case 0:
   666  				return &v.state
   667  			case 1:
   668  				return &v.sizeCache
   669  			case 2:
   670  				return &v.unknownFields
   671  			default:
   672  				return nil
   673  			}
   674  		}
   675  		file_p2psentinel_sentinel_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   676  			switch v := v.(*Status); i {
   677  			case 0:
   678  				return &v.state
   679  			case 1:
   680  				return &v.sizeCache
   681  			case 2:
   682  				return &v.unknownFields
   683  			default:
   684  				return nil
   685  			}
   686  		}
   687  		file_p2psentinel_sentinel_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   688  			switch v := v.(*PeerCount); i {
   689  			case 0:
   690  				return &v.state
   691  			case 1:
   692  				return &v.sizeCache
   693  			case 2:
   694  				return &v.unknownFields
   695  			default:
   696  				return nil
   697  			}
   698  		}
   699  		file_p2psentinel_sentinel_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   700  			switch v := v.(*RequestData); i {
   701  			case 0:
   702  				return &v.state
   703  			case 1:
   704  				return &v.sizeCache
   705  			case 2:
   706  				return &v.unknownFields
   707  			default:
   708  				return nil
   709  			}
   710  		}
   711  		file_p2psentinel_sentinel_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   712  			switch v := v.(*ResponseData); i {
   713  			case 0:
   714  				return &v.state
   715  			case 1:
   716  				return &v.sizeCache
   717  			case 2:
   718  				return &v.unknownFields
   719  			default:
   720  				return nil
   721  			}
   722  		}
   723  	}
   724  	file_p2psentinel_sentinel_proto_msgTypes[2].OneofWrappers = []interface{}{}
   725  	type x struct{}
   726  	out := protoimpl.TypeBuilder{
   727  		File: protoimpl.DescBuilder{
   728  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   729  			RawDescriptor: file_p2psentinel_sentinel_proto_rawDesc,
   730  			NumEnums:      1,
   731  			NumMessages:   7,
   732  			NumExtensions: 0,
   733  			NumServices:   1,
   734  		},
   735  		GoTypes:           file_p2psentinel_sentinel_proto_goTypes,
   736  		DependencyIndexes: file_p2psentinel_sentinel_proto_depIdxs,
   737  		EnumInfos:         file_p2psentinel_sentinel_proto_enumTypes,
   738  		MessageInfos:      file_p2psentinel_sentinel_proto_msgTypes,
   739  	}.Build()
   740  	File_p2psentinel_sentinel_proto = out.File
   741  	file_p2psentinel_sentinel_proto_rawDesc = nil
   742  	file_p2psentinel_sentinel_proto_goTypes = nil
   743  	file_p2psentinel_sentinel_proto_depIdxs = nil
   744  }