prysm-pulse/proto/beacon/p2p/v1/messages.pb.go

607 lines
25 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/beacon/p2p/v1/messages.proto
package ethereum_beacon_p2p_v1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Topic int32
const (
Topic_UNKNOWN Topic = 0
Topic_BEACON_BLOCK_HASH_ANNOUNCE Topic = 1
Topic_BEACON_BLOCK_REQUEST Topic = 2
Topic_BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER Topic = 3
Topic_BEACON_BLOCK_RESPONSE Topic = 4
Topic_CHAIN_HEAD_REQUEST Topic = 5
Topic_CHAIN_HEAD_RESPONSE Topic = 6
Topic_CRYSTALLIZED_STATE_HASH_ANNOUNCE Topic = 7
Topic_CRYSTALLIZED_STATE_REQUEST Topic = 8
Topic_CRYSTALLIZED_STATE_RESPONSE Topic = 9
Topic_ACTIVE_STATE_HASH_ANNOUNCE Topic = 10
Topic_ACTIVE_STATE_REQUEST Topic = 11
Topic_ACTIVE_STATE_RESPONSE Topic = 12
)
var Topic_name = map[int32]string{
0: "UNKNOWN",
1: "BEACON_BLOCK_HASH_ANNOUNCE",
2: "BEACON_BLOCK_REQUEST",
3: "BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER",
4: "BEACON_BLOCK_RESPONSE",
5: "CHAIN_HEAD_REQUEST",
6: "CHAIN_HEAD_RESPONSE",
7: "CRYSTALLIZED_STATE_HASH_ANNOUNCE",
8: "CRYSTALLIZED_STATE_REQUEST",
9: "CRYSTALLIZED_STATE_RESPONSE",
10: "ACTIVE_STATE_HASH_ANNOUNCE",
11: "ACTIVE_STATE_REQUEST",
12: "ACTIVE_STATE_RESPONSE",
}
var Topic_value = map[string]int32{
"UNKNOWN": 0,
"BEACON_BLOCK_HASH_ANNOUNCE": 1,
"BEACON_BLOCK_REQUEST": 2,
"BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER": 3,
"BEACON_BLOCK_RESPONSE": 4,
"CHAIN_HEAD_REQUEST": 5,
"CHAIN_HEAD_RESPONSE": 6,
"CRYSTALLIZED_STATE_HASH_ANNOUNCE": 7,
"CRYSTALLIZED_STATE_REQUEST": 8,
"CRYSTALLIZED_STATE_RESPONSE": 9,
"ACTIVE_STATE_HASH_ANNOUNCE": 10,
"ACTIVE_STATE_REQUEST": 11,
"ACTIVE_STATE_RESPONSE": 12,
}
func (x Topic) String() string {
return proto.EnumName(Topic_name, int32(x))
}
func (Topic) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{0}
}
type BeaconBlockHashAnnounce struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BeaconBlockHashAnnounce) Reset() { *m = BeaconBlockHashAnnounce{} }
func (m *BeaconBlockHashAnnounce) String() string { return proto.CompactTextString(m) }
func (*BeaconBlockHashAnnounce) ProtoMessage() {}
func (*BeaconBlockHashAnnounce) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{0}
}
func (m *BeaconBlockHashAnnounce) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeaconBlockHashAnnounce.Unmarshal(m, b)
}
func (m *BeaconBlockHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BeaconBlockHashAnnounce.Marshal(b, m, deterministic)
}
func (dst *BeaconBlockHashAnnounce) XXX_Merge(src proto.Message) {
xxx_messageInfo_BeaconBlockHashAnnounce.Merge(dst, src)
}
func (m *BeaconBlockHashAnnounce) XXX_Size() int {
return xxx_messageInfo_BeaconBlockHashAnnounce.Size(m)
}
func (m *BeaconBlockHashAnnounce) XXX_DiscardUnknown() {
xxx_messageInfo_BeaconBlockHashAnnounce.DiscardUnknown(m)
}
var xxx_messageInfo_BeaconBlockHashAnnounce proto.InternalMessageInfo
func (m *BeaconBlockHashAnnounce) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type BeaconBlockRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BeaconBlockRequest) Reset() { *m = BeaconBlockRequest{} }
func (m *BeaconBlockRequest) String() string { return proto.CompactTextString(m) }
func (*BeaconBlockRequest) ProtoMessage() {}
func (*BeaconBlockRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{1}
}
func (m *BeaconBlockRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeaconBlockRequest.Unmarshal(m, b)
}
func (m *BeaconBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BeaconBlockRequest.Marshal(b, m, deterministic)
}
func (dst *BeaconBlockRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BeaconBlockRequest.Merge(dst, src)
}
func (m *BeaconBlockRequest) XXX_Size() int {
return xxx_messageInfo_BeaconBlockRequest.Size(m)
}
func (m *BeaconBlockRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BeaconBlockRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BeaconBlockRequest proto.InternalMessageInfo
func (m *BeaconBlockRequest) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type BeaconBlockRequestBySlotNumber struct {
SlotNumber uint64 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BeaconBlockRequestBySlotNumber) Reset() { *m = BeaconBlockRequestBySlotNumber{} }
func (m *BeaconBlockRequestBySlotNumber) String() string { return proto.CompactTextString(m) }
func (*BeaconBlockRequestBySlotNumber) ProtoMessage() {}
func (*BeaconBlockRequestBySlotNumber) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{2}
}
func (m *BeaconBlockRequestBySlotNumber) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeaconBlockRequestBySlotNumber.Unmarshal(m, b)
}
func (m *BeaconBlockRequestBySlotNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BeaconBlockRequestBySlotNumber.Marshal(b, m, deterministic)
}
func (dst *BeaconBlockRequestBySlotNumber) XXX_Merge(src proto.Message) {
xxx_messageInfo_BeaconBlockRequestBySlotNumber.Merge(dst, src)
}
func (m *BeaconBlockRequestBySlotNumber) XXX_Size() int {
return xxx_messageInfo_BeaconBlockRequestBySlotNumber.Size(m)
}
func (m *BeaconBlockRequestBySlotNumber) XXX_DiscardUnknown() {
xxx_messageInfo_BeaconBlockRequestBySlotNumber.DiscardUnknown(m)
}
var xxx_messageInfo_BeaconBlockRequestBySlotNumber proto.InternalMessageInfo
func (m *BeaconBlockRequestBySlotNumber) GetSlotNumber() uint64 {
if m != nil {
return m.SlotNumber
}
return 0
}
type BeaconBlockResponse struct {
Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
Attestation *AggregatedAttestation `protobuf:"bytes,2,opt,name=attestation,proto3" json:"attestation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BeaconBlockResponse) Reset() { *m = BeaconBlockResponse{} }
func (m *BeaconBlockResponse) String() string { return proto.CompactTextString(m) }
func (*BeaconBlockResponse) ProtoMessage() {}
func (*BeaconBlockResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{3}
}
func (m *BeaconBlockResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeaconBlockResponse.Unmarshal(m, b)
}
func (m *BeaconBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BeaconBlockResponse.Marshal(b, m, deterministic)
}
func (dst *BeaconBlockResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BeaconBlockResponse.Merge(dst, src)
}
func (m *BeaconBlockResponse) XXX_Size() int {
return xxx_messageInfo_BeaconBlockResponse.Size(m)
}
func (m *BeaconBlockResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BeaconBlockResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BeaconBlockResponse proto.InternalMessageInfo
func (m *BeaconBlockResponse) GetBlock() *BeaconBlock {
if m != nil {
return m.Block
}
return nil
}
func (m *BeaconBlockResponse) GetAttestation() *AggregatedAttestation {
if m != nil {
return m.Attestation
}
return nil
}
type ChainHeadRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChainHeadRequest) Reset() { *m = ChainHeadRequest{} }
func (m *ChainHeadRequest) String() string { return proto.CompactTextString(m) }
func (*ChainHeadRequest) ProtoMessage() {}
func (*ChainHeadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{4}
}
func (m *ChainHeadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChainHeadRequest.Unmarshal(m, b)
}
func (m *ChainHeadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChainHeadRequest.Marshal(b, m, deterministic)
}
func (dst *ChainHeadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChainHeadRequest.Merge(dst, src)
}
func (m *ChainHeadRequest) XXX_Size() int {
return xxx_messageInfo_ChainHeadRequest.Size(m)
}
func (m *ChainHeadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ChainHeadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ChainHeadRequest proto.InternalMessageInfo
type ChainHeadResponse struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
Block *BeaconBlock `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChainHeadResponse) Reset() { *m = ChainHeadResponse{} }
func (m *ChainHeadResponse) String() string { return proto.CompactTextString(m) }
func (*ChainHeadResponse) ProtoMessage() {}
func (*ChainHeadResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{5}
}
func (m *ChainHeadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChainHeadResponse.Unmarshal(m, b)
}
func (m *ChainHeadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChainHeadResponse.Marshal(b, m, deterministic)
}
func (dst *ChainHeadResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChainHeadResponse.Merge(dst, src)
}
func (m *ChainHeadResponse) XXX_Size() int {
return xxx_messageInfo_ChainHeadResponse.Size(m)
}
func (m *ChainHeadResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ChainHeadResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ChainHeadResponse proto.InternalMessageInfo
func (m *ChainHeadResponse) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (m *ChainHeadResponse) GetSlot() uint64 {
if m != nil {
return m.Slot
}
return 0
}
func (m *ChainHeadResponse) GetBlock() *BeaconBlock {
if m != nil {
return m.Block
}
return nil
}
type CrystallizedStateHashAnnounce struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrystallizedStateHashAnnounce) Reset() { *m = CrystallizedStateHashAnnounce{} }
func (m *CrystallizedStateHashAnnounce) String() string { return proto.CompactTextString(m) }
func (*CrystallizedStateHashAnnounce) ProtoMessage() {}
func (*CrystallizedStateHashAnnounce) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{6}
}
func (m *CrystallizedStateHashAnnounce) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrystallizedStateHashAnnounce.Unmarshal(m, b)
}
func (m *CrystallizedStateHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrystallizedStateHashAnnounce.Marshal(b, m, deterministic)
}
func (dst *CrystallizedStateHashAnnounce) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrystallizedStateHashAnnounce.Merge(dst, src)
}
func (m *CrystallizedStateHashAnnounce) XXX_Size() int {
return xxx_messageInfo_CrystallizedStateHashAnnounce.Size(m)
}
func (m *CrystallizedStateHashAnnounce) XXX_DiscardUnknown() {
xxx_messageInfo_CrystallizedStateHashAnnounce.DiscardUnknown(m)
}
var xxx_messageInfo_CrystallizedStateHashAnnounce proto.InternalMessageInfo
func (m *CrystallizedStateHashAnnounce) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type CrystallizedStateRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrystallizedStateRequest) Reset() { *m = CrystallizedStateRequest{} }
func (m *CrystallizedStateRequest) String() string { return proto.CompactTextString(m) }
func (*CrystallizedStateRequest) ProtoMessage() {}
func (*CrystallizedStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{7}
}
func (m *CrystallizedStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrystallizedStateRequest.Unmarshal(m, b)
}
func (m *CrystallizedStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrystallizedStateRequest.Marshal(b, m, deterministic)
}
func (dst *CrystallizedStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrystallizedStateRequest.Merge(dst, src)
}
func (m *CrystallizedStateRequest) XXX_Size() int {
return xxx_messageInfo_CrystallizedStateRequest.Size(m)
}
func (m *CrystallizedStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CrystallizedStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CrystallizedStateRequest proto.InternalMessageInfo
func (m *CrystallizedStateRequest) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type CrystallizedStateResponse struct {
CrystallizedState *CrystallizedState `protobuf:"bytes,1,opt,name=crystallized_state,json=crystallizedState,proto3" json:"crystallized_state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrystallizedStateResponse) Reset() { *m = CrystallizedStateResponse{} }
func (m *CrystallizedStateResponse) String() string { return proto.CompactTextString(m) }
func (*CrystallizedStateResponse) ProtoMessage() {}
func (*CrystallizedStateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{8}
}
func (m *CrystallizedStateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrystallizedStateResponse.Unmarshal(m, b)
}
func (m *CrystallizedStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrystallizedStateResponse.Marshal(b, m, deterministic)
}
func (dst *CrystallizedStateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrystallizedStateResponse.Merge(dst, src)
}
func (m *CrystallizedStateResponse) XXX_Size() int {
return xxx_messageInfo_CrystallizedStateResponse.Size(m)
}
func (m *CrystallizedStateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CrystallizedStateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CrystallizedStateResponse proto.InternalMessageInfo
func (m *CrystallizedStateResponse) GetCrystallizedState() *CrystallizedState {
if m != nil {
return m.CrystallizedState
}
return nil
}
type ActiveStateHashAnnounce struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActiveStateHashAnnounce) Reset() { *m = ActiveStateHashAnnounce{} }
func (m *ActiveStateHashAnnounce) String() string { return proto.CompactTextString(m) }
func (*ActiveStateHashAnnounce) ProtoMessage() {}
func (*ActiveStateHashAnnounce) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{9}
}
func (m *ActiveStateHashAnnounce) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActiveStateHashAnnounce.Unmarshal(m, b)
}
func (m *ActiveStateHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActiveStateHashAnnounce.Marshal(b, m, deterministic)
}
func (dst *ActiveStateHashAnnounce) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActiveStateHashAnnounce.Merge(dst, src)
}
func (m *ActiveStateHashAnnounce) XXX_Size() int {
return xxx_messageInfo_ActiveStateHashAnnounce.Size(m)
}
func (m *ActiveStateHashAnnounce) XXX_DiscardUnknown() {
xxx_messageInfo_ActiveStateHashAnnounce.DiscardUnknown(m)
}
var xxx_messageInfo_ActiveStateHashAnnounce proto.InternalMessageInfo
func (m *ActiveStateHashAnnounce) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type ActiveStateRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActiveStateRequest) Reset() { *m = ActiveStateRequest{} }
func (m *ActiveStateRequest) String() string { return proto.CompactTextString(m) }
func (*ActiveStateRequest) ProtoMessage() {}
func (*ActiveStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{10}
}
func (m *ActiveStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActiveStateRequest.Unmarshal(m, b)
}
func (m *ActiveStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActiveStateRequest.Marshal(b, m, deterministic)
}
func (dst *ActiveStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActiveStateRequest.Merge(dst, src)
}
func (m *ActiveStateRequest) XXX_Size() int {
return xxx_messageInfo_ActiveStateRequest.Size(m)
}
func (m *ActiveStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ActiveStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ActiveStateRequest proto.InternalMessageInfo
func (m *ActiveStateRequest) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type ActiveStateResponse struct {
ActiveState *ActiveState `protobuf:"bytes,1,opt,name=active_state,json=activeState,proto3" json:"active_state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActiveStateResponse) Reset() { *m = ActiveStateResponse{} }
func (m *ActiveStateResponse) String() string { return proto.CompactTextString(m) }
func (*ActiveStateResponse) ProtoMessage() {}
func (*ActiveStateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_messages_571a4a4edc7daa63, []int{11}
}
func (m *ActiveStateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActiveStateResponse.Unmarshal(m, b)
}
func (m *ActiveStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActiveStateResponse.Marshal(b, m, deterministic)
}
func (dst *ActiveStateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActiveStateResponse.Merge(dst, src)
}
func (m *ActiveStateResponse) XXX_Size() int {
return xxx_messageInfo_ActiveStateResponse.Size(m)
}
func (m *ActiveStateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ActiveStateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ActiveStateResponse proto.InternalMessageInfo
func (m *ActiveStateResponse) GetActiveState() *ActiveState {
if m != nil {
return m.ActiveState
}
return nil
}
func init() {
proto.RegisterType((*BeaconBlockHashAnnounce)(nil), "ethereum.beacon.p2p.v1.BeaconBlockHashAnnounce")
proto.RegisterType((*BeaconBlockRequest)(nil), "ethereum.beacon.p2p.v1.BeaconBlockRequest")
proto.RegisterType((*BeaconBlockRequestBySlotNumber)(nil), "ethereum.beacon.p2p.v1.BeaconBlockRequestBySlotNumber")
proto.RegisterType((*BeaconBlockResponse)(nil), "ethereum.beacon.p2p.v1.BeaconBlockResponse")
proto.RegisterType((*ChainHeadRequest)(nil), "ethereum.beacon.p2p.v1.ChainHeadRequest")
proto.RegisterType((*ChainHeadResponse)(nil), "ethereum.beacon.p2p.v1.ChainHeadResponse")
proto.RegisterType((*CrystallizedStateHashAnnounce)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateHashAnnounce")
proto.RegisterType((*CrystallizedStateRequest)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateRequest")
proto.RegisterType((*CrystallizedStateResponse)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateResponse")
proto.RegisterType((*ActiveStateHashAnnounce)(nil), "ethereum.beacon.p2p.v1.ActiveStateHashAnnounce")
proto.RegisterType((*ActiveStateRequest)(nil), "ethereum.beacon.p2p.v1.ActiveStateRequest")
proto.RegisterType((*ActiveStateResponse)(nil), "ethereum.beacon.p2p.v1.ActiveStateResponse")
proto.RegisterEnum("ethereum.beacon.p2p.v1.Topic", Topic_name, Topic_value)
}
func init() {
proto.RegisterFile("proto/beacon/p2p/v1/messages.proto", fileDescriptor_messages_571a4a4edc7daa63)
}
var fileDescriptor_messages_571a4a4edc7daa63 = []byte{
// 557 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdf, 0x6f, 0xd2, 0x40,
0x1c, 0x97, 0x8d, 0x6d, 0xfa, 0xed, 0x1e, 0xba, 0x43, 0x37, 0x36, 0xe3, 0x58, 0x3a, 0x13, 0xd1,
0x64, 0x25, 0x63, 0x4f, 0x3e, 0x5e, 0xbb, 0x9a, 0x92, 0x61, 0xab, 0x6d, 0x51, 0x67, 0x62, 0x9a,
0xa3, 0x5c, 0x80, 0x08, 0x6d, 0xe5, 0x0e, 0x12, 0xfc, 0x6f, 0xfc, 0x4b, 0x35, 0xbd, 0x95, 0xd1,
0x42, 0x99, 0xfa, 0x76, 0xf7, 0xf9, 0x75, 0xf7, 0xb9, 0x6f, 0x53, 0x50, 0xe2, 0x49, 0xc4, 0xa3,
0x46, 0x97, 0x92, 0x20, 0x0a, 0x1b, 0x71, 0x33, 0x6e, 0xcc, 0x2e, 0x1b, 0x63, 0xca, 0x18, 0xe9,
0x53, 0xa6, 0x0a, 0x12, 0x1d, 0x52, 0x3e, 0xa0, 0x13, 0x3a, 0x1d, 0xab, 0x77, 0x32, 0x35, 0x6e,
0xc6, 0xea, 0xec, 0xf2, 0xa4, 0x56, 0xe4, 0xe5, 0xf3, 0x78, 0x61, 0x54, 0x2e, 0xe0, 0x48, 0x13,
0xa4, 0x36, 0x8a, 0x82, 0xef, 0x26, 0x61, 0x03, 0x1c, 0x86, 0xd1, 0x34, 0x0c, 0x28, 0x42, 0x50,
0x1e, 0x10, 0x36, 0xa8, 0x96, 0xce, 0x4a, 0xf5, 0x7d,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