ethereum_beacon_p2p_v1

package
v1.0.0-alpha.22 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: GPL-3.0 Imports: 9 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            uint64   `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty"`
	Count                uint64   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Step                 uint64   `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BeaconBlocksByRangeRequest) Descriptor

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

func (*BeaconBlocksByRangeRequest) GetCount

func (m *BeaconBlocksByRangeRequest) GetCount() uint64

func (*BeaconBlocksByRangeRequest) GetStartSlot

func (m *BeaconBlocksByRangeRequest) GetStartSlot() uint64

func (*BeaconBlocksByRangeRequest) GetStep

func (m *BeaconBlocksByRangeRequest) GetStep() uint64

func (*BeaconBlocksByRangeRequest) Marshal

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

func (*BeaconBlocksByRangeRequest) 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(dst []byte) ([]byte, 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 BeaconBlocksByRootRequest

type BeaconBlocksByRootRequest struct {
	BlockRoots           [][]byte `protobuf:"bytes,1,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"?,32" ssz-max:"1024"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BeaconBlocksByRootRequest) Descriptor

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

func (*BeaconBlocksByRootRequest) GetBlockRoots

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

func (*BeaconBlocksByRootRequest) Marshal

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

func (*BeaconBlocksByRootRequest) MarshalSSZ

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

MarshalSSZ ssz marshals the BeaconBlocksByRootRequest object

func (*BeaconBlocksByRootRequest) MarshalSSZTo

func (b *BeaconBlocksByRootRequest) MarshalSSZTo(dst []byte) ([]byte, error)

MarshalSSZTo ssz marshals the BeaconBlocksByRootRequest object to a target array

func (*BeaconBlocksByRootRequest) MarshalTo

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

func (*BeaconBlocksByRootRequest) MarshalToSizedBuffer

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

func (*BeaconBlocksByRootRequest) ProtoMessage

func (*BeaconBlocksByRootRequest) ProtoMessage()

func (*BeaconBlocksByRootRequest) Reset

func (m *BeaconBlocksByRootRequest) Reset()

func (*BeaconBlocksByRootRequest) Size

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

func (*BeaconBlocksByRootRequest) SizeSSZ

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

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

func (*BeaconBlocksByRootRequest) String

func (m *BeaconBlocksByRootRequest) String() string

func (*BeaconBlocksByRootRequest) Unmarshal

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

func (*BeaconBlocksByRootRequest) UnmarshalSSZ

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

UnmarshalSSZ ssz unmarshals the BeaconBlocksByRootRequest object

func (*BeaconBlocksByRootRequest) XXX_DiscardUnknown

func (m *BeaconBlocksByRootRequest) XXX_DiscardUnknown()

func (*BeaconBlocksByRootRequest) XXX_Marshal

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

func (*BeaconBlocksByRootRequest) XXX_Merge

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

func (*BeaconBlocksByRootRequest) XXX_Size

func (m *BeaconBlocksByRootRequest) XXX_Size() int

func (*BeaconBlocksByRootRequest) XXX_Unmarshal

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

type BeaconState

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

func (*BeaconState) Descriptor

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

func (*BeaconState) GetBalances

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

func (*BeaconState) GetBlockRoots

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

func (*BeaconState) GetCurrentEpochAttestations

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

func (*BeaconState) GetCurrentJustifiedCheckpoint

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

func (*BeaconState) GetEth1Data

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

func (*BeaconState) GetEth1DataVotes

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

func (*BeaconState) GetEth1DepositIndex

func (m *BeaconState) GetEth1DepositIndex() uint64

func (*BeaconState) GetFinalizedCheckpoint

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

func (*BeaconState) GetFork

func (m *BeaconState) GetFork() *Fork

func (*BeaconState) GetGenesisTime

func (m *BeaconState) GetGenesisTime() uint64

func (*BeaconState) GetGenesisValidatorsRoot added in v1.0.0

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

func (*BeaconState) GetHistoricalRoots

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

func (*BeaconState) GetJustificationBits

func (*BeaconState) GetLatestBlockHeader

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

func (*BeaconState) GetPreviousEpochAttestations

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

func (*BeaconState) GetPreviousJustifiedCheckpoint

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

func (*BeaconState) GetRandaoMixes

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

func (*BeaconState) GetSlashings

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

func (*BeaconState) GetSlot

func (m *BeaconState) GetSlot() uint64

func (*BeaconState) GetStateRoots

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

func (*BeaconState) GetValidators

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

func (*BeaconState) Marshal

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

func (*BeaconState) 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(dst []byte) ([]byte, 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 ENRForkID added in v1.0.0

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

func (*ENRForkID) Descriptor added in v1.0.0

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

func (*ENRForkID) GetCurrentForkDigest added in v1.0.0

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

func (*ENRForkID) GetNextForkEpoch added in v1.0.0

func (m *ENRForkID) GetNextForkEpoch() uint64

func (*ENRForkID) GetNextForkVersion added in v1.0.0

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

func (*ENRForkID) Marshal added in v1.0.0

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

func (*ENRForkID) 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(dst []byte) ([]byte, 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 ErrorResponse

type ErrorResponse struct {
	Message              []byte   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty" ssz-max:"256"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorResponse) Descriptor

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

func (*ErrorResponse) GetMessage

func (m *ErrorResponse) GetMessage() []byte

func (*ErrorResponse) Marshal

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

func (*ErrorResponse) MarshalSSZ

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

MarshalSSZ ssz marshals the ErrorResponse object

func (*ErrorResponse) MarshalSSZTo

func (e *ErrorResponse) MarshalSSZTo(dst []byte) ([]byte, error)

MarshalSSZTo ssz marshals the ErrorResponse object to a target array

func (*ErrorResponse) MarshalTo

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

func (*ErrorResponse) MarshalToSizedBuffer

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

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset

func (m *ErrorResponse) Reset()

func (*ErrorResponse) Size

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

func (*ErrorResponse) SizeSSZ

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

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

func (*ErrorResponse) String

func (m *ErrorResponse) String() string

func (*ErrorResponse) Unmarshal

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

func (*ErrorResponse) UnmarshalSSZ

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

UnmarshalSSZ ssz unmarshals the ErrorResponse object

func (*ErrorResponse) XXX_DiscardUnknown

func (m *ErrorResponse) XXX_DiscardUnknown()

func (*ErrorResponse) XXX_Marshal

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

func (*ErrorResponse) XXX_Merge

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

func (*ErrorResponse) XXX_Size

func (m *ErrorResponse) XXX_Size() int

func (*ErrorResponse) XXX_Unmarshal

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

type Fork

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

func (*Fork) Descriptor

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

func (*Fork) GetCurrentVersion

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

func (*Fork) GetEpoch

func (m *Fork) GetEpoch() uint64

func (*Fork) GetPreviousVersion

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

func (*Fork) Marshal

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

func (*Fork) 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(dst []byte) ([]byte, 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) Marshal added in v1.0.0

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

func (*ForkData) MarshalTo added in v1.0.0

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

func (*ForkData) MarshalToSizedBuffer added in v1.0.0

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

func (*ForkData) ProtoMessage added in v1.0.0

func (*ForkData) ProtoMessage()

func (*ForkData) Reset added in v1.0.0

func (m *ForkData) Reset()

func (*ForkData) Size added in v1.0.0

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

func (*ForkData) String added in v1.0.0

func (m *ForkData) String() string

func (*ForkData) Unmarshal added in v1.0.0

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

func (*ForkData) XXX_DiscardUnknown added in v1.0.0

func (m *ForkData) XXX_DiscardUnknown()

func (*ForkData) XXX_Marshal added in v1.0.0

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

func (*ForkData) XXX_Merge added in v1.0.0

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

func (*ForkData) XXX_Size added in v1.0.0

func (m *ForkData) XXX_Size() int

func (*ForkData) XXX_Unmarshal added in v1.0.0

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

type HistoricalBatch

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

func (*HistoricalBatch) Descriptor

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

func (*HistoricalBatch) GetBlockRoots

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

func (*HistoricalBatch) GetStateRoots

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

func (*HistoricalBatch) Marshal

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

func (*HistoricalBatch) 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(dst []byte) ([]byte, 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) 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(dst []byte) ([]byte, 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       uint64                                       `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty"`
	ProposerIndex        uint64                                       `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*PendingAttestation) Descriptor

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

func (*PendingAttestation) GetAggregationBits

func (*PendingAttestation) GetData

func (*PendingAttestation) GetInclusionDelay

func (m *PendingAttestation) GetInclusionDelay() uint64

func (*PendingAttestation) GetProposerIndex

func (m *PendingAttestation) GetProposerIndex() uint64

func (*PendingAttestation) Marshal

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

func (*PendingAttestation) 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(dst []byte) ([]byte, 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 SignedAggregateAndProof

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

func (*SignedAggregateAndProof) Descriptor

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

func (*SignedAggregateAndProof) GetMessage

func (*SignedAggregateAndProof) GetSignature

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

func (*SignedAggregateAndProof) Marshal

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

func (*SignedAggregateAndProof) MarshalTo

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

func (*SignedAggregateAndProof) MarshalToSizedBuffer

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

func (*SignedAggregateAndProof) ProtoMessage

func (*SignedAggregateAndProof) ProtoMessage()

func (*SignedAggregateAndProof) Reset

func (m *SignedAggregateAndProof) Reset()

func (*SignedAggregateAndProof) Size

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

func (*SignedAggregateAndProof) String

func (m *SignedAggregateAndProof) String() string

func (*SignedAggregateAndProof) Unmarshal

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

func (*SignedAggregateAndProof) XXX_DiscardUnknown

func (m *SignedAggregateAndProof) XXX_DiscardUnknown()

func (*SignedAggregateAndProof) XXX_Marshal

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

func (*SignedAggregateAndProof) XXX_Merge

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

func (*SignedAggregateAndProof) XXX_Size

func (m *SignedAggregateAndProof) XXX_Size() int

func (*SignedAggregateAndProof) XXX_Unmarshal

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

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

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

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) 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) 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                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	Root                 []byte   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateSummary) Descriptor added in v0.3.2

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

func (*StateSummary) GetRoot added in v0.3.2

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

func (*StateSummary) GetSlot added in v0.3.2

func (m *StateSummary) GetSlot() uint64

func (*StateSummary) Marshal added in v0.3.2

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

func (*StateSummary) MarshalTo added in v0.3.2

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

func (*StateSummary) MarshalToSizedBuffer added in v0.3.2

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

func (*StateSummary) ProtoMessage added in v0.3.2

func (*StateSummary) ProtoMessage()

func (*StateSummary) Reset added in v0.3.2

func (m *StateSummary) Reset()

func (*StateSummary) Size added in v0.3.2

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

func (*StateSummary) String added in v0.3.2

func (m *StateSummary) String() string

func (*StateSummary) Unmarshal added in v0.3.2

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

func (*StateSummary) XXX_DiscardUnknown added in v0.3.2

func (m *StateSummary) XXX_DiscardUnknown()

func (*StateSummary) XXX_Marshal added in v0.3.2

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

func (*StateSummary) XXX_Merge added in v0.3.2

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

func (*StateSummary) XXX_Size added in v0.3.2

func (m *StateSummary) XXX_Size() int

func (*StateSummary) XXX_Unmarshal added in v0.3.2

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

type Status

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

func (*Status) Descriptor

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

func (*Status) GetFinalizedEpoch

func (m *Status) GetFinalizedEpoch() uint64

func (*Status) GetFinalizedRoot

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

func (*Status) GetForkDigest added in v1.0.0

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

func (*Status) GetHeadRoot

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

func (*Status) GetHeadSlot

func (m *Status) GetHeadSlot() uint64

func (*Status) Marshal

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

func (*Status) 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(dst []byte) ([]byte, 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