ethereum_beacon_p2p_v1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

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")
)
View Source
var (
	ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AttestationDataAndCustodyBit

type AttestationDataAndCustodyBit struct {
	Data                 *v1alpha1.AttestationData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	CustodyBit           bool                      `protobuf:"varint,2,opt,name=custody_bit,json=custodyBit,proto3" json:"custody_bit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*AttestationDataAndCustodyBit) Descriptor

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

func (*AttestationDataAndCustodyBit) GetCustodyBit

func (m *AttestationDataAndCustodyBit) GetCustodyBit() bool

func (*AttestationDataAndCustodyBit) GetData

func (*AttestationDataAndCustodyBit) Marshal

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

func (*AttestationDataAndCustodyBit) MarshalTo

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

func (*AttestationDataAndCustodyBit) ProtoMessage

func (*AttestationDataAndCustodyBit) ProtoMessage()

func (*AttestationDataAndCustodyBit) Reset

func (m *AttestationDataAndCustodyBit) Reset()

func (*AttestationDataAndCustodyBit) Size

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

func (*AttestationDataAndCustodyBit) String

func (*AttestationDataAndCustodyBit) Unmarshal

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

func (*AttestationDataAndCustodyBit) XXX_DiscardUnknown

func (m *AttestationDataAndCustodyBit) XXX_DiscardUnknown()

func (*AttestationDataAndCustodyBit) XXX_Marshal

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

func (*AttestationDataAndCustodyBit) XXX_Merge

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

func (*AttestationDataAndCustodyBit) XXX_Size

func (m *AttestationDataAndCustodyBit) XXX_Size() int

func (*AttestationDataAndCustodyBit) XXX_Unmarshal

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

type AttestationTarget

type AttestationTarget struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	BeaconBlockRoot      []byte   `protobuf:"bytes,2,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"`
	ParentRoot           []byte   `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttestationTarget) Descriptor

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

func (*AttestationTarget) GetBeaconBlockRoot

func (m *AttestationTarget) GetBeaconBlockRoot() []byte

func (*AttestationTarget) GetParentRoot

func (m *AttestationTarget) GetParentRoot() []byte

func (*AttestationTarget) GetSlot

func (m *AttestationTarget) GetSlot() uint64

func (*AttestationTarget) Marshal

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

func (*AttestationTarget) MarshalTo

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

func (*AttestationTarget) ProtoMessage

func (*AttestationTarget) ProtoMessage()

func (*AttestationTarget) Reset

func (m *AttestationTarget) Reset()

func (*AttestationTarget) Size

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

func (*AttestationTarget) String

func (m *AttestationTarget) String() string

func (*AttestationTarget) Unmarshal

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

func (*AttestationTarget) XXX_DiscardUnknown

func (m *AttestationTarget) XXX_DiscardUnknown()

func (*AttestationTarget) XXX_Marshal

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

func (*AttestationTarget) XXX_Merge

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

func (*AttestationTarget) XXX_Size

func (m *AttestationTarget) XXX_Size() int

func (*AttestationTarget) XXX_Unmarshal

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

type BeaconBlocksByRangeRequest

type BeaconBlocksByRangeRequest struct {
	HeadBlockRoot        []byte   `protobuf:"bytes,1,opt,name=head_block_root,json=headBlockRoot,proto3" json:"head_block_root,omitempty" ssz-size:"32"`
	StartSlot            uint64   `protobuf:"varint,2,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty"`
	Count                uint64   `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Step                 uint64   `protobuf:"varint,4,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) GetHeadBlockRoot

func (m *BeaconBlocksByRangeRequest) GetHeadBlockRoot() []byte

func (*BeaconBlocksByRangeRequest) GetStartSlot

func (m *BeaconBlocksByRangeRequest) GetStartSlot() uint64

func (*BeaconBlocksByRangeRequest) GetStep

func (m *BeaconBlocksByRangeRequest) GetStep() uint64

func (*BeaconBlocksByRangeRequest) Marshal

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

func (*BeaconBlocksByRangeRequest) MarshalTo

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

func (*BeaconBlocksByRangeRequest) ProtoMessage

func (*BeaconBlocksByRangeRequest) ProtoMessage()

func (*BeaconBlocksByRangeRequest) Reset

func (m *BeaconBlocksByRangeRequest) Reset()

func (*BeaconBlocksByRangeRequest) Size

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

func (*BeaconBlocksByRangeRequest) String

func (m *BeaconBlocksByRangeRequest) String() string

func (*BeaconBlocksByRangeRequest) Unmarshal

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

func (*BeaconBlocksByRangeRequest) XXX_DiscardUnknown

func (m *BeaconBlocksByRangeRequest) XXX_DiscardUnknown()

func (*BeaconBlocksByRangeRequest) XXX_Marshal

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

func (*BeaconBlocksByRangeRequest) XXX_Merge

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

func (*BeaconBlocksByRangeRequest) XXX_Size

func (m *BeaconBlocksByRangeRequest) XXX_Size() int

func (*BeaconBlocksByRangeRequest) XXX_Unmarshal

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

type BeaconState

type BeaconState struct {
	GenesisTime                 uint64                                          `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	Slot                        uint64                                          `protobuf:"varint,1002,opt,name=slot,proto3" json:"slot,omitempty"`
	Fork                        *Fork                                           `protobuf:"bytes,1003,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"`
	StartShard                  uint64                                          `protobuf:"varint,5001,opt,name=start_shard,json=startShard,proto3" json:"start_shard,omitempty"`
	RandaoMixes                 [][]byte                                        `protobuf:"bytes,5002,rep,name=randao_mixes,json=randaoMixes,proto3" json:"randao_mixes,omitempty" ssz-size:"65536,32"`
	ActiveIndexRoots            [][]byte                                        `` /* 134-byte string literal not displayed */
	CompactCommitteesRoots      [][]byte                                        `` /* 152-byte string literal not displayed */
	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 */
	PreviousCrosslinks          []*v1alpha1.Crosslink                           `` /* 134-byte string literal not displayed */
	CurrentCrosslinks           []*v1alpha1.Crosslink                           `` /* 131-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,9004,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) GetActiveIndexRoots

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

func (*BeaconState) GetBalances

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

func (*BeaconState) GetBlockRoots

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

func (*BeaconState) GetCompactCommitteesRoots

func (m *BeaconState) GetCompactCommitteesRoots() [][]byte
func (m *BeaconState) GetCurrentCrosslinks() []*v1alpha1.Crosslink

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

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

func (*BeaconState) GetJustificationBits

func (*BeaconState) GetLatestBlockHeader

func (m *BeaconState) GetLatestBlockHeader() *v1alpha1.BeaconBlockHeader
func (m *BeaconState) GetPreviousCrosslinks() []*v1alpha1.Crosslink

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

func (m *BeaconState) GetStartShard() uint64

func (*BeaconState) GetStateRoots

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

func (*BeaconState) GetValidators

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

func (*BeaconState) Marshal

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

func (*BeaconState) MarshalTo

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

func (*BeaconState) ProtoMessage

func (*BeaconState) ProtoMessage()

func (*BeaconState) Reset

func (m *BeaconState) Reset()

func (*BeaconState) Size

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

func (*BeaconState) String

func (m *BeaconState) String() string

func (*BeaconState) Unmarshal

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

func (*BeaconState) XXX_DiscardUnknown

func (m *BeaconState) XXX_DiscardUnknown()

func (*BeaconState) XXX_Marshal

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

func (*BeaconState) XXX_Merge

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

func (*BeaconState) XXX_Size

func (m *BeaconState) XXX_Size() int

func (*BeaconState) XXX_Unmarshal

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

type CompactCommittee

type CompactCommittee struct {
	Pubkeys              [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty" ssz-size:"?,48" ssz-max:"4096"`
	CompactValidators    []uint64 `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompactCommittee) Descriptor

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

func (*CompactCommittee) GetCompactValidators

func (m *CompactCommittee) GetCompactValidators() []uint64

func (*CompactCommittee) GetPubkeys

func (m *CompactCommittee) GetPubkeys() [][]byte

func (*CompactCommittee) Marshal

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

func (*CompactCommittee) MarshalTo

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

func (*CompactCommittee) ProtoMessage

func (*CompactCommittee) ProtoMessage()

func (*CompactCommittee) Reset

func (m *CompactCommittee) Reset()

func (*CompactCommittee) Size

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

func (*CompactCommittee) String

func (m *CompactCommittee) String() string

func (*CompactCommittee) Unmarshal

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

func (*CompactCommittee) XXX_DiscardUnknown

func (m *CompactCommittee) XXX_DiscardUnknown()

func (*CompactCommittee) XXX_Marshal

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

func (*CompactCommittee) XXX_Merge

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

func (*CompactCommittee) XXX_Size

func (m *CompactCommittee) XXX_Size() int

func (*CompactCommittee) XXX_Unmarshal

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

type Fork

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

func (*Fork) Descriptor

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

func (*Fork) GetCurrentVersion

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

func (*Fork) GetEpoch

func (m *Fork) GetEpoch() uint64

func (*Fork) GetPreviousVersion

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

func (*Fork) Marshal

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

func (*Fork) MarshalTo

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

func (*Fork) ProtoMessage

func (*Fork) ProtoMessage()

func (*Fork) Reset

func (m *Fork) Reset()

func (*Fork) Size

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

func (*Fork) String

func (m *Fork) String() string

func (*Fork) Unmarshal

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

func (*Fork) XXX_DiscardUnknown

func (m *Fork) XXX_DiscardUnknown()

func (*Fork) XXX_Marshal

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

func (*Fork) XXX_Merge

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

func (*Fork) XXX_Size

func (m *Fork) XXX_Size() int

func (*Fork) XXX_Unmarshal

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

type HistoricalBatch

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

func (*HistoricalBatch) Descriptor

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

func (*HistoricalBatch) GetBlockRoots

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

func (*HistoricalBatch) GetStateRoots

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

func (*HistoricalBatch) Marshal

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

func (*HistoricalBatch) MarshalTo

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

func (*HistoricalBatch) ProtoMessage

func (*HistoricalBatch) ProtoMessage()

func (*HistoricalBatch) Reset

func (m *HistoricalBatch) Reset()

func (*HistoricalBatch) Size

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

func (*HistoricalBatch) String

func (m *HistoricalBatch) String() string

func (*HistoricalBatch) Unmarshal

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

func (*HistoricalBatch) XXX_DiscardUnknown

func (m *HistoricalBatch) XXX_DiscardUnknown()

func (*HistoricalBatch) XXX_Marshal

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

func (*HistoricalBatch) XXX_Merge

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

func (*HistoricalBatch) XXX_Size

func (m *HistoricalBatch) XXX_Size() int

func (*HistoricalBatch) XXX_Unmarshal

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

type PendingAttestation

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

func (*PendingAttestation) Descriptor

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

func (*PendingAttestation) GetAggregationBits

func (*PendingAttestation) GetData

func (*PendingAttestation) GetInclusionDelay

func (m *PendingAttestation) GetInclusionDelay() uint64

func (*PendingAttestation) GetProposerIndex

func (m *PendingAttestation) GetProposerIndex() uint64

func (*PendingAttestation) Marshal

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

func (*PendingAttestation) MarshalTo

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

func (*PendingAttestation) ProtoMessage

func (*PendingAttestation) ProtoMessage()

func (*PendingAttestation) Reset

func (m *PendingAttestation) Reset()

func (*PendingAttestation) Size

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

func (*PendingAttestation) String

func (m *PendingAttestation) String() string

func (*PendingAttestation) Unmarshal

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

func (*PendingAttestation) XXX_DiscardUnknown

func (m *PendingAttestation) XXX_DiscardUnknown()

func (*PendingAttestation) XXX_Marshal

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

func (*PendingAttestation) XXX_Merge

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

func (*PendingAttestation) XXX_Size

func (m *PendingAttestation) XXX_Size() int

func (*PendingAttestation) XXX_Unmarshal

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

type Status

type Status struct {
	HeadForkVersion      []byte   `protobuf:"bytes,1,opt,name=head_fork_version,json=headForkVersion,proto3" json:"head_fork_version,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) GetHeadForkVersion

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

func (*Status) GetHeadRoot

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

func (*Status) GetHeadSlot

func (m *Status) GetHeadSlot() uint64

func (*Status) Marshal

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

func (*Status) MarshalTo

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

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

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

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

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

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

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

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

type ValidatorLatestVote

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

func (*ValidatorLatestVote) Descriptor

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

func (*ValidatorLatestVote) GetEpoch

func (m *ValidatorLatestVote) GetEpoch() uint64

func (*ValidatorLatestVote) GetRoot

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

func (*ValidatorLatestVote) Marshal

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

func (*ValidatorLatestVote) MarshalTo

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

func (*ValidatorLatestVote) ProtoMessage

func (*ValidatorLatestVote) ProtoMessage()

func (*ValidatorLatestVote) Reset

func (m *ValidatorLatestVote) Reset()

func (*ValidatorLatestVote) Size

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

func (*ValidatorLatestVote) String

func (m *ValidatorLatestVote) String() string

func (*ValidatorLatestVote) Unmarshal

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

func (*ValidatorLatestVote) XXX_DiscardUnknown

func (m *ValidatorLatestVote) XXX_DiscardUnknown()

func (*ValidatorLatestVote) XXX_Marshal

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

func (*ValidatorLatestVote) XXX_Merge

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

func (*ValidatorLatestVote) XXX_Size

func (m *ValidatorLatestVote) XXX_Size() int

func (*ValidatorLatestVote) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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