ethereum_beacon_p2p_v1

package
v1.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 316

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthArchive        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArchive          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupArchive = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMessages        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ArchivedActiveSetChanges added in v0.3.0

type ArchivedActiveSetChanges struct {
	Activated            []uint64                     `protobuf:"varint,1,rep,packed,name=activated,proto3" json:"activated,omitempty"`
	Exited               []uint64                     `protobuf:"varint,2,rep,packed,name=exited,proto3" json:"exited,omitempty"`
	Slashed              []uint64                     `protobuf:"varint,3,rep,packed,name=slashed,proto3" json:"slashed,omitempty"`
	Ejected              []uint64                     `protobuf:"varint,4,rep,packed,name=ejected,proto3" json:"ejected,omitempty"`
	VoluntaryExits       []*v1alpha1.VoluntaryExit    `protobuf:"bytes,6,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty"`
	ProposerSlashings    []*v1alpha1.ProposerSlashing `protobuf:"bytes,7,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty"`
	AttesterSlashings    []*v1alpha1.AttesterSlashing `protobuf:"bytes,8,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*ArchivedActiveSetChanges) Descriptor added in v0.3.0

func (*ArchivedActiveSetChanges) Descriptor() ([]byte, []int)

func (*ArchivedActiveSetChanges) GetActivated added in v0.3.0

func (m *ArchivedActiveSetChanges) GetActivated() []uint64

func (*ArchivedActiveSetChanges) GetAttesterSlashings added in v0.3.0

func (m *ArchivedActiveSetChanges) GetAttesterSlashings() []*v1alpha1.AttesterSlashing

func (*ArchivedActiveSetChanges) GetEjected added in v0.3.5

func (m *ArchivedActiveSetChanges) GetEjected() []uint64

func (*ArchivedActiveSetChanges) GetExited added in v0.3.0

func (m *ArchivedActiveSetChanges) GetExited() []uint64

func (*ArchivedActiveSetChanges) GetProposerSlashings added in v0.3.0

func (m *ArchivedActiveSetChanges) GetProposerSlashings() []*v1alpha1.ProposerSlashing

func (*ArchivedActiveSetChanges) GetSlashed added in v0.3.0

func (m *ArchivedActiveSetChanges) GetSlashed() []uint64

func (*ArchivedActiveSetChanges) GetVoluntaryExits added in v0.3.0

func (m *ArchivedActiveSetChanges) GetVoluntaryExits() []*v1alpha1.VoluntaryExit

func (*ArchivedActiveSetChanges) Marshal added in v0.3.0

func (m *ArchivedActiveSetChanges) Marshal() (dAtA []byte, err error)

func (*ArchivedActiveSetChanges) MarshalTo added in v0.3.0

func (m *ArchivedActiveSetChanges) MarshalTo(dAtA []byte) (int, error)

func (*ArchivedActiveSetChanges) MarshalToSizedBuffer added in v0.3.2

func (m *ArchivedActiveSetChanges) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArchivedActiveSetChanges) ProtoMessage added in v0.3.0

func (*ArchivedActiveSetChanges) ProtoMessage()

func (*ArchivedActiveSetChanges) Reset added in v0.3.0

func (m *ArchivedActiveSetChanges) Reset()

func (*ArchivedActiveSetChanges) Size added in v0.3.0

func (m *ArchivedActiveSetChanges) Size() (n int)

func (*ArchivedActiveSetChanges) String added in v0.3.0

func (m *ArchivedActiveSetChanges) String() string

func (*ArchivedActiveSetChanges) Unmarshal added in v0.3.0

func (m *ArchivedActiveSetChanges) Unmarshal(dAtA []byte) error

func (*ArchivedActiveSetChanges) XXX_DiscardUnknown added in v0.3.0

func (m *ArchivedActiveSetChanges) XXX_DiscardUnknown()

func (*ArchivedActiveSetChanges) XXX_Marshal added in v0.3.0

func (m *ArchivedActiveSetChanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchivedActiveSetChanges) XXX_Merge added in v0.3.0

func (m *ArchivedActiveSetChanges) XXX_Merge(src proto.Message)

func (*ArchivedActiveSetChanges) XXX_Size added in v0.3.0

func (m *ArchivedActiveSetChanges) XXX_Size() int

func (*ArchivedActiveSetChanges) XXX_Unmarshal added in v0.3.0

func (m *ArchivedActiveSetChanges) XXX_Unmarshal(b []byte) error

type ArchivedCommitteeInfo added in v0.3.0

type ArchivedCommitteeInfo struct {
	ProposerSeed         []byte   `protobuf:"bytes,1,opt,name=proposer_seed,json=proposerSeed,proto3" json:"proposer_seed,omitempty" ssz-size:"32"`
	AttesterSeed         []byte   `protobuf:"bytes,2,opt,name=attester_seed,json=attesterSeed,proto3" json:"attester_seed,omitempty" ssz-size:"32"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ArchivedCommitteeInfo) Descriptor added in v0.3.0

func (*ArchivedCommitteeInfo) Descriptor() ([]byte, []int)

func (*ArchivedCommitteeInfo) GetAttesterSeed added in v0.3.0

func (m *ArchivedCommitteeInfo) GetAttesterSeed() []byte

func (*ArchivedCommitteeInfo) GetProposerSeed added in v0.3.0

func (m *ArchivedCommitteeInfo) GetProposerSeed() []byte

func (*ArchivedCommitteeInfo) Marshal added in v0.3.0

func (m *ArchivedCommitteeInfo) Marshal() (dAtA []byte, err error)

func (*ArchivedCommitteeInfo) MarshalTo added in v0.3.0

func (m *ArchivedCommitteeInfo) MarshalTo(dAtA []byte) (int, error)

func (*ArchivedCommitteeInfo) MarshalToSizedBuffer added in v0.3.2

func (m *ArchivedCommitteeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArchivedCommitteeInfo) ProtoMessage added in v0.3.0

func (*ArchivedCommitteeInfo) ProtoMessage()

func (*ArchivedCommitteeInfo) Reset added in v0.3.0

func (m *ArchivedCommitteeInfo) Reset()

func (*ArchivedCommitteeInfo) Size added in v0.3.0

func (m *ArchivedCommitteeInfo) Size() (n int)

func (*ArchivedCommitteeInfo) String added in v0.3.0

func (m *ArchivedCommitteeInfo) String() string

func (*ArchivedCommitteeInfo) Unmarshal added in v0.3.0

func (m *ArchivedCommitteeInfo) Unmarshal(dAtA []byte) error

func (*ArchivedCommitteeInfo) XXX_DiscardUnknown added in v0.3.0

func (m *ArchivedCommitteeInfo) XXX_DiscardUnknown()

func (*ArchivedCommitteeInfo) XXX_Marshal added in v0.3.0

func (m *ArchivedCommitteeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchivedCommitteeInfo) XXX_Merge added in v0.3.0

func (m *ArchivedCommitteeInfo) XXX_Merge(src proto.Message)

func (*ArchivedCommitteeInfo) XXX_Size added in v0.3.0

func (m *ArchivedCommitteeInfo) XXX_Size() int

func (*ArchivedCommitteeInfo) XXX_Unmarshal added in v0.3.0

func (m *ArchivedCommitteeInfo) XXX_Unmarshal(b []byte) error

type BeaconBlocksByRangeRequest

type BeaconBlocksByRangeRequest struct {
	StartSlot            uint64   `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty"`
	Count                uint64   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Step                 uint64   `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BeaconBlocksByRangeRequest) Descriptor

func (*BeaconBlocksByRangeRequest) Descriptor() ([]byte, []int)

func (*BeaconBlocksByRangeRequest) GetCount

func (m *BeaconBlocksByRangeRequest) GetCount() uint64

func (*BeaconBlocksByRangeRequest) GetStartSlot

func (m *BeaconBlocksByRangeRequest) GetStartSlot() uint64

func (*BeaconBlocksByRangeRequest) GetStep

func (m *BeaconBlocksByRangeRequest) GetStep() uint64

func (*BeaconBlocksByRangeRequest) Marshal

func (m *BeaconBlocksByRangeRequest) Marshal() (dAtA []byte, err error)

func (*BeaconBlocksByRangeRequest) MarshalTo

func (m *BeaconBlocksByRangeRequest) MarshalTo(dAtA []byte) (int, error)

func (*BeaconBlocksByRangeRequest) MarshalToSizedBuffer added in v0.3.2

func (m *BeaconBlocksByRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BeaconBlocksByRangeRequest) ProtoMessage

func (*BeaconBlocksByRangeRequest) ProtoMessage()

func (*BeaconBlocksByRangeRequest) Reset

func (m *BeaconBlocksByRangeRequest) Reset()

func (*BeaconBlocksByRangeRequest) Size

func (m *BeaconBlocksByRangeRequest) Size() (n int)

func (*BeaconBlocksByRangeRequest) String

func (m *BeaconBlocksByRangeRequest) String() string

func (*BeaconBlocksByRangeRequest) Unmarshal

func (m *BeaconBlocksByRangeRequest) Unmarshal(dAtA []byte) error

func (*BeaconBlocksByRangeRequest) XXX_DiscardUnknown

func (m *BeaconBlocksByRangeRequest) XXX_DiscardUnknown()

func (*BeaconBlocksByRangeRequest) XXX_Marshal

func (m *BeaconBlocksByRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BeaconBlocksByRangeRequest) XXX_Merge

func (m *BeaconBlocksByRangeRequest) XXX_Merge(src proto.Message)

func (*BeaconBlocksByRangeRequest) XXX_Size

func (m *BeaconBlocksByRangeRequest) XXX_Size() int

func (*BeaconBlocksByRangeRequest) XXX_Unmarshal

func (m *BeaconBlocksByRangeRequest) XXX_Unmarshal(b []byte) error

type BeaconState

type BeaconState struct {
	GenesisTime                 uint64                                          `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	GenesisValidatorsRoot       []byte                                          `` /* 143-byte string literal not displayed */
	Slot                        uint64                                          `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty"`
	Fork                        *Fork                                           `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"`
	LatestBlockHeader           *v1alpha1.BeaconBlockHeader                     `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"`
	BlockRoots                  [][]byte                                        `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"`
	StateRoots                  [][]byte                                        `protobuf:"bytes,2003,rep,name=state_roots,json=stateRoots,proto3" json:"state_roots,omitempty" ssz-size:"8192,32"`
	HistoricalRoots             [][]byte                                        `` /* 144-byte string literal not displayed */
	Eth1Data                    *v1alpha1.Eth1Data                              `protobuf:"bytes,3001,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
	Eth1DataVotes               []*v1alpha1.Eth1Data                            `protobuf:"bytes,3002,rep,name=eth1_data_votes,json=eth1DataVotes,proto3" json:"eth1_data_votes,omitempty" ssz-max:"1024"`
	Eth1DepositIndex            uint64                                          `protobuf:"varint,3003,opt,name=eth1_deposit_index,json=eth1DepositIndex,proto3" json:"eth1_deposit_index,omitempty"`
	Validators                  []*v1alpha1.Validator                           `protobuf:"bytes,4001,rep,name=validators,proto3" json:"validators,omitempty" ssz-max:"1099511627776"`
	Balances                    []uint64                                        `protobuf:"varint,4002,rep,packed,name=balances,proto3" json:"balances,omitempty" ssz-max:"1099511627776"`
	RandaoMixes                 [][]byte                                        `protobuf:"bytes,5001,rep,name=randao_mixes,json=randaoMixes,proto3" json:"randao_mixes,omitempty" ssz-size:"65536,32"`
	Slashings                   []uint64                                        `protobuf:"varint,6001,rep,packed,name=slashings,proto3" json:"slashings,omitempty" ssz-size:"8192"`
	PreviousEpochAttestations   []*PendingAttestation                           `` /* 156-byte string literal not displayed */
	CurrentEpochAttestations    []*PendingAttestation                           `` /* 153-byte string literal not displayed */
	JustificationBits           github_com_prysmaticlabs_go_bitfield.Bitvector4 `` /* 185-byte string literal not displayed */
	PreviousJustifiedCheckpoint *v1alpha1.Checkpoint                            `` /* 147-byte string literal not displayed */
	CurrentJustifiedCheckpoint  *v1alpha1.Checkpoint                            `` /* 144-byte string literal not displayed */
	FinalizedCheckpoint         *v1alpha1.Checkpoint                            `protobuf:"bytes,8004,opt,name=finalized_checkpoint,json=finalizedCheckpoint,proto3" json:"finalized_checkpoint,omitempty"`
	XXX_NoUnkeyedLiteral        struct{}                                        `json:"-"`
	XXX_unrecognized            []byte                                          `json:"-"`
	XXX_sizecache               int32                                           `json:"-"`
}

func (*BeaconState) Descriptor

func (*BeaconState) Descriptor() ([]byte, []int)

func (*BeaconState) GetBalances

func (m *BeaconState) GetBalances() []uint64

func (*BeaconState) GetBlockRoots

func (m *BeaconState) GetBlockRoots() [][]byte

func (*BeaconState) GetCurrentEpochAttestations

func (m *BeaconState) GetCurrentEpochAttestations() []*PendingAttestation

func (*BeaconState) GetCurrentJustifiedCheckpoint

func (m *BeaconState) GetCurrentJustifiedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconState) GetEth1Data

func (m *BeaconState) GetEth1Data() *v1alpha1.Eth1Data

func (*BeaconState) GetEth1DataVotes

func (m *BeaconState) GetEth1DataVotes() []*v1alpha1.Eth1Data

func (*BeaconState) GetEth1DepositIndex

func (m *BeaconState) GetEth1DepositIndex() uint64

func (*BeaconState) GetFinalizedCheckpoint

func (m *BeaconState) GetFinalizedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconState) GetFork

func (m *BeaconState) GetFork() *Fork

func (*BeaconState) GetGenesisTime

func (m *BeaconState) GetGenesisTime() uint64

func (*BeaconState) GetGenesisValidatorsRoot added in v1.0.0

func (m *BeaconState) GetGenesisValidatorsRoot() []byte

func (*BeaconState) GetHistoricalRoots

func (m *BeaconState) GetHistoricalRoots() [][]byte

func (*BeaconState) GetJustificationBits

func (*BeaconState) GetLatestBlockHeader

func (m *BeaconState) GetLatestBlockHeader() *v1alpha1.BeaconBlockHeader

func (*BeaconState) GetPreviousEpochAttestations

func (m *BeaconState) GetPreviousEpochAttestations() []*PendingAttestation

func (*BeaconState) GetPreviousJustifiedCheckpoint

func (m *BeaconState) GetPreviousJustifiedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconState) GetRandaoMixes

func (m *BeaconState) GetRandaoMixes() [][]byte

func (*BeaconState) GetSlashings

func (m *BeaconState) GetSlashings() []uint64

func (*BeaconState) GetSlot

func (m *BeaconState) GetSlot() uint64

func (*BeaconState) GetStateRoots

func (m *BeaconState) GetStateRoots() [][]byte

func (*BeaconState) GetValidators

func (m *BeaconState) GetValidators() []*v1alpha1.Validator

func (*BeaconState) Marshal

func (m *BeaconState) Marshal() (dAtA []byte, err error)

func (*BeaconState) MarshalTo

func (m *BeaconState) MarshalTo(dAtA []byte) (int, error)

func (*BeaconState) MarshalToSizedBuffer added in v0.3.2

func (m *BeaconState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BeaconState) ProtoMessage

func (*BeaconState) ProtoMessage()

func (*BeaconState) Reset

func (m *BeaconState) Reset()

func (*BeaconState) Size

func (m *BeaconState) Size() (n int)

func (*BeaconState) String

func (m *BeaconState) String() string

func (*BeaconState) Unmarshal

func (m *BeaconState) Unmarshal(dAtA []byte) error

func (*BeaconState) XXX_DiscardUnknown

func (m *BeaconState) XXX_DiscardUnknown()

func (*BeaconState) XXX_Marshal

func (m *BeaconState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BeaconState) XXX_Merge

func (m *BeaconState) XXX_Merge(src proto.Message)

func (*BeaconState) XXX_Size

func (m *BeaconState) XXX_Size() int

func (*BeaconState) XXX_Unmarshal

func (m *BeaconState) XXX_Unmarshal(b []byte) error

type ENRForkID added in v1.0.0

type ENRForkID struct {
	CurrentForkDigest    []byte   `` /* 127-byte string literal not displayed */
	NextForkVersion      []byte   `protobuf:"bytes,2,opt,name=next_fork_version,json=nextForkVersion,proto3" json:"next_fork_version,omitempty" ssz-size:"4"`
	NextForkEpoch        uint64   `protobuf:"varint,3,opt,name=next_fork_epoch,json=nextForkEpoch,proto3" json:"next_fork_epoch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ENRForkID) Descriptor added in v1.0.0

func (*ENRForkID) Descriptor() ([]byte, []int)

func (*ENRForkID) GetCurrentForkDigest added in v1.0.0

func (m *ENRForkID) GetCurrentForkDigest() []byte

func (*ENRForkID) GetNextForkEpoch added in v1.0.0

func (m *ENRForkID) GetNextForkEpoch() uint64

func (*ENRForkID) GetNextForkVersion added in v1.0.0

func (m *ENRForkID) GetNextForkVersion() []byte

func (*ENRForkID) Marshal added in v1.0.0

func (m *ENRForkID) Marshal() (dAtA []byte, err error)

func (*ENRForkID) MarshalTo added in v1.0.0

func (m *ENRForkID) MarshalTo(dAtA []byte) (int, error)

func (*ENRForkID) MarshalToSizedBuffer added in v1.0.0

func (m *ENRForkID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ENRForkID) ProtoMessage added in v1.0.0

func (*ENRForkID) ProtoMessage()

func (*ENRForkID) Reset added in v1.0.0

func (m *ENRForkID) Reset()

func (*ENRForkID) Size added in v1.0.0

func (m *ENRForkID) Size() (n int)

func (*ENRForkID) String added in v1.0.0

func (m *ENRForkID) String() string

func (*ENRForkID) Unmarshal added in v1.0.0

func (m *ENRForkID) Unmarshal(dAtA []byte) error

func (*ENRForkID) XXX_DiscardUnknown added in v1.0.0

func (m *ENRForkID) XXX_DiscardUnknown()

func (*ENRForkID) XXX_Marshal added in v1.0.0

func (m *ENRForkID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ENRForkID) XXX_Merge added in v1.0.0

func (m *ENRForkID) XXX_Merge(src proto.Message)

func (*ENRForkID) XXX_Size added in v1.0.0

func (m *ENRForkID) XXX_Size() int

func (*ENRForkID) XXX_Unmarshal added in v1.0.0

func (m *ENRForkID) XXX_Unmarshal(b []byte) error

type Fork

type Fork struct {
	PreviousVersion      []byte   `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" ssz-size:"4"`
	CurrentVersion       []byte   `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"`
	Epoch                uint64   `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Fork) Descriptor

func (*Fork) Descriptor() ([]byte, []int)

func (*Fork) GetCurrentVersion

func (m *Fork) GetCurrentVersion() []byte

func (*Fork) GetEpoch

func (m *Fork) GetEpoch() uint64

func (*Fork) GetPreviousVersion

func (m *Fork) GetPreviousVersion() []byte

func (*Fork) Marshal

func (m *Fork) Marshal() (dAtA []byte, err error)

func (*Fork) MarshalTo

func (m *Fork) MarshalTo(dAtA []byte) (int, error)

func (*Fork) MarshalToSizedBuffer added in v0.3.2

func (m *Fork) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Fork) ProtoMessage

func (*Fork) ProtoMessage()

func (*Fork) Reset

func (m *Fork) Reset()

func (*Fork) Size

func (m *Fork) Size() (n int)

func (*Fork) String

func (m *Fork) String() string

func (*Fork) Unmarshal

func (m *Fork) Unmarshal(dAtA []byte) error

func (*Fork) XXX_DiscardUnknown

func (m *Fork) XXX_DiscardUnknown()

func (*Fork) XXX_Marshal

func (m *Fork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fork) XXX_Merge

func (m *Fork) XXX_Merge(src proto.Message)

func (*Fork) XXX_Size

func (m *Fork) XXX_Size() int

func (*Fork) XXX_Unmarshal

func (m *Fork) XXX_Unmarshal(b []byte) error

type ForkData added in v1.0.0

type ForkData struct {
	CurrentVersion        []byte   `protobuf:"bytes,4,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"`
	GenesisValidatorsRoot []byte   `` /* 140-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*ForkData) Descriptor added in v1.0.0

func (*ForkData) Descriptor() ([]byte, []int)

func (*ForkData) GetCurrentVersion added in v1.0.0

func (m *ForkData) GetCurrentVersion() []byte

func (*ForkData) GetGenesisValidatorsRoot added in v1.0.0

func (m *ForkData) GetGenesisValidatorsRoot() []byte

func (*ForkData) Marshal added in v1.0.0

func (m *ForkData) Marshal() (dAtA []byte, err error)

func (*ForkData) MarshalTo added in v1.0.0

func (m *ForkData) MarshalTo(dAtA []byte) (int, error)

func (*ForkData) MarshalToSizedBuffer added in v1.0.0

func (m *ForkData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForkData) ProtoMessage added in v1.0.0

func (*ForkData) ProtoMessage()

func (*ForkData) Reset added in v1.0.0

func (m *ForkData) Reset()

func (*ForkData) Size added in v1.0.0

func (m *ForkData) Size() (n int)

func (*ForkData) String added in v1.0.0

func (m *ForkData) String() string

func (*ForkData) Unmarshal added in v1.0.0

func (m *ForkData) Unmarshal(dAtA []byte) error

func (*ForkData) XXX_DiscardUnknown added in v1.0.0

func (m *ForkData) XXX_DiscardUnknown()

func (*ForkData) XXX_Marshal added in v1.0.0

func (m *ForkData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForkData) XXX_Merge added in v1.0.0

func (m *ForkData) XXX_Merge(src proto.Message)

func (*ForkData) XXX_Size added in v1.0.0

func (m *ForkData) XXX_Size() int

func (*ForkData) XXX_Unmarshal added in v1.0.0

func (m *ForkData) XXX_Unmarshal(b []byte) error

type HistoricalBatch

type HistoricalBatch struct {
	BlockRoots           [][]byte `protobuf:"bytes,1,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"`
	StateRoots           [][]byte `protobuf:"bytes,2,rep,name=state_roots,json=stateRoots,proto3" json:"state_roots,omitempty" ssz-size:"8192,32"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HistoricalBatch) Descriptor

func (*HistoricalBatch) Descriptor() ([]byte, []int)

func (*HistoricalBatch) GetBlockRoots

func (m *HistoricalBatch) GetBlockRoots() [][]byte

func (*HistoricalBatch) GetStateRoots

func (m *HistoricalBatch) GetStateRoots() [][]byte

func (*HistoricalBatch) Marshal

func (m *HistoricalBatch) Marshal() (dAtA []byte, err error)

func (*HistoricalBatch) MarshalTo

func (m *HistoricalBatch) MarshalTo(dAtA []byte) (int, error)

func (*HistoricalBatch) MarshalToSizedBuffer added in v0.3.2

func (m *HistoricalBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistoricalBatch) ProtoMessage

func (*HistoricalBatch) ProtoMessage()

func (*HistoricalBatch) Reset

func (m *HistoricalBatch) Reset()

func (*HistoricalBatch) Size

func (m *HistoricalBatch) Size() (n int)

func (*HistoricalBatch) String

func (m *HistoricalBatch) String() string

func (*HistoricalBatch) Unmarshal

func (m *HistoricalBatch) Unmarshal(dAtA []byte) error

func (*HistoricalBatch) XXX_DiscardUnknown

func (m *HistoricalBatch) XXX_DiscardUnknown()

func (*HistoricalBatch) XXX_Marshal

func (m *HistoricalBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HistoricalBatch) XXX_Merge

func (m *HistoricalBatch) XXX_Merge(src proto.Message)

func (*HistoricalBatch) XXX_Size

func (m *HistoricalBatch) XXX_Size() int

func (*HistoricalBatch) XXX_Unmarshal

func (m *HistoricalBatch) XXX_Unmarshal(b []byte) error

type MetaData added in v1.0.0

type MetaData struct {
	SeqNumber            uint64                                           `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"`
	Attnets              github_com_prysmaticlabs_go_bitfield.Bitvector64 `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                         `json:"-"`
	XXX_unrecognized     []byte                                           `json:"-"`
	XXX_sizecache        int32                                            `json:"-"`
}

func (*MetaData) Descriptor added in v1.0.0

func (*MetaData) Descriptor() ([]byte, []int)

func (*MetaData) GetAttnets added in v1.0.0

func (*MetaData) GetSeqNumber added in v1.0.0

func (m *MetaData) GetSeqNumber() uint64

func (*MetaData) Marshal added in v1.0.0

func (m *MetaData) Marshal() (dAtA []byte, err error)

func (*MetaData) MarshalTo added in v1.0.0

func (m *MetaData) MarshalTo(dAtA []byte) (int, error)

func (*MetaData) MarshalToSizedBuffer added in v1.0.0

func (m *MetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetaData) ProtoMessage added in v1.0.0

func (*MetaData) ProtoMessage()

func (*MetaData) Reset added in v1.0.0

func (m *MetaData) Reset()

func (*MetaData) Size added in v1.0.0

func (m *MetaData) Size() (n int)

func (*MetaData) String added in v1.0.0

func (m *MetaData) String() string

func (*MetaData) Unmarshal added in v1.0.0

func (m *MetaData) Unmarshal(dAtA []byte) error

func (*MetaData) XXX_DiscardUnknown added in v1.0.0

func (m *MetaData) XXX_DiscardUnknown()

func (*MetaData) XXX_Marshal added in v1.0.0

func (m *MetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetaData) XXX_Merge added in v1.0.0

func (m *MetaData) XXX_Merge(src proto.Message)

func (*MetaData) XXX_Size added in v1.0.0

func (m *MetaData) XXX_Size() int

func (*MetaData) XXX_Unmarshal added in v1.0.0

func (m *MetaData) XXX_Unmarshal(b []byte) error

type PendingAttestation

type PendingAttestation struct {
	AggregationBits      github_com_prysmaticlabs_go_bitfield.Bitlist `` /* 175-byte string literal not displayed */
	Data                 *v1alpha1.AttestationData                    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	InclusionDelay       uint64                                       `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty"`
	ProposerIndex        uint64                                       `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*PendingAttestation) Descriptor

func (*PendingAttestation) Descriptor() ([]byte, []int)

func (*PendingAttestation) GetAggregationBits

func (*PendingAttestation) GetData

func (*PendingAttestation) GetInclusionDelay

func (m *PendingAttestation) GetInclusionDelay() uint64

func (*PendingAttestation) GetProposerIndex

func (m *PendingAttestation) GetProposerIndex() uint64

func (*PendingAttestation) Marshal

func (m *PendingAttestation) Marshal() (dAtA []byte, err error)

func (*PendingAttestation) MarshalTo

func (m *PendingAttestation) MarshalTo(dAtA []byte) (int, error)

func (*PendingAttestation) MarshalToSizedBuffer added in v0.3.2

func (m *PendingAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingAttestation) ProtoMessage

func (*PendingAttestation) ProtoMessage()

func (*PendingAttestation) Reset

func (m *PendingAttestation) Reset()

func (*PendingAttestation) Size

func (m *PendingAttestation) Size() (n int)

func (*PendingAttestation) String

func (m *PendingAttestation) String() string

func (*PendingAttestation) Unmarshal

func (m *PendingAttestation) Unmarshal(dAtA []byte) error

func (*PendingAttestation) XXX_DiscardUnknown

func (m *PendingAttestation) XXX_DiscardUnknown()

func (*PendingAttestation) XXX_Marshal

func (m *PendingAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingAttestation) XXX_Merge

func (m *PendingAttestation) XXX_Merge(src proto.Message)

func (*PendingAttestation) XXX_Size

func (m *PendingAttestation) XXX_Size() int

func (*PendingAttestation) XXX_Unmarshal

func (m *PendingAttestation) XXX_Unmarshal(b []byte) error

type SignedAggregateAndProof

type SignedAggregateAndProof struct {
	Message              *v1alpha1.AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature            []byte                                 `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*SignedAggregateAndProof) Descriptor

func (*SignedAggregateAndProof) Descriptor() ([]byte, []int)

func (*SignedAggregateAndProof) GetMessage

func (*SignedAggregateAndProof) GetSignature

func (m *SignedAggregateAndProof) GetSignature() []byte

func (*SignedAggregateAndProof) Marshal

func (m *SignedAggregateAndProof) Marshal() (dAtA []byte, err error)

func (*SignedAggregateAndProof) MarshalTo

func (m *SignedAggregateAndProof) MarshalTo(dAtA []byte) (int, error)

func (*SignedAggregateAndProof) MarshalToSizedBuffer

func (m *SignedAggregateAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignedAggregateAndProof) ProtoMessage

func (*SignedAggregateAndProof) ProtoMessage()

func (*SignedAggregateAndProof) Reset

func (m *SignedAggregateAndProof) Reset()

func (*SignedAggregateAndProof) Size

func (m *SignedAggregateAndProof) Size() (n int)

func (*SignedAggregateAndProof) String

func (m *SignedAggregateAndProof) String() string

func (*SignedAggregateAndProof) Unmarshal

func (m *SignedAggregateAndProof) Unmarshal(dAtA []byte) error

func (*SignedAggregateAndProof) XXX_DiscardUnknown

func (m *SignedAggregateAndProof) XXX_DiscardUnknown()

func (*SignedAggregateAndProof) XXX_Marshal

func (m *SignedAggregateAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedAggregateAndProof) XXX_Merge

func (m *SignedAggregateAndProof) XXX_Merge(src proto.Message)

func (*SignedAggregateAndProof) XXX_Size

func (m *SignedAggregateAndProof) XXX_Size() int

func (*SignedAggregateAndProof) XXX_Unmarshal

func (m *SignedAggregateAndProof) XXX_Unmarshal(b []byte) error

type SigningRoot

type SigningRoot struct {
	ObjectRoot           []byte   `protobuf:"bytes,1,opt,name=object_root,json=objectRoot,proto3" json:"object_root,omitempty" ssz-size:"32"`
	Domain               []byte   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty" ssz-size:"32"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SigningRoot) Descriptor

func (*SigningRoot) Descriptor() ([]byte, []int)

func (*SigningRoot) GetDomain

func (m *SigningRoot) GetDomain() []byte

func (*SigningRoot) GetObjectRoot

func (m *SigningRoot) GetObjectRoot() []byte

func (*SigningRoot) Marshal

func (m *SigningRoot) Marshal() (dAtA []byte, err error)

func (*SigningRoot) MarshalTo

func (m *SigningRoot) MarshalTo(dAtA []byte) (int, error)

func (*SigningRoot) MarshalToSizedBuffer

func (m *SigningRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigningRoot) ProtoMessage

func (*SigningRoot) ProtoMessage()

func (*SigningRoot) Reset

func (m *SigningRoot) Reset()

func (*SigningRoot) Size

func (m *SigningRoot) Size() (n int)

func (*SigningRoot) String

func (m *SigningRoot) String() string

func (*SigningRoot) Unmarshal

func (m *SigningRoot) Unmarshal(dAtA []byte) error

func (*SigningRoot) XXX_DiscardUnknown

func (m *SigningRoot) XXX_DiscardUnknown()

func (*SigningRoot) XXX_Marshal

func (m *SigningRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigningRoot) XXX_Merge

func (m *SigningRoot) XXX_Merge(src proto.Message)

func (*SigningRoot) XXX_Size

func (m *SigningRoot) XXX_Size() int

func (*SigningRoot) XXX_Unmarshal

func (m *SigningRoot) XXX_Unmarshal(b []byte) error

type StateSummary added in v0.3.2

type StateSummary struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	Root                 []byte   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateSummary) Descriptor added in v0.3.2

func (*StateSummary) Descriptor() ([]byte, []int)

func (*StateSummary) GetRoot added in v0.3.2

func (m *StateSummary) GetRoot() []byte

func (*StateSummary) GetSlot added in v0.3.2

func (m *StateSummary) GetSlot() uint64

func (*StateSummary) Marshal added in v0.3.2

func (m *StateSummary) Marshal() (dAtA []byte, err error)

func (*StateSummary) MarshalTo added in v0.3.2

func (m *StateSummary) MarshalTo(dAtA []byte) (int, error)

func (*StateSummary) MarshalToSizedBuffer added in v0.3.2

func (m *StateSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateSummary) ProtoMessage added in v0.3.2

func (*StateSummary) ProtoMessage()

func (*StateSummary) Reset added in v0.3.2

func (m *StateSummary) Reset()

func (*StateSummary) Size added in v0.3.2

func (m *StateSummary) Size() (n int)

func (*StateSummary) String added in v0.3.2

func (m *StateSummary) String() string

func (*StateSummary) Unmarshal added in v0.3.2

func (m *StateSummary) Unmarshal(dAtA []byte) error

func (*StateSummary) XXX_DiscardUnknown added in v0.3.2

func (m *StateSummary) XXX_DiscardUnknown()

func (*StateSummary) XXX_Marshal added in v0.3.2

func (m *StateSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateSummary) XXX_Merge added in v0.3.2

func (m *StateSummary) XXX_Merge(src proto.Message)

func (*StateSummary) XXX_Size added in v0.3.2

func (m *StateSummary) XXX_Size() int

func (*StateSummary) XXX_Unmarshal added in v0.3.2

func (m *StateSummary) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	ForkDigest           []byte   `protobuf:"bytes,1,opt,name=fork_digest,json=forkDigest,proto3" json:"fork_digest,omitempty" ssz-size:"4"`
	FinalizedRoot        []byte   `protobuf:"bytes,2,opt,name=finalized_root,json=finalizedRoot,proto3" json:"finalized_root,omitempty" ssz-size:"32"`
	FinalizedEpoch       uint64   `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty"`
	HeadRoot             []byte   `protobuf:"bytes,4,opt,name=head_root,json=headRoot,proto3" json:"head_root,omitempty" ssz-size:"32"`
	HeadSlot             uint64   `protobuf:"varint,5,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) GetFinalizedEpoch

func (m *Status) GetFinalizedEpoch() uint64

func (*Status) GetFinalizedRoot

func (m *Status) GetFinalizedRoot() []byte

func (*Status) GetForkDigest added in v1.0.0

func (m *Status) GetForkDigest() []byte

func (*Status) GetHeadRoot

func (m *Status) GetHeadRoot() []byte

func (*Status) GetHeadSlot

func (m *Status) GetHeadSlot() uint64

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer added in v0.3.2

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type ValidatorLatestVote

type ValidatorLatestVote struct {
	Epoch                uint64   `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Root                 []byte   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorLatestVote) Descriptor

func (*ValidatorLatestVote) Descriptor() ([]byte, []int)

func (*ValidatorLatestVote) GetEpoch

func (m *ValidatorLatestVote) GetEpoch() uint64

func (*ValidatorLatestVote) GetRoot

func (m *ValidatorLatestVote) GetRoot() []byte

func (*ValidatorLatestVote) Marshal

func (m *ValidatorLatestVote) Marshal() (dAtA []byte, err error)

func (*ValidatorLatestVote) MarshalTo

func (m *ValidatorLatestVote) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorLatestVote) MarshalToSizedBuffer added in v0.3.2

func (m *ValidatorLatestVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorLatestVote) ProtoMessage

func (*ValidatorLatestVote) ProtoMessage()

func (*ValidatorLatestVote) Reset

func (m *ValidatorLatestVote) Reset()

func (*ValidatorLatestVote) Size

func (m *ValidatorLatestVote) Size() (n int)

func (*ValidatorLatestVote) String

func (m *ValidatorLatestVote) String() string

func (*ValidatorLatestVote) Unmarshal

func (m *ValidatorLatestVote) Unmarshal(dAtA []byte) error

func (*ValidatorLatestVote) XXX_DiscardUnknown

func (m *ValidatorLatestVote) XXX_DiscardUnknown()

func (*ValidatorLatestVote) XXX_Marshal

func (m *ValidatorLatestVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorLatestVote) XXX_Merge

func (m *ValidatorLatestVote) XXX_Merge(src proto.Message)

func (*ValidatorLatestVote) XXX_Size

func (m *ValidatorLatestVote) XXX_Size() int

func (*ValidatorLatestVote) XXX_Unmarshal

func (m *ValidatorLatestVote) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL