ethereum_beacon_p2p_v1

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: GPL-3.0 Imports: 10 Imported by: 316

Documentation

Overview

Code generated by fastssz. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

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 BeaconBlocksByRangeRequest

type BeaconBlocksByRangeRequest struct {
	StartSlot            github_com_prysmaticlabs_eth2_types.Slot `` /* 139-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"`
	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 (*BeaconBlocksByRangeRequest) GetStep

func (m *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) Marshal

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

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) 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) 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 (m *BeaconBlocksByRangeRequest) String() string

func (*BeaconBlocksByRangeRequest) Unmarshal

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

func (*BeaconBlocksByRangeRequest) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the BeaconBlocksByRangeRequest object

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                        github_com_prysmaticlabs_eth2_types.Slot        `protobuf:"varint,1003,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" 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:"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 `` /* 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 (*BeaconState) GetStateRoots

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

func (*BeaconState) GetValidators

func (m *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) Marshal

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

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) 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) 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 (m *BeaconState) String() string

func (*BeaconState) Unmarshal

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

func (*BeaconState) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the BeaconState object

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 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckPtInfo) Descriptor added in v1.0.0

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

func (*CheckPtInfo) GetActiveIndices added in v1.0.0

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

func (*CheckPtInfo) GetFork added in v1.0.0

func (m *CheckPtInfo) GetFork() *Fork

func (*CheckPtInfo) GetGenesisRoot added in v1.0.0

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

func (*CheckPtInfo) GetPubKeys added in v1.0.0

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

func (*CheckPtInfo) GetSeed added in v1.0.0

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

func (*CheckPtInfo) Marshal added in v1.0.0

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

func (*CheckPtInfo) MarshalTo added in v1.0.0

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

func (*CheckPtInfo) MarshalToSizedBuffer added in v1.0.0

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

func (*CheckPtInfo) ProtoMessage added in v1.0.0

func (*CheckPtInfo) ProtoMessage()

func (*CheckPtInfo) Reset added in v1.0.0

func (m *CheckPtInfo) Reset()

func (*CheckPtInfo) Size added in v1.0.0

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

func (*CheckPtInfo) String added in v1.0.0

func (m *CheckPtInfo) String() string

func (*CheckPtInfo) Unmarshal added in v1.0.0

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

func (*CheckPtInfo) XXX_DiscardUnknown added in v1.0.0

func (m *CheckPtInfo) XXX_DiscardUnknown()

func (*CheckPtInfo) XXX_Marshal added in v1.0.0

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

func (*CheckPtInfo) XXX_Merge added in v1.0.0

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

func (*CheckPtInfo) XXX_Size added in v1.0.0

func (m *CheckPtInfo) XXX_Size() int

func (*CheckPtInfo) XXX_Unmarshal added in v1.0.0

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

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" ssz-size:"48" spec-name:"pubkey"`
	WithdrawalCredentials []byte   `` /* 138-byte string literal not displayed */
	Amount                uint64   `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*DepositMessage) Descriptor added in v1.1.0

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

func (*DepositMessage) GetAmount added in v1.1.0

func (m *DepositMessage) GetAmount() uint64

func (*DepositMessage) GetPublicKey added in v1.1.0

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

func (*DepositMessage) GetWithdrawalCredentials added in v1.1.0

func (m *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) Marshal added in v1.1.0

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

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) MarshalTo added in v1.1.0

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

func (*DepositMessage) MarshalToSizedBuffer added in v1.1.0

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

func (*DepositMessage) ProtoMessage added in v1.1.0

func (*DepositMessage) ProtoMessage()

func (*DepositMessage) Reset added in v1.1.0

func (m *DepositMessage) Reset()

func (*DepositMessage) Size added in v1.1.0

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

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 (m *DepositMessage) String() string

func (*DepositMessage) Unmarshal added in v1.1.0

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

func (*DepositMessage) UnmarshalSSZ added in v1.1.0

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

UnmarshalSSZ ssz unmarshals the DepositMessage object

func (*DepositMessage) XXX_DiscardUnknown added in v1.1.0

func (m *DepositMessage) XXX_DiscardUnknown()

func (*DepositMessage) XXX_Marshal added in v1.1.0

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

func (*DepositMessage) XXX_Merge added in v1.1.0

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

func (*DepositMessage) XXX_Size added in v1.1.0

func (m *DepositMessage) XXX_Size() int

func (*DepositMessage) XXX_Unmarshal added in v1.1.0

func (m *DepositMessage) 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        github_com_prysmaticlabs_eth2_types.Epoch `` /* 154-byte string literal not displayed */
	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() github_com_prysmaticlabs_eth2_types.Epoch

func (*ENRForkID) GetNextForkVersion added in v1.0.0

func (m *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) Marshal added in v1.0.0

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

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) 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) 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 (m *ENRForkID) String() string

func (*ENRForkID) Unmarshal added in v1.0.0

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

func (*ENRForkID) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the ENRForkID object

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                github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" 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 (*Fork) GetPreviousVersion

func (m *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) Marshal

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

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) 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) 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 (m *Fork) String() string

func (*Fork) Unmarshal

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

func (*Fork) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the Fork object

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) 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) Marshal added in v1.0.0

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

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) 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) 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 (m *ForkData) String() string

func (*ForkData) Unmarshal added in v1.0.0

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

func (*ForkData) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the ForkData object

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) 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) Marshal

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

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) 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) 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 (m *HistoricalBatch) String() string

func (*HistoricalBatch) Unmarshal

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

func (*HistoricalBatch) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the HistoricalBatch object

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 `` /* 138-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) HashTreeRoot added in v1.0.0

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

HashTreeRoot ssz hashes the MetaData object

func (*MetaData) HashTreeRootWith added in v1.0.0

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

HashTreeRootWith ssz hashes the MetaData object with a hasher

func (*MetaData) Marshal added in v1.0.0

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

func (*MetaData) MarshalSSZ added in v1.0.0

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

MarshalSSZ ssz marshals the MetaData object

func (*MetaData) MarshalSSZTo added in v1.0.0

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

MarshalSSZTo ssz marshals the MetaData object to a target array

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) SizeSSZ added in v1.0.0

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

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

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) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the MetaData object

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       github_com_prysmaticlabs_eth2_types.Slot           `` /* 154-byte string literal not displayed */
	ProposerIndex        github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 161-byte string literal not displayed */
	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 (*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) Marshal

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

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) 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) 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 (m *PendingAttestation) String() string

func (*PendingAttestation) Unmarshal

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

func (*PendingAttestation) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the PendingAttestation object

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 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SigningData) Descriptor added in v1.0.0

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

func (*SigningData) GetDomain added in v1.0.0

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

func (*SigningData) GetObjectRoot added in v1.0.0

func (m *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) Marshal added in v1.0.0

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

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) MarshalTo added in v1.0.0

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

func (*SigningData) MarshalToSizedBuffer added in v1.0.0

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

func (*SigningData) ProtoMessage added in v1.0.0

func (*SigningData) ProtoMessage()

func (*SigningData) Reset added in v1.0.0

func (m *SigningData) Reset()

func (*SigningData) Size added in v1.0.0

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

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 (m *SigningData) String() string

func (*SigningData) Unmarshal added in v1.0.0

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

func (*SigningData) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the SigningData object

func (*SigningData) XXX_DiscardUnknown added in v1.0.0

func (m *SigningData) XXX_DiscardUnknown()

func (*SigningData) XXX_Marshal added in v1.0.0

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

func (*SigningData) XXX_Merge added in v1.0.0

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

func (*SigningData) XXX_Size added in v1.0.0

func (m *SigningData) XXX_Size() int

func (*SigningData) XXX_Unmarshal added in v1.0.0

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

type StateSummary added in v0.3.2

type StateSummary struct {
	Slot                 github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" 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 (*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       github_com_prysmaticlabs_eth2_types.Epoch `` /* 155-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  `` /* 136-byte string literal not displayed */
	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() github_com_prysmaticlabs_eth2_types.Epoch

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 (*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) Marshal

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

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) 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) 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 (m *Status) String() string

func (*Status) Unmarshal

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

func (*Status) UnmarshalSSZ added in v1.0.0

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

UnmarshalSSZ ssz unmarshals the Status object

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

Jump to

Keyboard shortcuts

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