Documentation ¶
Index ¶
- Variables
- type AggregateAndProof
- func (*AggregateAndProof) Descriptor() ([]byte, []int)
- func (m *AggregateAndProof) GetAggregate() *v1alpha1.Attestation
- func (m *AggregateAndProof) GetIndex() uint64
- func (m *AggregateAndProof) GetSelectionProof() []byte
- func (m *AggregateAndProof) Marshal() (dAtA []byte, err error)
- func (m *AggregateAndProof) MarshalTo(dAtA []byte) (int, error)
- func (*AggregateAndProof) ProtoMessage()
- func (m *AggregateAndProof) Reset()
- func (m *AggregateAndProof) Size() (n int)
- func (m *AggregateAndProof) String() string
- func (m *AggregateAndProof) Unmarshal(dAtA []byte) error
- func (m *AggregateAndProof) XXX_DiscardUnknown()
- func (m *AggregateAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AggregateAndProof) XXX_Merge(src proto.Message)
- func (m *AggregateAndProof) XXX_Size() int
- func (m *AggregateAndProof) XXX_Unmarshal(b []byte) error
- type AttestationDataAndCustodyBit
- func (*AttestationDataAndCustodyBit) Descriptor() ([]byte, []int)
- func (m *AttestationDataAndCustodyBit) GetCustodyBit() bool
- func (m *AttestationDataAndCustodyBit) GetData() *v1alpha1.AttestationData
- func (m *AttestationDataAndCustodyBit) Marshal() (dAtA []byte, err error)
- func (m *AttestationDataAndCustodyBit) MarshalTo(dAtA []byte) (int, error)
- func (*AttestationDataAndCustodyBit) ProtoMessage()
- func (m *AttestationDataAndCustodyBit) Reset()
- func (m *AttestationDataAndCustodyBit) Size() (n int)
- func (m *AttestationDataAndCustodyBit) String() string
- func (m *AttestationDataAndCustodyBit) Unmarshal(dAtA []byte) error
- func (m *AttestationDataAndCustodyBit) XXX_DiscardUnknown()
- func (m *AttestationDataAndCustodyBit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationDataAndCustodyBit) XXX_Merge(src proto.Message)
- func (m *AttestationDataAndCustodyBit) XXX_Size() int
- func (m *AttestationDataAndCustodyBit) XXX_Unmarshal(b []byte) error
- type AttestationTarget
- func (*AttestationTarget) Descriptor() ([]byte, []int)
- func (m *AttestationTarget) GetBeaconBlockRoot() []byte
- func (m *AttestationTarget) GetParentRoot() []byte
- func (m *AttestationTarget) GetSlot() uint64
- func (m *AttestationTarget) Marshal() (dAtA []byte, err error)
- func (m *AttestationTarget) MarshalTo(dAtA []byte) (int, error)
- func (*AttestationTarget) ProtoMessage()
- func (m *AttestationTarget) Reset()
- func (m *AttestationTarget) Size() (n int)
- func (m *AttestationTarget) String() string
- func (m *AttestationTarget) Unmarshal(dAtA []byte) error
- func (m *AttestationTarget) XXX_DiscardUnknown()
- func (m *AttestationTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationTarget) XXX_Merge(src proto.Message)
- func (m *AttestationTarget) XXX_Size() int
- func (m *AttestationTarget) XXX_Unmarshal(b []byte) error
- type BeaconBlocksByRangeRequest
- func (*BeaconBlocksByRangeRequest) Descriptor() ([]byte, []int)
- func (m *BeaconBlocksByRangeRequest) GetCount() uint64
- func (m *BeaconBlocksByRangeRequest) GetHeadBlockRoot() []byte
- func (m *BeaconBlocksByRangeRequest) GetStartSlot() uint64
- func (m *BeaconBlocksByRangeRequest) GetStep() uint64
- func (m *BeaconBlocksByRangeRequest) Marshal() (dAtA []byte, err error)
- func (m *BeaconBlocksByRangeRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BeaconBlocksByRangeRequest) ProtoMessage()
- func (m *BeaconBlocksByRangeRequest) Reset()
- func (m *BeaconBlocksByRangeRequest) Size() (n int)
- func (m *BeaconBlocksByRangeRequest) String() string
- func (m *BeaconBlocksByRangeRequest) Unmarshal(dAtA []byte) error
- func (m *BeaconBlocksByRangeRequest) XXX_DiscardUnknown()
- func (m *BeaconBlocksByRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BeaconBlocksByRangeRequest) XXX_Merge(src proto.Message)
- func (m *BeaconBlocksByRangeRequest) XXX_Size() int
- func (m *BeaconBlocksByRangeRequest) XXX_Unmarshal(b []byte) error
- type BeaconState
- func (*BeaconState) Descriptor() ([]byte, []int)
- func (m *BeaconState) GetBalances() []uint64
- func (m *BeaconState) GetBlockRoots() [][]byte
- func (m *BeaconState) GetCurrentEpochAttestations() []*PendingAttestation
- func (m *BeaconState) GetCurrentJustifiedCheckpoint() *v1alpha1.Checkpoint
- func (m *BeaconState) GetEth1Data() *v1alpha1.Eth1Data
- func (m *BeaconState) GetEth1DataVotes() []*v1alpha1.Eth1Data
- func (m *BeaconState) GetEth1DepositIndex() uint64
- func (m *BeaconState) GetFinalizedCheckpoint() *v1alpha1.Checkpoint
- func (m *BeaconState) GetFork() *Fork
- func (m *BeaconState) GetGenesisTime() uint64
- func (m *BeaconState) GetHistoricalRoots() [][]byte
- func (m *BeaconState) GetJustificationBits() github_com_prysmaticlabs_go_bitfield.Bitvector4
- func (m *BeaconState) GetLatestBlockHeader() *v1alpha1.BeaconBlockHeader
- func (m *BeaconState) GetPreviousEpochAttestations() []*PendingAttestation
- func (m *BeaconState) GetPreviousJustifiedCheckpoint() *v1alpha1.Checkpoint
- func (m *BeaconState) GetRandaoMixes() [][]byte
- func (m *BeaconState) GetSlashings() []uint64
- func (m *BeaconState) GetSlot() uint64
- func (m *BeaconState) GetStateRoots() [][]byte
- func (m *BeaconState) GetValidators() []*v1alpha1.Validator
- func (m *BeaconState) Marshal() (dAtA []byte, err error)
- func (m *BeaconState) MarshalTo(dAtA []byte) (int, error)
- func (*BeaconState) ProtoMessage()
- func (m *BeaconState) Reset()
- func (m *BeaconState) Size() (n int)
- func (m *BeaconState) String() string
- func (m *BeaconState) Unmarshal(dAtA []byte) error
- func (m *BeaconState) XXX_DiscardUnknown()
- func (m *BeaconState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BeaconState) XXX_Merge(src proto.Message)
- func (m *BeaconState) XXX_Size() int
- func (m *BeaconState) XXX_Unmarshal(b []byte) error
- type Fork
- func (*Fork) Descriptor() ([]byte, []int)
- func (m *Fork) GetCurrentVersion() []byte
- func (m *Fork) GetEpoch() uint64
- func (m *Fork) GetPreviousVersion() []byte
- func (m *Fork) Marshal() (dAtA []byte, err error)
- func (m *Fork) MarshalTo(dAtA []byte) (int, error)
- func (*Fork) ProtoMessage()
- func (m *Fork) Reset()
- func (m *Fork) Size() (n int)
- func (m *Fork) String() string
- func (m *Fork) Unmarshal(dAtA []byte) error
- func (m *Fork) XXX_DiscardUnknown()
- func (m *Fork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fork) XXX_Merge(src proto.Message)
- func (m *Fork) XXX_Size() int
- func (m *Fork) XXX_Unmarshal(b []byte) error
- type HistoricalBatch
- func (*HistoricalBatch) Descriptor() ([]byte, []int)
- func (m *HistoricalBatch) GetBlockRoots() [][]byte
- func (m *HistoricalBatch) GetStateRoots() [][]byte
- func (m *HistoricalBatch) Marshal() (dAtA []byte, err error)
- func (m *HistoricalBatch) MarshalTo(dAtA []byte) (int, error)
- func (*HistoricalBatch) ProtoMessage()
- func (m *HistoricalBatch) Reset()
- func (m *HistoricalBatch) Size() (n int)
- func (m *HistoricalBatch) String() string
- func (m *HistoricalBatch) Unmarshal(dAtA []byte) error
- func (m *HistoricalBatch) XXX_DiscardUnknown()
- func (m *HistoricalBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoricalBatch) XXX_Merge(src proto.Message)
- func (m *HistoricalBatch) XXX_Size() int
- func (m *HistoricalBatch) XXX_Unmarshal(b []byte) error
- type PendingAttestation
- func (*PendingAttestation) Descriptor() ([]byte, []int)
- func (m *PendingAttestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist
- func (m *PendingAttestation) GetData() *v1alpha1.AttestationData
- func (m *PendingAttestation) GetInclusionDelay() uint64
- func (m *PendingAttestation) GetProposerIndex() uint64
- func (m *PendingAttestation) Marshal() (dAtA []byte, err error)
- func (m *PendingAttestation) MarshalTo(dAtA []byte) (int, error)
- func (*PendingAttestation) ProtoMessage()
- func (m *PendingAttestation) Reset()
- func (m *PendingAttestation) Size() (n int)
- func (m *PendingAttestation) String() string
- func (m *PendingAttestation) Unmarshal(dAtA []byte) error
- func (m *PendingAttestation) XXX_DiscardUnknown()
- func (m *PendingAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingAttestation) XXX_Merge(src proto.Message)
- func (m *PendingAttestation) XXX_Size() int
- func (m *PendingAttestation) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetFinalizedEpoch() uint64
- func (m *Status) GetFinalizedRoot() []byte
- func (m *Status) GetHeadForkVersion() []byte
- func (m *Status) GetHeadRoot() []byte
- func (m *Status) GetHeadSlot() uint64
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type ValidatorLatestVote
- func (*ValidatorLatestVote) Descriptor() ([]byte, []int)
- func (m *ValidatorLatestVote) GetEpoch() uint64
- func (m *ValidatorLatestVote) GetRoot() []byte
- func (m *ValidatorLatestVote) Marshal() (dAtA []byte, err error)
- func (m *ValidatorLatestVote) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorLatestVote) ProtoMessage()
- func (m *ValidatorLatestVote) Reset()
- func (m *ValidatorLatestVote) Size() (n int)
- func (m *ValidatorLatestVote) String() string
- func (m *ValidatorLatestVote) Unmarshal(dAtA []byte) error
- func (m *ValidatorLatestVote) XXX_DiscardUnknown()
- func (m *ValidatorLatestVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorLatestVote) XXX_Merge(src proto.Message)
- func (m *ValidatorLatestVote) XXX_Size() int
- func (m *ValidatorLatestVote) XXX_Unmarshal(b []byte) error
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 AggregateAndProof ¶ added in v0.2.3
type AggregateAndProof struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` Aggregate *v1alpha1.Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AggregateAndProof) Descriptor ¶ added in v0.2.3
func (*AggregateAndProof) Descriptor() ([]byte, []int)
func (*AggregateAndProof) GetAggregate ¶ added in v0.2.3
func (m *AggregateAndProof) GetAggregate() *v1alpha1.Attestation
func (*AggregateAndProof) GetIndex ¶ added in v0.2.3
func (m *AggregateAndProof) GetIndex() uint64
func (*AggregateAndProof) GetSelectionProof ¶ added in v0.2.3
func (m *AggregateAndProof) GetSelectionProof() []byte
func (*AggregateAndProof) Marshal ¶ added in v0.2.3
func (m *AggregateAndProof) Marshal() (dAtA []byte, err error)
func (*AggregateAndProof) MarshalTo ¶ added in v0.2.3
func (m *AggregateAndProof) MarshalTo(dAtA []byte) (int, error)
func (*AggregateAndProof) ProtoMessage ¶ added in v0.2.3
func (*AggregateAndProof) ProtoMessage()
func (*AggregateAndProof) Reset ¶ added in v0.2.3
func (m *AggregateAndProof) Reset()
func (*AggregateAndProof) Size ¶ added in v0.2.3
func (m *AggregateAndProof) Size() (n int)
func (*AggregateAndProof) String ¶ added in v0.2.3
func (m *AggregateAndProof) String() string
func (*AggregateAndProof) Unmarshal ¶ added in v0.2.3
func (m *AggregateAndProof) Unmarshal(dAtA []byte) error
func (*AggregateAndProof) XXX_DiscardUnknown ¶ added in v0.2.3
func (m *AggregateAndProof) XXX_DiscardUnknown()
func (*AggregateAndProof) XXX_Marshal ¶ added in v0.2.3
func (m *AggregateAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AggregateAndProof) XXX_Merge ¶ added in v0.2.3
func (m *AggregateAndProof) XXX_Merge(src proto.Message)
func (*AggregateAndProof) XXX_Size ¶ added in v0.2.3
func (m *AggregateAndProof) XXX_Size() int
func (*AggregateAndProof) XXX_Unmarshal ¶ added in v0.2.3
func (m *AggregateAndProof) XXX_Unmarshal(b []byte) error
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 (m *AttestationDataAndCustodyBit) GetData() *v1alpha1.AttestationData
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 (m *AttestationDataAndCustodyBit) String() 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"` 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) GetHistoricalRoots ¶
func (m *BeaconState) GetHistoricalRoots() [][]byte
func (*BeaconState) GetJustificationBits ¶
func (m *BeaconState) GetJustificationBits() github_com_prysmaticlabs_go_bitfield.Bitvector4
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) 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 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) GetCurrentVersion ¶
func (*Fork) GetPreviousVersion ¶
func (*Fork) ProtoMessage ¶
func (*Fork) ProtoMessage()
func (*Fork) XXX_DiscardUnknown ¶
func (m *Fork) XXX_DiscardUnknown()
func (*Fork) XXX_Unmarshal ¶
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) 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 (m *PendingAttestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist
func (*PendingAttestation) GetData ¶
func (m *PendingAttestation) GetData() *v1alpha1.AttestationData
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) GetFinalizedEpoch ¶
func (*Status) GetFinalizedRoot ¶
func (*Status) GetHeadForkVersion ¶
func (*Status) GetHeadRoot ¶
func (*Status) GetHeadSlot ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
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
Click to show internal directories.
Click to hide internal directories.