ethereum_beacon_p2p_v1

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 11 Imported by: 258

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: a3ac01ceb824ec218bdaaf4c91efd60c4dd39845bb89200edcfb95f78803bacf

Index

Constants

This section is empty.

Variables

View Source
var File_proto_beacon_p2p_v1_messages_proto protoreflect.FileDescriptor
View Source
var File_proto_beacon_p2p_v1_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BeaconBlocksByRangeRequest

type BeaconBlocksByRangeRequest struct {
	StartSlot github_com_prysmaticlabs_eth2_types.Slot `` /* 142-byte string literal not displayed */
	Count     uint64                                   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Step      uint64                                   `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconBlocksByRangeRequest) Descriptor deprecated

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

Deprecated: Use BeaconBlocksByRangeRequest.ProtoReflect.Descriptor instead.

func (*BeaconBlocksByRangeRequest) GetCount

func (x *BeaconBlocksByRangeRequest) GetCount() uint64

func (*BeaconBlocksByRangeRequest) GetStartSlot

func (*BeaconBlocksByRangeRequest) GetStep

func (x *BeaconBlocksByRangeRequest) GetStep() uint64

func (*BeaconBlocksByRangeRequest) HashTreeRoot added in v1.0.0

func (b *BeaconBlocksByRangeRequest) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconBlocksByRangeRequest object

func (*BeaconBlocksByRangeRequest) HashTreeRootWith added in v1.0.0

func (b *BeaconBlocksByRangeRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconBlocksByRangeRequest object with a hasher

func (*BeaconBlocksByRangeRequest) MarshalSSZ added in v1.0.0

func (b *BeaconBlocksByRangeRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconBlocksByRangeRequest object

func (*BeaconBlocksByRangeRequest) MarshalSSZTo added in v1.0.0

func (b *BeaconBlocksByRangeRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconBlocksByRangeRequest object to a target array

func (*BeaconBlocksByRangeRequest) ProtoMessage

func (*BeaconBlocksByRangeRequest) ProtoMessage()

func (*BeaconBlocksByRangeRequest) ProtoReflect added in v1.3.10

func (*BeaconBlocksByRangeRequest) Reset

func (x *BeaconBlocksByRangeRequest) Reset()

func (*BeaconBlocksByRangeRequest) SizeSSZ added in v1.0.0

func (b *BeaconBlocksByRangeRequest) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconBlocksByRangeRequest object

func (*BeaconBlocksByRangeRequest) String

func (x *BeaconBlocksByRangeRequest) String() string

func (*BeaconBlocksByRangeRequest) UnmarshalSSZ added in v1.0.0

func (b *BeaconBlocksByRangeRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconBlocksByRangeRequest object

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                        github_com_prysmaticlabs_eth2_types.Slot        `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	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:"2048"`
	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 `` /* 188-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"`
	// contains filtered or unexported fields
}

func (*BeaconState) Descriptor deprecated

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

Deprecated: Use BeaconState.ProtoReflect.Descriptor instead.

func (*BeaconState) GetBalances

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

func (*BeaconState) GetBlockRoots

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

func (*BeaconState) GetCurrentEpochAttestations

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

func (*BeaconState) GetCurrentJustifiedCheckpoint

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

func (*BeaconState) GetEth1Data

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

func (*BeaconState) GetEth1DataVotes

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

func (*BeaconState) GetEth1DepositIndex

func (x *BeaconState) GetEth1DepositIndex() uint64

func (*BeaconState) GetFinalizedCheckpoint

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

func (*BeaconState) GetFork

func (x *BeaconState) GetFork() *Fork

func (*BeaconState) GetGenesisTime

func (x *BeaconState) GetGenesisTime() uint64

func (*BeaconState) GetGenesisValidatorsRoot added in v1.0.0

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

func (*BeaconState) GetHistoricalRoots

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

func (*BeaconState) GetJustificationBits

func (*BeaconState) GetLatestBlockHeader

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

func (*BeaconState) GetPreviousEpochAttestations

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

func (*BeaconState) GetPreviousJustifiedCheckpoint

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

func (*BeaconState) GetRandaoMixes

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

func (*BeaconState) GetSlashings

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

func (*BeaconState) GetSlot

func (*BeaconState) GetStateRoots

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

func (*BeaconState) GetValidators

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

func (*BeaconState) HashTreeRoot added in v1.0.0

func (b *BeaconState) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconState object

func (*BeaconState) HashTreeRootWith added in v1.0.0

func (b *BeaconState) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconState object with a hasher

func (*BeaconState) MarshalSSZ added in v1.0.0

func (b *BeaconState) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconState object

func (*BeaconState) MarshalSSZTo added in v1.0.0

func (b *BeaconState) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconState object to a target array

func (*BeaconState) ProtoMessage

func (*BeaconState) ProtoMessage()

func (*BeaconState) ProtoReflect added in v1.3.10

func (x *BeaconState) ProtoReflect() protoreflect.Message

func (*BeaconState) Reset

func (x *BeaconState) Reset()

func (*BeaconState) SizeSSZ added in v1.0.0

func (b *BeaconState) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconState object

func (*BeaconState) String

func (x *BeaconState) String() string

func (*BeaconState) UnmarshalSSZ added in v1.0.0

func (b *BeaconState) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconState object

type BeaconStateAltair added in v1.3.11

type BeaconStateAltair 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                        github_com_prysmaticlabs_eth2_types.Slot        `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	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:"2048"`
	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"`
	PreviousEpochParticipation  []byte                                          `` /* 168-byte string literal not displayed */
	CurrentEpochParticipation   []byte                                          `` /* 165-byte string literal not displayed */
	JustificationBits           github_com_prysmaticlabs_go_bitfield.Bitvector4 `` /* 188-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"`
	InactivityScores            []uint64                                        `` /* 144-byte string literal not displayed */
	CurrentSyncCommittee        *SyncCommittee                                  `` /* 126-byte string literal not displayed */
	NextSyncCommittee           *SyncCommittee                                  `protobuf:"bytes,9003,opt,name=next_sync_committee,json=nextSyncCommittee,proto3" json:"next_sync_committee,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconStateAltair) Descriptor deprecated added in v1.3.11

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

Deprecated: Use BeaconStateAltair.ProtoReflect.Descriptor instead.

func (*BeaconStateAltair) GetBalances added in v1.3.11

func (x *BeaconStateAltair) GetBalances() []uint64

func (*BeaconStateAltair) GetBlockRoots added in v1.3.11

func (x *BeaconStateAltair) GetBlockRoots() [][]byte

func (*BeaconStateAltair) GetCurrentEpochParticipation added in v1.3.11

func (x *BeaconStateAltair) GetCurrentEpochParticipation() []byte

func (*BeaconStateAltair) GetCurrentJustifiedCheckpoint added in v1.3.11

func (x *BeaconStateAltair) GetCurrentJustifiedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconStateAltair) GetCurrentSyncCommittee added in v1.3.11

func (x *BeaconStateAltair) GetCurrentSyncCommittee() *SyncCommittee

func (*BeaconStateAltair) GetEth1Data added in v1.3.11

func (x *BeaconStateAltair) GetEth1Data() *v1alpha1.Eth1Data

func (*BeaconStateAltair) GetEth1DataVotes added in v1.3.11

func (x *BeaconStateAltair) GetEth1DataVotes() []*v1alpha1.Eth1Data

func (*BeaconStateAltair) GetEth1DepositIndex added in v1.3.11

func (x *BeaconStateAltair) GetEth1DepositIndex() uint64

func (*BeaconStateAltair) GetFinalizedCheckpoint added in v1.3.11

func (x *BeaconStateAltair) GetFinalizedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconStateAltair) GetFork added in v1.3.11

func (x *BeaconStateAltair) GetFork() *Fork

func (*BeaconStateAltair) GetGenesisTime added in v1.3.11

func (x *BeaconStateAltair) GetGenesisTime() uint64

func (*BeaconStateAltair) GetGenesisValidatorsRoot added in v1.3.11

func (x *BeaconStateAltair) GetGenesisValidatorsRoot() []byte

func (*BeaconStateAltair) GetHistoricalRoots added in v1.3.11

func (x *BeaconStateAltair) GetHistoricalRoots() [][]byte

func (*BeaconStateAltair) GetInactivityScores added in v1.3.11

func (x *BeaconStateAltair) GetInactivityScores() []uint64

func (*BeaconStateAltair) GetJustificationBits added in v1.3.11

func (*BeaconStateAltair) GetLatestBlockHeader added in v1.3.11

func (x *BeaconStateAltair) GetLatestBlockHeader() *v1alpha1.BeaconBlockHeader

func (*BeaconStateAltair) GetNextSyncCommittee added in v1.3.11

func (x *BeaconStateAltair) GetNextSyncCommittee() *SyncCommittee

func (*BeaconStateAltair) GetPreviousEpochParticipation added in v1.3.11

func (x *BeaconStateAltair) GetPreviousEpochParticipation() []byte

func (*BeaconStateAltair) GetPreviousJustifiedCheckpoint added in v1.3.11

func (x *BeaconStateAltair) GetPreviousJustifiedCheckpoint() *v1alpha1.Checkpoint

func (*BeaconStateAltair) GetRandaoMixes added in v1.3.11

func (x *BeaconStateAltair) GetRandaoMixes() [][]byte

func (*BeaconStateAltair) GetSlashings added in v1.3.11

func (x *BeaconStateAltair) GetSlashings() []uint64

func (*BeaconStateAltair) GetSlot added in v1.3.11

func (*BeaconStateAltair) GetStateRoots added in v1.3.11

func (x *BeaconStateAltair) GetStateRoots() [][]byte

func (*BeaconStateAltair) GetValidators added in v1.3.11

func (x *BeaconStateAltair) GetValidators() []*v1alpha1.Validator

func (*BeaconStateAltair) HashTreeRoot added in v1.3.11

func (b *BeaconStateAltair) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconStateAltair object

func (*BeaconStateAltair) HashTreeRootWith added in v1.3.11

func (b *BeaconStateAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconStateAltair object with a hasher

func (*BeaconStateAltair) MarshalSSZ added in v1.3.11

func (b *BeaconStateAltair) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconStateAltair object

func (*BeaconStateAltair) MarshalSSZTo added in v1.3.11

func (b *BeaconStateAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconStateAltair object to a target array

func (*BeaconStateAltair) ProtoMessage added in v1.3.11

func (*BeaconStateAltair) ProtoMessage()

func (*BeaconStateAltair) ProtoReflect added in v1.3.11

func (x *BeaconStateAltair) ProtoReflect() protoreflect.Message

func (*BeaconStateAltair) Reset added in v1.3.11

func (x *BeaconStateAltair) Reset()

func (*BeaconStateAltair) SizeSSZ added in v1.3.11

func (b *BeaconStateAltair) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconStateAltair object

func (*BeaconStateAltair) String added in v1.3.11

func (x *BeaconStateAltair) String() string

func (*BeaconStateAltair) UnmarshalSSZ added in v1.3.11

func (b *BeaconStateAltair) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconStateAltair object

type CheckPtInfo added in v1.0.0

type CheckPtInfo struct {
	Seed          []byte   `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"`
	GenesisRoot   []byte   `protobuf:"bytes,2,opt,name=genesis_root,json=genesisRoot,proto3" json:"genesis_root,omitempty"`
	ActiveIndices []uint64 `protobuf:"varint,3,rep,packed,name=active_indices,json=activeIndices,proto3" json:"active_indices,omitempty"`
	PubKeys       [][]byte `protobuf:"bytes,4,rep,name=pub_keys,json=pubKeys,proto3" json:"pub_keys,omitempty"`
	Fork          *Fork    `protobuf:"bytes,5,opt,name=fork,proto3" json:"fork,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPtInfo) Descriptor deprecated added in v1.0.0

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

Deprecated: Use CheckPtInfo.ProtoReflect.Descriptor instead.

func (*CheckPtInfo) GetActiveIndices added in v1.0.0

func (x *CheckPtInfo) GetActiveIndices() []uint64

func (*CheckPtInfo) GetFork added in v1.0.0

func (x *CheckPtInfo) GetFork() *Fork

func (*CheckPtInfo) GetGenesisRoot added in v1.0.0

func (x *CheckPtInfo) GetGenesisRoot() []byte

func (*CheckPtInfo) GetPubKeys added in v1.0.0

func (x *CheckPtInfo) GetPubKeys() [][]byte

func (*CheckPtInfo) GetSeed added in v1.0.0

func (x *CheckPtInfo) GetSeed() []byte

func (*CheckPtInfo) ProtoMessage added in v1.0.0

func (*CheckPtInfo) ProtoMessage()

func (*CheckPtInfo) ProtoReflect added in v1.3.10

func (x *CheckPtInfo) ProtoReflect() protoreflect.Message

func (*CheckPtInfo) Reset added in v1.0.0

func (x *CheckPtInfo) Reset()

func (*CheckPtInfo) String added in v1.0.0

func (x *CheckPtInfo) String() string

type DepositMessage added in v1.1.0

type DepositMessage struct {
	PublicKey             []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"`
	WithdrawalCredentials []byte `` /* 138-byte string literal not displayed */
	Amount                uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*DepositMessage) Descriptor deprecated added in v1.1.0

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

Deprecated: Use DepositMessage.ProtoReflect.Descriptor instead.

func (*DepositMessage) GetAmount added in v1.1.0

func (x *DepositMessage) GetAmount() uint64

func (*DepositMessage) GetPublicKey added in v1.1.0

func (x *DepositMessage) GetPublicKey() []byte

func (*DepositMessage) GetWithdrawalCredentials added in v1.1.0

func (x *DepositMessage) GetWithdrawalCredentials() []byte

func (*DepositMessage) HashTreeRoot added in v1.1.0

func (d *DepositMessage) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the DepositMessage object

func (*DepositMessage) HashTreeRootWith added in v1.1.0

func (d *DepositMessage) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the DepositMessage object with a hasher

func (*DepositMessage) MarshalSSZ added in v1.1.0

func (d *DepositMessage) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the DepositMessage object

func (*DepositMessage) MarshalSSZTo added in v1.1.0

func (d *DepositMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the DepositMessage object to a target array

func (*DepositMessage) ProtoMessage added in v1.1.0

func (*DepositMessage) ProtoMessage()

func (*DepositMessage) ProtoReflect added in v1.3.10

func (x *DepositMessage) ProtoReflect() protoreflect.Message

func (*DepositMessage) Reset added in v1.1.0

func (x *DepositMessage) Reset()

func (*DepositMessage) SizeSSZ added in v1.1.0

func (d *DepositMessage) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the DepositMessage object

func (*DepositMessage) String added in v1.1.0

func (x *DepositMessage) String() string

func (*DepositMessage) UnmarshalSSZ added in v1.1.0

func (d *DepositMessage) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the DepositMessage object

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     github_com_prysmaticlabs_eth2_types.Epoch `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ENRForkID) Descriptor deprecated added in v1.0.0

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

Deprecated: Use ENRForkID.ProtoReflect.Descriptor instead.

func (*ENRForkID) GetCurrentForkDigest added in v1.0.0

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

func (*ENRForkID) GetNextForkEpoch added in v1.0.0

func (x *ENRForkID) GetNextForkEpoch() github_com_prysmaticlabs_eth2_types.Epoch

func (*ENRForkID) GetNextForkVersion added in v1.0.0

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

func (*ENRForkID) HashTreeRoot added in v1.0.0

func (e *ENRForkID) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ENRForkID object

func (*ENRForkID) HashTreeRootWith added in v1.0.0

func (e *ENRForkID) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ENRForkID object with a hasher

func (*ENRForkID) MarshalSSZ added in v1.0.0

func (e *ENRForkID) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ENRForkID object

func (*ENRForkID) MarshalSSZTo added in v1.0.0

func (e *ENRForkID) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ENRForkID object to a target array

func (*ENRForkID) ProtoMessage added in v1.0.0

func (*ENRForkID) ProtoMessage()

func (*ENRForkID) ProtoReflect added in v1.3.10

func (x *ENRForkID) ProtoReflect() protoreflect.Message

func (*ENRForkID) Reset added in v1.0.0

func (x *ENRForkID) Reset()

func (*ENRForkID) SizeSSZ added in v1.0.0

func (e *ENRForkID) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ENRForkID object

func (*ENRForkID) String added in v1.0.0

func (x *ENRForkID) String() string

func (*ENRForkID) UnmarshalSSZ added in v1.0.0

func (e *ENRForkID) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ENRForkID object

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           github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	// contains filtered or unexported fields
}

func (*Fork) Descriptor deprecated

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

Deprecated: Use Fork.ProtoReflect.Descriptor instead.

func (*Fork) GetCurrentVersion

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

func (*Fork) GetEpoch

func (*Fork) GetPreviousVersion

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

func (*Fork) HashTreeRoot added in v1.0.0

func (f *Fork) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Fork object

func (*Fork) HashTreeRootWith added in v1.0.0

func (f *Fork) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Fork object with a hasher

func (*Fork) MarshalSSZ added in v1.0.0

func (f *Fork) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Fork object

func (*Fork) MarshalSSZTo added in v1.0.0

func (f *Fork) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Fork object to a target array

func (*Fork) ProtoMessage

func (*Fork) ProtoMessage()

func (*Fork) ProtoReflect added in v1.3.10

func (x *Fork) ProtoReflect() protoreflect.Message

func (*Fork) Reset

func (x *Fork) Reset()

func (*Fork) SizeSSZ added in v1.0.0

func (f *Fork) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Fork object

func (*Fork) String

func (x *Fork) String() string

func (*Fork) UnmarshalSSZ added in v1.0.0

func (f *Fork) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Fork object

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 */
	// contains filtered or unexported fields
}

func (*ForkData) Descriptor deprecated added in v1.0.0

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

Deprecated: Use ForkData.ProtoReflect.Descriptor instead.

func (*ForkData) GetCurrentVersion added in v1.0.0

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

func (*ForkData) GetGenesisValidatorsRoot added in v1.0.0

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

func (*ForkData) HashTreeRoot added in v1.0.0

func (f *ForkData) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ForkData object

func (*ForkData) HashTreeRootWith added in v1.0.0

func (f *ForkData) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ForkData object with a hasher

func (*ForkData) MarshalSSZ added in v1.0.0

func (f *ForkData) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ForkData object

func (*ForkData) MarshalSSZTo added in v1.0.0

func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ForkData object to a target array

func (*ForkData) ProtoMessage added in v1.0.0

func (*ForkData) ProtoMessage()

func (*ForkData) ProtoReflect added in v1.3.10

func (x *ForkData) ProtoReflect() protoreflect.Message

func (*ForkData) Reset added in v1.0.0

func (x *ForkData) Reset()

func (*ForkData) SizeSSZ added in v1.0.0

func (f *ForkData) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ForkData object

func (*ForkData) String added in v1.0.0

func (x *ForkData) String() string

func (*ForkData) UnmarshalSSZ added in v1.0.0

func (f *ForkData) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ForkData object

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"`
	// contains filtered or unexported fields
}

func (*HistoricalBatch) Descriptor deprecated

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

Deprecated: Use HistoricalBatch.ProtoReflect.Descriptor instead.

func (*HistoricalBatch) GetBlockRoots

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

func (*HistoricalBatch) GetStateRoots

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

func (*HistoricalBatch) HashTreeRoot added in v1.0.0

func (h *HistoricalBatch) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the HistoricalBatch object

func (*HistoricalBatch) HashTreeRootWith added in v1.0.0

func (h *HistoricalBatch) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the HistoricalBatch object with a hasher

func (*HistoricalBatch) MarshalSSZ added in v1.0.0

func (h *HistoricalBatch) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the HistoricalBatch object

func (*HistoricalBatch) MarshalSSZTo added in v1.0.0

func (h *HistoricalBatch) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the HistoricalBatch object to a target array

func (*HistoricalBatch) ProtoMessage

func (*HistoricalBatch) ProtoMessage()

func (*HistoricalBatch) ProtoReflect added in v1.3.10

func (x *HistoricalBatch) ProtoReflect() protoreflect.Message

func (*HistoricalBatch) Reset

func (x *HistoricalBatch) Reset()

func (*HistoricalBatch) SizeSSZ added in v1.0.0

func (h *HistoricalBatch) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the HistoricalBatch object

func (*HistoricalBatch) String

func (x *HistoricalBatch) String() string

func (*HistoricalBatch) UnmarshalSSZ added in v1.0.0

func (h *HistoricalBatch) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the HistoricalBatch object

type MetaDataV0 added in v1.3.11

type MetaDataV0 struct {
	SeqNumber uint64                                           `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"`
	Attnets   github_com_prysmaticlabs_go_bitfield.Bitvector64 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetaDataV0) Descriptor deprecated added in v1.3.11

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

Deprecated: Use MetaDataV0.ProtoReflect.Descriptor instead.

func (*MetaDataV0) GetAttnets added in v1.3.11

func (*MetaDataV0) GetSeqNumber added in v1.3.11

func (x *MetaDataV0) GetSeqNumber() uint64

func (*MetaDataV0) HashTreeRoot added in v1.3.11

func (m *MetaDataV0) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the MetaDataV0 object

func (*MetaDataV0) HashTreeRootWith added in v1.3.11

func (m *MetaDataV0) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the MetaDataV0 object with a hasher

func (*MetaDataV0) MarshalSSZ added in v1.3.11

func (m *MetaDataV0) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the MetaDataV0 object

func (*MetaDataV0) MarshalSSZTo added in v1.3.11

func (m *MetaDataV0) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the MetaDataV0 object to a target array

func (*MetaDataV0) ProtoMessage added in v1.3.11

func (*MetaDataV0) ProtoMessage()

func (*MetaDataV0) ProtoReflect added in v1.3.11

func (x *MetaDataV0) ProtoReflect() protoreflect.Message

func (*MetaDataV0) Reset added in v1.3.11

func (x *MetaDataV0) Reset()

func (*MetaDataV0) SizeSSZ added in v1.3.11

func (m *MetaDataV0) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the MetaDataV0 object

func (*MetaDataV0) String added in v1.3.11

func (x *MetaDataV0) String() string

func (*MetaDataV0) UnmarshalSSZ added in v1.3.11

func (m *MetaDataV0) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the MetaDataV0 object

type MetaDataV1 added in v1.3.11

type MetaDataV1 struct {
	SeqNumber uint64                                            `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"`
	Attnets   github_com_prysmaticlabs_go_bitfield.Bitvector64  `` /* 141-byte string literal not displayed */
	Syncnets  github_com_prysmaticlabs_go_bitfield.Bitvector512 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetaDataV1) Descriptor deprecated added in v1.3.11

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

Deprecated: Use MetaDataV1.ProtoReflect.Descriptor instead.

func (*MetaDataV1) GetAttnets added in v1.3.11

func (*MetaDataV1) GetSeqNumber added in v1.3.11

func (x *MetaDataV1) GetSeqNumber() uint64

func (*MetaDataV1) GetSyncnets added in v1.3.11

func (*MetaDataV1) HashTreeRoot added in v1.3.11

func (m *MetaDataV1) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the MetaDataV1 object

func (*MetaDataV1) HashTreeRootWith added in v1.3.11

func (m *MetaDataV1) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the MetaDataV1 object with a hasher

func (*MetaDataV1) MarshalSSZ added in v1.3.11

func (m *MetaDataV1) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the MetaDataV1 object

func (*MetaDataV1) MarshalSSZTo added in v1.3.11

func (m *MetaDataV1) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the MetaDataV1 object to a target array

func (*MetaDataV1) ProtoMessage added in v1.3.11

func (*MetaDataV1) ProtoMessage()

func (*MetaDataV1) ProtoReflect added in v1.3.11

func (x *MetaDataV1) ProtoReflect() protoreflect.Message

func (*MetaDataV1) Reset added in v1.3.11

func (x *MetaDataV1) Reset()

func (*MetaDataV1) SizeSSZ added in v1.3.11

func (m *MetaDataV1) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the MetaDataV1 object

func (*MetaDataV1) String added in v1.3.11

func (x *MetaDataV1) String() string

func (*MetaDataV1) UnmarshalSSZ added in v1.3.11

func (m *MetaDataV1) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the MetaDataV1 object

type PendingAttestation

type PendingAttestation struct {
	AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist       `` /* 178-byte string literal not displayed */
	Data            *v1alpha1.AttestationData                          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	InclusionDelay  github_com_prysmaticlabs_eth2_types.Slot           `` /* 157-byte string literal not displayed */
	ProposerIndex   github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PendingAttestation) Descriptor deprecated

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

Deprecated: Use PendingAttestation.ProtoReflect.Descriptor instead.

func (*PendingAttestation) GetAggregationBits

func (*PendingAttestation) GetData

func (*PendingAttestation) GetInclusionDelay

func (*PendingAttestation) GetProposerIndex

func (*PendingAttestation) HashTreeRoot added in v1.0.0

func (p *PendingAttestation) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the PendingAttestation object

func (*PendingAttestation) HashTreeRootWith added in v1.0.0

func (p *PendingAttestation) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the PendingAttestation object with a hasher

func (*PendingAttestation) MarshalSSZ added in v1.0.0

func (p *PendingAttestation) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the PendingAttestation object

func (*PendingAttestation) MarshalSSZTo added in v1.0.0

func (p *PendingAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the PendingAttestation object to a target array

func (*PendingAttestation) ProtoMessage

func (*PendingAttestation) ProtoMessage()

func (*PendingAttestation) ProtoReflect added in v1.3.10

func (x *PendingAttestation) ProtoReflect() protoreflect.Message

func (*PendingAttestation) Reset

func (x *PendingAttestation) Reset()

func (*PendingAttestation) SizeSSZ added in v1.0.0

func (p *PendingAttestation) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the PendingAttestation object

func (*PendingAttestation) String

func (x *PendingAttestation) String() string

func (*PendingAttestation) UnmarshalSSZ added in v1.0.0

func (p *PendingAttestation) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the PendingAttestation object

type SigningData added in v1.0.0

type SigningData 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"`
	// contains filtered or unexported fields
}

func (*SigningData) Descriptor deprecated added in v1.0.0

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

Deprecated: Use SigningData.ProtoReflect.Descriptor instead.

func (*SigningData) GetDomain added in v1.0.0

func (x *SigningData) GetDomain() []byte

func (*SigningData) GetObjectRoot added in v1.0.0

func (x *SigningData) GetObjectRoot() []byte

func (*SigningData) HashTreeRoot added in v1.0.0

func (s *SigningData) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the SigningData object

func (*SigningData) HashTreeRootWith added in v1.0.0

func (s *SigningData) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the SigningData object with a hasher

func (*SigningData) MarshalSSZ added in v1.0.0

func (s *SigningData) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the SigningData object

func (*SigningData) MarshalSSZTo added in v1.0.0

func (s *SigningData) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the SigningData object to a target array

func (*SigningData) ProtoMessage added in v1.0.0

func (*SigningData) ProtoMessage()

func (*SigningData) ProtoReflect added in v1.3.10

func (x *SigningData) ProtoReflect() protoreflect.Message

func (*SigningData) Reset added in v1.0.0

func (x *SigningData) Reset()

func (*SigningData) SizeSSZ added in v1.0.0

func (s *SigningData) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the SigningData object

func (*SigningData) String added in v1.0.0

func (x *SigningData) String() string

func (*SigningData) UnmarshalSSZ added in v1.0.0

func (s *SigningData) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SigningData object

type StateSummary added in v0.3.2

type StateSummary struct {
	Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	Root []byte                                   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*StateSummary) Descriptor deprecated added in v0.3.2

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

Deprecated: Use StateSummary.ProtoReflect.Descriptor instead.

func (*StateSummary) GetRoot added in v0.3.2

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

func (*StateSummary) GetSlot added in v0.3.2

func (*StateSummary) ProtoMessage added in v0.3.2

func (*StateSummary) ProtoMessage()

func (*StateSummary) ProtoReflect added in v1.3.10

func (x *StateSummary) ProtoReflect() protoreflect.Message

func (*StateSummary) Reset added in v0.3.2

func (x *StateSummary) Reset()

func (*StateSummary) String added in v0.3.2

func (x *StateSummary) String() string

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 github_com_prysmaticlabs_eth2_types.Epoch `` /* 158-byte string literal not displayed */
	HeadRoot       []byte                                    `protobuf:"bytes,4,opt,name=head_root,json=headRoot,proto3" json:"head_root,omitempty" ssz-size:"32"`
	HeadSlot       github_com_prysmaticlabs_eth2_types.Slot  `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetFinalizedEpoch

func (x *Status) GetFinalizedEpoch() github_com_prysmaticlabs_eth2_types.Epoch

func (*Status) GetFinalizedRoot

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

func (*Status) GetForkDigest added in v1.0.0

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

func (*Status) GetHeadRoot

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

func (*Status) GetHeadSlot

func (*Status) HashTreeRoot added in v1.0.0

func (s *Status) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Status object

func (*Status) HashTreeRootWith added in v1.0.0

func (s *Status) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Status object with a hasher

func (*Status) MarshalSSZ added in v1.0.0

func (s *Status) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Status object

func (*Status) MarshalSSZTo added in v1.0.0

func (s *Status) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Status object to a target array

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect added in v1.3.10

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) SizeSSZ added in v1.0.0

func (s *Status) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Status object

func (*Status) String

func (x *Status) String() string

func (*Status) UnmarshalSSZ added in v1.0.0

func (s *Status) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Status object

type SyncAggregatorSelectionData added in v1.3.11

type SyncAggregatorSelectionData struct {
	Slot              github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	SubcommitteeIndex uint64                                   `protobuf:"varint,2,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncAggregatorSelectionData) Descriptor deprecated added in v1.3.11

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

Deprecated: Use SyncAggregatorSelectionData.ProtoReflect.Descriptor instead.

func (*SyncAggregatorSelectionData) GetSlot added in v1.3.11

func (*SyncAggregatorSelectionData) GetSubcommitteeIndex added in v1.3.11

func (x *SyncAggregatorSelectionData) GetSubcommitteeIndex() uint64

func (*SyncAggregatorSelectionData) HashTreeRoot added in v1.3.11

func (s *SyncAggregatorSelectionData) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the SyncAggregatorSelectionData object

func (*SyncAggregatorSelectionData) HashTreeRootWith added in v1.3.11

func (s *SyncAggregatorSelectionData) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the SyncAggregatorSelectionData object with a hasher

func (*SyncAggregatorSelectionData) MarshalSSZ added in v1.3.11

func (s *SyncAggregatorSelectionData) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the SyncAggregatorSelectionData object

func (*SyncAggregatorSelectionData) MarshalSSZTo added in v1.3.11

func (s *SyncAggregatorSelectionData) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the SyncAggregatorSelectionData object to a target array

func (*SyncAggregatorSelectionData) ProtoMessage added in v1.3.11

func (*SyncAggregatorSelectionData) ProtoMessage()

func (*SyncAggregatorSelectionData) ProtoReflect added in v1.3.11

func (*SyncAggregatorSelectionData) Reset added in v1.3.11

func (x *SyncAggregatorSelectionData) Reset()

func (*SyncAggregatorSelectionData) SizeSSZ added in v1.3.11

func (s *SyncAggregatorSelectionData) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the SyncAggregatorSelectionData object

func (*SyncAggregatorSelectionData) String added in v1.3.11

func (x *SyncAggregatorSelectionData) String() string

func (*SyncAggregatorSelectionData) UnmarshalSSZ added in v1.3.11

func (s *SyncAggregatorSelectionData) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SyncAggregatorSelectionData object

type SyncCommittee added in v1.3.11

type SyncCommittee struct {
	Pubkeys         [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty" ssz-size:"512,48"`
	AggregatePubkey []byte   `protobuf:"bytes,2,opt,name=aggregate_pubkey,json=aggregatePubkey,proto3" json:"aggregate_pubkey,omitempty" ssz-size:"48"`
	// contains filtered or unexported fields
}

func (*SyncCommittee) Descriptor deprecated added in v1.3.11

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

Deprecated: Use SyncCommittee.ProtoReflect.Descriptor instead.

func (*SyncCommittee) GetAggregatePubkey added in v1.3.11

func (x *SyncCommittee) GetAggregatePubkey() []byte

func (*SyncCommittee) GetPubkeys added in v1.3.11

func (x *SyncCommittee) GetPubkeys() [][]byte

func (*SyncCommittee) HashTreeRoot added in v1.3.11

func (s *SyncCommittee) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the SyncCommittee object

func (*SyncCommittee) HashTreeRootWith added in v1.3.11

func (s *SyncCommittee) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the SyncCommittee object with a hasher

func (*SyncCommittee) MarshalSSZ added in v1.3.11

func (s *SyncCommittee) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the SyncCommittee object

func (*SyncCommittee) MarshalSSZTo added in v1.3.11

func (s *SyncCommittee) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the SyncCommittee object to a target array

func (*SyncCommittee) ProtoMessage added in v1.3.11

func (*SyncCommittee) ProtoMessage()

func (*SyncCommittee) ProtoReflect added in v1.3.11

func (x *SyncCommittee) ProtoReflect() protoreflect.Message

func (*SyncCommittee) Reset added in v1.3.11

func (x *SyncCommittee) Reset()

func (*SyncCommittee) SizeSSZ added in v1.3.11

func (s *SyncCommittee) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the SyncCommittee object

func (*SyncCommittee) String added in v1.3.11

func (x *SyncCommittee) String() string

func (*SyncCommittee) UnmarshalSSZ added in v1.3.11

func (s *SyncCommittee) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SyncCommittee object

Jump to

Keyboard shortcuts

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