github.com/prysmaticlabs/prysm@v1.4.4/proto/beacon/p2p/v1/messages.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.15.8 5 // source: proto/beacon/p2p/v1/messages.proto 6 7 package ethereum_beacon_p2p_v1 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 _ "github.com/golang/protobuf/protoc-gen-go/descriptor" 15 github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" 16 github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" 17 _ "github.com/prysmaticlabs/prysm/proto/eth/ext" 18 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 19 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 type Status struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 ForkDigest []byte `protobuf:"bytes,1,opt,name=fork_digest,json=forkDigest,proto3" json:"fork_digest,omitempty" ssz-size:"4"` 39 FinalizedRoot []byte `protobuf:"bytes,2,opt,name=finalized_root,json=finalizedRoot,proto3" json:"finalized_root,omitempty" ssz-size:"32"` 40 FinalizedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 41 HeadRoot []byte `protobuf:"bytes,4,opt,name=head_root,json=headRoot,proto3" json:"head_root,omitempty" ssz-size:"32"` 42 HeadSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,5,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` 43 } 44 45 func (x *Status) Reset() { 46 *x = Status{} 47 if protoimpl.UnsafeEnabled { 48 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[0] 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 ms.StoreMessageInfo(mi) 51 } 52 } 53 54 func (x *Status) String() string { 55 return protoimpl.X.MessageStringOf(x) 56 } 57 58 func (*Status) ProtoMessage() {} 59 60 func (x *Status) ProtoReflect() protoreflect.Message { 61 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[0] 62 if protoimpl.UnsafeEnabled && x != nil { 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 64 if ms.LoadMessageInfo() == nil { 65 ms.StoreMessageInfo(mi) 66 } 67 return ms 68 } 69 return mi.MessageOf(x) 70 } 71 72 // Deprecated: Use Status.ProtoReflect.Descriptor instead. 73 func (*Status) Descriptor() ([]byte, []int) { 74 return file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP(), []int{0} 75 } 76 77 func (x *Status) GetForkDigest() []byte { 78 if x != nil { 79 return x.ForkDigest 80 } 81 return nil 82 } 83 84 func (x *Status) GetFinalizedRoot() []byte { 85 if x != nil { 86 return x.FinalizedRoot 87 } 88 return nil 89 } 90 91 func (x *Status) GetFinalizedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 92 if x != nil { 93 return x.FinalizedEpoch 94 } 95 return github_com_prysmaticlabs_eth2_types.Epoch(0) 96 } 97 98 func (x *Status) GetHeadRoot() []byte { 99 if x != nil { 100 return x.HeadRoot 101 } 102 return nil 103 } 104 105 func (x *Status) GetHeadSlot() github_com_prysmaticlabs_eth2_types.Slot { 106 if x != nil { 107 return x.HeadSlot 108 } 109 return github_com_prysmaticlabs_eth2_types.Slot(0) 110 } 111 112 type BeaconBlocksByRangeRequest struct { 113 state protoimpl.MessageState 114 sizeCache protoimpl.SizeCache 115 unknownFields protoimpl.UnknownFields 116 117 StartSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` 118 Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 119 Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` 120 } 121 122 func (x *BeaconBlocksByRangeRequest) Reset() { 123 *x = BeaconBlocksByRangeRequest{} 124 if protoimpl.UnsafeEnabled { 125 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[1] 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 ms.StoreMessageInfo(mi) 128 } 129 } 130 131 func (x *BeaconBlocksByRangeRequest) String() string { 132 return protoimpl.X.MessageStringOf(x) 133 } 134 135 func (*BeaconBlocksByRangeRequest) ProtoMessage() {} 136 137 func (x *BeaconBlocksByRangeRequest) ProtoReflect() protoreflect.Message { 138 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[1] 139 if protoimpl.UnsafeEnabled && x != nil { 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 if ms.LoadMessageInfo() == nil { 142 ms.StoreMessageInfo(mi) 143 } 144 return ms 145 } 146 return mi.MessageOf(x) 147 } 148 149 // Deprecated: Use BeaconBlocksByRangeRequest.ProtoReflect.Descriptor instead. 150 func (*BeaconBlocksByRangeRequest) Descriptor() ([]byte, []int) { 151 return file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP(), []int{1} 152 } 153 154 func (x *BeaconBlocksByRangeRequest) GetStartSlot() github_com_prysmaticlabs_eth2_types.Slot { 155 if x != nil { 156 return x.StartSlot 157 } 158 return github_com_prysmaticlabs_eth2_types.Slot(0) 159 } 160 161 func (x *BeaconBlocksByRangeRequest) GetCount() uint64 { 162 if x != nil { 163 return x.Count 164 } 165 return 0 166 } 167 168 func (x *BeaconBlocksByRangeRequest) GetStep() uint64 { 169 if x != nil { 170 return x.Step 171 } 172 return 0 173 } 174 175 type ENRForkID struct { 176 state protoimpl.MessageState 177 sizeCache protoimpl.SizeCache 178 unknownFields protoimpl.UnknownFields 179 180 CurrentForkDigest []byte `protobuf:"bytes,1,opt,name=current_fork_digest,json=currentForkDigest,proto3" json:"current_fork_digest,omitempty" ssz-size:"4"` 181 NextForkVersion []byte `protobuf:"bytes,2,opt,name=next_fork_version,json=nextForkVersion,proto3" json:"next_fork_version,omitempty" ssz-size:"4"` 182 NextForkEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=next_fork_epoch,json=nextForkEpoch,proto3" json:"next_fork_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 183 } 184 185 func (x *ENRForkID) Reset() { 186 *x = ENRForkID{} 187 if protoimpl.UnsafeEnabled { 188 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[2] 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 ms.StoreMessageInfo(mi) 191 } 192 } 193 194 func (x *ENRForkID) String() string { 195 return protoimpl.X.MessageStringOf(x) 196 } 197 198 func (*ENRForkID) ProtoMessage() {} 199 200 func (x *ENRForkID) ProtoReflect() protoreflect.Message { 201 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[2] 202 if protoimpl.UnsafeEnabled && x != nil { 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 if ms.LoadMessageInfo() == nil { 205 ms.StoreMessageInfo(mi) 206 } 207 return ms 208 } 209 return mi.MessageOf(x) 210 } 211 212 // Deprecated: Use ENRForkID.ProtoReflect.Descriptor instead. 213 func (*ENRForkID) Descriptor() ([]byte, []int) { 214 return file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP(), []int{2} 215 } 216 217 func (x *ENRForkID) GetCurrentForkDigest() []byte { 218 if x != nil { 219 return x.CurrentForkDigest 220 } 221 return nil 222 } 223 224 func (x *ENRForkID) GetNextForkVersion() []byte { 225 if x != nil { 226 return x.NextForkVersion 227 } 228 return nil 229 } 230 231 func (x *ENRForkID) GetNextForkEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 232 if x != nil { 233 return x.NextForkEpoch 234 } 235 return github_com_prysmaticlabs_eth2_types.Epoch(0) 236 } 237 238 type MetaDataV0 struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` 244 Attnets github_com_prysmaticlabs_go_bitfield.Bitvector64 `protobuf:"bytes,2,opt,name=attnets,proto3" json:"attnets,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector64" ssz-size:"8"` 245 } 246 247 func (x *MetaDataV0) Reset() { 248 *x = MetaDataV0{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[3] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *MetaDataV0) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*MetaDataV0) ProtoMessage() {} 261 262 func (x *MetaDataV0) ProtoReflect() protoreflect.Message { 263 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[3] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use MetaDataV0.ProtoReflect.Descriptor instead. 275 func (*MetaDataV0) Descriptor() ([]byte, []int) { 276 return file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP(), []int{3} 277 } 278 279 func (x *MetaDataV0) GetSeqNumber() uint64 { 280 if x != nil { 281 return x.SeqNumber 282 } 283 return 0 284 } 285 286 func (x *MetaDataV0) GetAttnets() github_com_prysmaticlabs_go_bitfield.Bitvector64 { 287 if x != nil { 288 return x.Attnets 289 } 290 return github_com_prysmaticlabs_go_bitfield.Bitvector64(nil) 291 } 292 293 type MetaDataV1 struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` 299 Attnets github_com_prysmaticlabs_go_bitfield.Bitvector64 `protobuf:"bytes,2,opt,name=attnets,proto3" json:"attnets,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector64" ssz-size:"8"` 300 Syncnets github_com_prysmaticlabs_go_bitfield.Bitvector512 `protobuf:"bytes,3,opt,name=syncnets,proto3" json:"syncnets,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector512" ssz-size:"64"` 301 } 302 303 func (x *MetaDataV1) Reset() { 304 *x = MetaDataV1{} 305 if protoimpl.UnsafeEnabled { 306 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[4] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (x *MetaDataV1) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*MetaDataV1) ProtoMessage() {} 317 318 func (x *MetaDataV1) ProtoReflect() protoreflect.Message { 319 mi := &file_proto_beacon_p2p_v1_messages_proto_msgTypes[4] 320 if protoimpl.UnsafeEnabled && x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use MetaDataV1.ProtoReflect.Descriptor instead. 331 func (*MetaDataV1) Descriptor() ([]byte, []int) { 332 return file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP(), []int{4} 333 } 334 335 func (x *MetaDataV1) GetSeqNumber() uint64 { 336 if x != nil { 337 return x.SeqNumber 338 } 339 return 0 340 } 341 342 func (x *MetaDataV1) GetAttnets() github_com_prysmaticlabs_go_bitfield.Bitvector64 { 343 if x != nil { 344 return x.Attnets 345 } 346 return github_com_prysmaticlabs_go_bitfield.Bitvector64(nil) 347 } 348 349 func (x *MetaDataV1) GetSyncnets() github_com_prysmaticlabs_go_bitfield.Bitvector512 { 350 if x != nil { 351 return x.Syncnets 352 } 353 return github_com_prysmaticlabs_go_bitfield.Bitvector512(nil) 354 } 355 356 var File_proto_beacon_p2p_v1_messages_proto protoreflect.FileDescriptor 357 358 var file_proto_beacon_p2p_v1_messages_proto_rawDesc = []byte{ 359 0x0a, 0x22, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x70, 360 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 361 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x62, 362 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 363 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 364 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 365 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 366 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x06, 367 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 368 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, 0x18, 369 0x01, 0x34, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x2d, 370 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 371 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0d, 372 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x56, 0x0a, 373 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 374 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 375 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 376 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 377 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 378 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x72, 0x6f, 379 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 380 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x49, 0x0a, 0x09, 0x68, 0x65, 381 0x61, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 382 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 383 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 384 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x08, 0x68, 0x65, 0x61, 385 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x1a, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 386 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 387 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x6c, 388 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 389 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 390 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 391 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x6c, 0x6f, 392 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 393 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x65, 0x70, 0x18, 394 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x22, 0xcc, 0x01, 0x0a, 0x09, 395 0x45, 0x4e, 0x52, 0x46, 0x6f, 0x72, 0x6b, 0x49, 0x44, 0x12, 0x35, 0x0a, 0x13, 0x63, 0x75, 0x72, 396 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 397 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, 0x18, 0x01, 0x34, 0x52, 0x11, 0x63, 398 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 399 0x12, 0x31, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x76, 0x65, 400 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, 0x18, 401 0x01, 0x34, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x56, 0x65, 0x72, 0x73, 402 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 403 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 404 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 405 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 406 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0d, 0x6e, 0x65, 0x78, 407 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x4d, 408 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x56, 0x30, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x71, 409 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 410 0x65, 0x71, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x07, 0x61, 0x74, 0x74, 0x6e, 411 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x39, 0x8a, 0xb5, 0x18, 0x01, 0x38, 412 0x82, 0xb5, 0x18, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 413 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 414 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 0x65, 0x63, 0x74, 415 0x6f, 0x72, 0x36, 0x34, 0x52, 0x07, 0x61, 0x74, 0x74, 0x6e, 0x65, 0x74, 0x73, 0x22, 0xd9, 0x01, 416 0x0a, 0x0a, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x56, 0x31, 0x12, 0x1d, 0x0a, 0x0a, 417 0x73, 0x65, 0x71, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 418 0x52, 0x09, 0x73, 0x65, 0x71, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x07, 0x61, 419 0x74, 0x74, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x39, 0x8a, 0xb5, 420 0x18, 0x01, 0x38, 0x82, 0xb5, 0x18, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 421 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 422 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 423 0x65, 0x63, 0x74, 0x6f, 0x72, 0x36, 0x34, 0x52, 0x07, 0x61, 0x74, 0x74, 0x6e, 0x65, 0x74, 0x73, 424 0x12, 0x57, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 425 0x28, 0x0c, 0x42, 0x3b, 0x8a, 0xb5, 0x18, 0x02, 0x36, 0x34, 0x82, 0xb5, 0x18, 0x31, 0x67, 0x69, 426 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 427 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 428 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x35, 0x31, 0x32, 0x52, 429 0x08, 0x73, 0x79, 0x6e, 0x63, 0x6e, 0x65, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 430 0x33, 431 } 432 433 var ( 434 file_proto_beacon_p2p_v1_messages_proto_rawDescOnce sync.Once 435 file_proto_beacon_p2p_v1_messages_proto_rawDescData = file_proto_beacon_p2p_v1_messages_proto_rawDesc 436 ) 437 438 func file_proto_beacon_p2p_v1_messages_proto_rawDescGZIP() []byte { 439 file_proto_beacon_p2p_v1_messages_proto_rawDescOnce.Do(func() { 440 file_proto_beacon_p2p_v1_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_beacon_p2p_v1_messages_proto_rawDescData) 441 }) 442 return file_proto_beacon_p2p_v1_messages_proto_rawDescData 443 } 444 445 var file_proto_beacon_p2p_v1_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 446 var file_proto_beacon_p2p_v1_messages_proto_goTypes = []interface{}{ 447 (*Status)(nil), // 0: ethereum.beacon.p2p.v1.Status 448 (*BeaconBlocksByRangeRequest)(nil), // 1: ethereum.beacon.p2p.v1.BeaconBlocksByRangeRequest 449 (*ENRForkID)(nil), // 2: ethereum.beacon.p2p.v1.ENRForkID 450 (*MetaDataV0)(nil), // 3: ethereum.beacon.p2p.v1.MetaDataV0 451 (*MetaDataV1)(nil), // 4: ethereum.beacon.p2p.v1.MetaDataV1 452 } 453 var file_proto_beacon_p2p_v1_messages_proto_depIdxs = []int32{ 454 0, // [0:0] is the sub-list for method output_type 455 0, // [0:0] is the sub-list for method input_type 456 0, // [0:0] is the sub-list for extension type_name 457 0, // [0:0] is the sub-list for extension extendee 458 0, // [0:0] is the sub-list for field type_name 459 } 460 461 func init() { file_proto_beacon_p2p_v1_messages_proto_init() } 462 func file_proto_beacon_p2p_v1_messages_proto_init() { 463 if File_proto_beacon_p2p_v1_messages_proto != nil { 464 return 465 } 466 if !protoimpl.UnsafeEnabled { 467 file_proto_beacon_p2p_v1_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 468 switch v := v.(*Status); i { 469 case 0: 470 return &v.state 471 case 1: 472 return &v.sizeCache 473 case 2: 474 return &v.unknownFields 475 default: 476 return nil 477 } 478 } 479 file_proto_beacon_p2p_v1_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 480 switch v := v.(*BeaconBlocksByRangeRequest); i { 481 case 0: 482 return &v.state 483 case 1: 484 return &v.sizeCache 485 case 2: 486 return &v.unknownFields 487 default: 488 return nil 489 } 490 } 491 file_proto_beacon_p2p_v1_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 492 switch v := v.(*ENRForkID); i { 493 case 0: 494 return &v.state 495 case 1: 496 return &v.sizeCache 497 case 2: 498 return &v.unknownFields 499 default: 500 return nil 501 } 502 } 503 file_proto_beacon_p2p_v1_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 504 switch v := v.(*MetaDataV0); i { 505 case 0: 506 return &v.state 507 case 1: 508 return &v.sizeCache 509 case 2: 510 return &v.unknownFields 511 default: 512 return nil 513 } 514 } 515 file_proto_beacon_p2p_v1_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 516 switch v := v.(*MetaDataV1); i { 517 case 0: 518 return &v.state 519 case 1: 520 return &v.sizeCache 521 case 2: 522 return &v.unknownFields 523 default: 524 return nil 525 } 526 } 527 } 528 type x struct{} 529 out := protoimpl.TypeBuilder{ 530 File: protoimpl.DescBuilder{ 531 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 532 RawDescriptor: file_proto_beacon_p2p_v1_messages_proto_rawDesc, 533 NumEnums: 0, 534 NumMessages: 5, 535 NumExtensions: 0, 536 NumServices: 0, 537 }, 538 GoTypes: file_proto_beacon_p2p_v1_messages_proto_goTypes, 539 DependencyIndexes: file_proto_beacon_p2p_v1_messages_proto_depIdxs, 540 MessageInfos: file_proto_beacon_p2p_v1_messages_proto_msgTypes, 541 }.Build() 542 File_proto_beacon_p2p_v1_messages_proto = out.File 543 file_proto_beacon_p2p_v1_messages_proto_rawDesc = nil 544 file_proto_beacon_p2p_v1_messages_proto_goTypes = nil 545 file_proto_beacon_p2p_v1_messages_proto_depIdxs = nil 546 }