Documentation ¶
Index ¶
- Variables
- type AttestationContainer
- func (ac *AttestationContainer) Contains(att *ethpb.Attestation) bool
- func (*AttestationContainer) Descriptor() ([]byte, []int)
- func (m *AttestationContainer) GetData() *v1alpha1.AttestationData
- func (m *AttestationContainer) GetSignaturePairs() []*AttestationContainer_SignaturePair
- func (ac *AttestationContainer) InsertAttestation(att *ethpb.Attestation)
- func (m *AttestationContainer) Marshal() (dAtA []byte, err error)
- func (m *AttestationContainer) MarshalTo(dAtA []byte) (int, error)
- func (m *AttestationContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttestationContainer) ProtoMessage()
- func (m *AttestationContainer) Reset()
- func (m *AttestationContainer) Size() (n int)
- func (m *AttestationContainer) String() string
- func (ac *AttestationContainer) ToAttestations() []*ethpb.Attestation
- func (m *AttestationContainer) Unmarshal(dAtA []byte) error
- func (m *AttestationContainer) XXX_DiscardUnknown()
- func (m *AttestationContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationContainer) XXX_Merge(src proto.Message)
- func (m *AttestationContainer) XXX_Size() int
- func (m *AttestationContainer) XXX_Unmarshal(b []byte) error
- type AttestationContainer_SignaturePair
- func (*AttestationContainer_SignaturePair) Descriptor() ([]byte, []int)
- func (m *AttestationContainer_SignaturePair) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist
- func (m *AttestationContainer_SignaturePair) GetSignature() []byte
- func (m *AttestationContainer_SignaturePair) GetVoteCounted() bool
- func (m *AttestationContainer_SignaturePair) Marshal() (dAtA []byte, err error)
- func (m *AttestationContainer_SignaturePair) MarshalTo(dAtA []byte) (int, error)
- func (m *AttestationContainer_SignaturePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttestationContainer_SignaturePair) ProtoMessage()
- func (m *AttestationContainer_SignaturePair) Reset()
- func (m *AttestationContainer_SignaturePair) Size() (n int)
- func (m *AttestationContainer_SignaturePair) String() string
- func (m *AttestationContainer_SignaturePair) Unmarshal(dAtA []byte) error
- func (m *AttestationContainer_SignaturePair) XXX_DiscardUnknown()
- func (m *AttestationContainer_SignaturePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationContainer_SignaturePair) XXX_Merge(src proto.Message)
- func (m *AttestationContainer_SignaturePair) XXX_Size() int
- func (m *AttestationContainer_SignaturePair) XXX_Unmarshal(b []byte) error
- type ChainStartData
- func (*ChainStartData) Descriptor() ([]byte, []int)
- func (m *ChainStartData) GetChainstartDeposits() []*v1alpha1.Deposit
- func (m *ChainStartData) GetChainstarted() bool
- func (m *ChainStartData) GetEth1Data() *v1alpha1.Eth1Data
- func (m *ChainStartData) GetGenesisBlock() uint64
- func (m *ChainStartData) GetGenesisTime() uint64
- func (m *ChainStartData) Marshal() (dAtA []byte, err error)
- func (m *ChainStartData) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainStartData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainStartData) ProtoMessage()
- func (m *ChainStartData) Reset()
- func (m *ChainStartData) Size() (n int)
- func (m *ChainStartData) String() string
- func (m *ChainStartData) Unmarshal(dAtA []byte) error
- func (m *ChainStartData) XXX_DiscardUnknown()
- func (m *ChainStartData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainStartData) XXX_Merge(src proto.Message)
- func (m *ChainStartData) XXX_Size() int
- func (m *ChainStartData) XXX_Unmarshal(b []byte) error
- type DepositContainer
- func (*DepositContainer) Descriptor() ([]byte, []int)
- func (m *DepositContainer) GetDeposit() *v1alpha1.Deposit
- func (m *DepositContainer) GetDepositRoot() []byte
- func (m *DepositContainer) GetEth1BlockHeight() uint64
- func (m *DepositContainer) GetIndex() int64
- func (m *DepositContainer) Marshal() (dAtA []byte, err error)
- func (m *DepositContainer) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositContainer) ProtoMessage()
- func (m *DepositContainer) Reset()
- func (m *DepositContainer) Size() (n int)
- func (m *DepositContainer) String() string
- func (m *DepositContainer) Unmarshal(dAtA []byte) error
- func (m *DepositContainer) XXX_DiscardUnknown()
- func (m *DepositContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositContainer) XXX_Merge(src proto.Message)
- func (m *DepositContainer) XXX_Size() int
- func (m *DepositContainer) XXX_Unmarshal(b []byte) error
- type ETH1ChainData
- func (*ETH1ChainData) Descriptor() ([]byte, []int)
- func (m *ETH1ChainData) GetBeaconState() *v1.BeaconState
- func (m *ETH1ChainData) GetChainstartData() *ChainStartData
- func (m *ETH1ChainData) GetCurrentEth1Data() *LatestETH1Data
- func (m *ETH1ChainData) GetDepositContainers() []*DepositContainer
- func (m *ETH1ChainData) GetTrie() *SparseMerkleTrie
- func (m *ETH1ChainData) Marshal() (dAtA []byte, err error)
- func (m *ETH1ChainData) MarshalTo(dAtA []byte) (int, error)
- func (m *ETH1ChainData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ETH1ChainData) ProtoMessage()
- func (m *ETH1ChainData) Reset()
- func (m *ETH1ChainData) Size() (n int)
- func (m *ETH1ChainData) String() string
- func (m *ETH1ChainData) Unmarshal(dAtA []byte) error
- func (m *ETH1ChainData) XXX_DiscardUnknown()
- func (m *ETH1ChainData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ETH1ChainData) XXX_Merge(src proto.Message)
- func (m *ETH1ChainData) XXX_Size() int
- func (m *ETH1ChainData) XXX_Unmarshal(b []byte) error
- type FinalizedBlockRootContainer
- func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int)
- func (m *FinalizedBlockRootContainer) GetChildRoot() []byte
- func (m *FinalizedBlockRootContainer) GetParentRoot() []byte
- func (m *FinalizedBlockRootContainer) Marshal() (dAtA []byte, err error)
- func (m *FinalizedBlockRootContainer) MarshalTo(dAtA []byte) (int, error)
- func (m *FinalizedBlockRootContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FinalizedBlockRootContainer) ProtoMessage()
- func (m *FinalizedBlockRootContainer) Reset()
- func (m *FinalizedBlockRootContainer) Size() (n int)
- func (m *FinalizedBlockRootContainer) String() string
- func (m *FinalizedBlockRootContainer) Unmarshal(dAtA []byte) error
- func (m *FinalizedBlockRootContainer) XXX_DiscardUnknown()
- func (m *FinalizedBlockRootContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinalizedBlockRootContainer) XXX_Merge(src proto.Message)
- func (m *FinalizedBlockRootContainer) XXX_Size() int
- func (m *FinalizedBlockRootContainer) XXX_Unmarshal(b []byte) error
- type LatestETH1Data
- func (*LatestETH1Data) Descriptor() ([]byte, []int)
- func (m *LatestETH1Data) GetBlockHash() []byte
- func (m *LatestETH1Data) GetBlockHeight() uint64
- func (m *LatestETH1Data) GetBlockTime() uint64
- func (m *LatestETH1Data) GetLastRequestedBlock() uint64
- func (m *LatestETH1Data) Marshal() (dAtA []byte, err error)
- func (m *LatestETH1Data) MarshalTo(dAtA []byte) (int, error)
- func (m *LatestETH1Data) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LatestETH1Data) ProtoMessage()
- func (m *LatestETH1Data) Reset()
- func (m *LatestETH1Data) Size() (n int)
- func (m *LatestETH1Data) String() string
- func (m *LatestETH1Data) Unmarshal(dAtA []byte) error
- func (m *LatestETH1Data) XXX_DiscardUnknown()
- func (m *LatestETH1Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LatestETH1Data) XXX_Merge(src proto.Message)
- func (m *LatestETH1Data) XXX_Size() int
- func (m *LatestETH1Data) XXX_Unmarshal(b []byte) error
- type SparseMerkleTrie
- func (*SparseMerkleTrie) Descriptor() ([]byte, []int)
- func (m *SparseMerkleTrie) GetDepth() uint64
- func (m *SparseMerkleTrie) GetLayers() []*TrieLayer
- func (m *SparseMerkleTrie) GetOriginalItems() [][]byte
- func (m *SparseMerkleTrie) Marshal() (dAtA []byte, err error)
- func (m *SparseMerkleTrie) MarshalTo(dAtA []byte) (int, error)
- func (m *SparseMerkleTrie) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SparseMerkleTrie) ProtoMessage()
- func (m *SparseMerkleTrie) Reset()
- func (m *SparseMerkleTrie) Size() (n int)
- func (m *SparseMerkleTrie) String() string
- func (m *SparseMerkleTrie) Unmarshal(dAtA []byte) error
- func (m *SparseMerkleTrie) XXX_DiscardUnknown()
- func (m *SparseMerkleTrie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SparseMerkleTrie) XXX_Merge(src proto.Message)
- func (m *SparseMerkleTrie) XXX_Size() int
- func (m *SparseMerkleTrie) XXX_Unmarshal(b []byte) error
- type TrieLayer
- func (*TrieLayer) Descriptor() ([]byte, []int)
- func (m *TrieLayer) GetLayer() [][]byte
- func (m *TrieLayer) Marshal() (dAtA []byte, err error)
- func (m *TrieLayer) MarshalTo(dAtA []byte) (int, error)
- func (m *TrieLayer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrieLayer) ProtoMessage()
- func (m *TrieLayer) Reset()
- func (m *TrieLayer) Size() (n int)
- func (m *TrieLayer) String() string
- func (m *TrieLayer) Unmarshal(dAtA []byte) error
- func (m *TrieLayer) XXX_DiscardUnknown()
- func (m *TrieLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrieLayer) XXX_Merge(src proto.Message)
- func (m *TrieLayer) XXX_Size() int
- func (m *TrieLayer) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAttestationContainer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAttestationContainer = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAttestationContainer = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthFinalizedBlockRootContainer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFinalizedBlockRootContainer = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFinalizedBlockRootContainer = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type AttestationContainer ¶
type AttestationContainer struct { Data *v1alpha1.AttestationData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` SignaturePairs []*AttestationContainer_SignaturePair `protobuf:"bytes,2,rep,name=signature_pairs,json=signaturePairs,proto3" json:"signature_pairs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationContainer) Contains ¶
func (ac *AttestationContainer) Contains(att *ethpb.Attestation) bool
Contains returns true if the attestation bits are fully contained in some attestations.
func (*AttestationContainer) Descriptor ¶
func (*AttestationContainer) Descriptor() ([]byte, []int)
func (*AttestationContainer) GetData ¶
func (m *AttestationContainer) GetData() *v1alpha1.AttestationData
func (*AttestationContainer) GetSignaturePairs ¶
func (m *AttestationContainer) GetSignaturePairs() []*AttestationContainer_SignaturePair
func (*AttestationContainer) InsertAttestation ¶
func (ac *AttestationContainer) InsertAttestation(att *ethpb.Attestation)
InsertAttestation if bitfields do not exist already.
func (*AttestationContainer) Marshal ¶
func (m *AttestationContainer) Marshal() (dAtA []byte, err error)
func (*AttestationContainer) MarshalTo ¶
func (m *AttestationContainer) MarshalTo(dAtA []byte) (int, error)
func (*AttestationContainer) MarshalToSizedBuffer ¶
func (m *AttestationContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttestationContainer) ProtoMessage ¶
func (*AttestationContainer) ProtoMessage()
func (*AttestationContainer) Reset ¶
func (m *AttestationContainer) Reset()
func (*AttestationContainer) Size ¶
func (m *AttestationContainer) Size() (n int)
func (*AttestationContainer) String ¶
func (m *AttestationContainer) String() string
func (*AttestationContainer) ToAttestations ¶
func (ac *AttestationContainer) ToAttestations() []*ethpb.Attestation
ToAttestations converts an attestationContainer signature pairs to full attestations.
func (*AttestationContainer) Unmarshal ¶
func (m *AttestationContainer) Unmarshal(dAtA []byte) error
func (*AttestationContainer) XXX_DiscardUnknown ¶
func (m *AttestationContainer) XXX_DiscardUnknown()
func (*AttestationContainer) XXX_Marshal ¶
func (m *AttestationContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationContainer) XXX_Merge ¶
func (m *AttestationContainer) XXX_Merge(src proto.Message)
func (*AttestationContainer) XXX_Size ¶
func (m *AttestationContainer) XXX_Size() int
func (*AttestationContainer) XXX_Unmarshal ¶
func (m *AttestationContainer) XXX_Unmarshal(b []byte) error
type AttestationContainer_SignaturePair ¶
type AttestationContainer_SignaturePair struct { AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `` /* 160-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` VoteCounted bool `protobuf:"varint,3,opt,name=vote_counted,json=voteCounted,proto3" json:"vote_counted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationContainer_SignaturePair) Descriptor ¶
func (*AttestationContainer_SignaturePair) Descriptor() ([]byte, []int)
func (*AttestationContainer_SignaturePair) GetAggregationBits ¶
func (m *AttestationContainer_SignaturePair) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist
func (*AttestationContainer_SignaturePair) GetSignature ¶
func (m *AttestationContainer_SignaturePair) GetSignature() []byte
func (*AttestationContainer_SignaturePair) GetVoteCounted ¶
func (m *AttestationContainer_SignaturePair) GetVoteCounted() bool
func (*AttestationContainer_SignaturePair) Marshal ¶
func (m *AttestationContainer_SignaturePair) Marshal() (dAtA []byte, err error)
func (*AttestationContainer_SignaturePair) MarshalTo ¶
func (m *AttestationContainer_SignaturePair) MarshalTo(dAtA []byte) (int, error)
func (*AttestationContainer_SignaturePair) MarshalToSizedBuffer ¶
func (m *AttestationContainer_SignaturePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttestationContainer_SignaturePair) ProtoMessage ¶
func (*AttestationContainer_SignaturePair) ProtoMessage()
func (*AttestationContainer_SignaturePair) Reset ¶
func (m *AttestationContainer_SignaturePair) Reset()
func (*AttestationContainer_SignaturePair) Size ¶
func (m *AttestationContainer_SignaturePair) Size() (n int)
func (*AttestationContainer_SignaturePair) String ¶
func (m *AttestationContainer_SignaturePair) String() string
func (*AttestationContainer_SignaturePair) Unmarshal ¶
func (m *AttestationContainer_SignaturePair) Unmarshal(dAtA []byte) error
func (*AttestationContainer_SignaturePair) XXX_DiscardUnknown ¶
func (m *AttestationContainer_SignaturePair) XXX_DiscardUnknown()
func (*AttestationContainer_SignaturePair) XXX_Marshal ¶
func (m *AttestationContainer_SignaturePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationContainer_SignaturePair) XXX_Merge ¶
func (m *AttestationContainer_SignaturePair) XXX_Merge(src proto.Message)
func (*AttestationContainer_SignaturePair) XXX_Size ¶
func (m *AttestationContainer_SignaturePair) XXX_Size() int
func (*AttestationContainer_SignaturePair) XXX_Unmarshal ¶
func (m *AttestationContainer_SignaturePair) XXX_Unmarshal(b []byte) error
type ChainStartData ¶
type ChainStartData struct { Chainstarted bool `protobuf:"varint,1,opt,name=chainstarted,proto3" json:"chainstarted,omitempty"` GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisBlock uint64 `protobuf:"varint,3,opt,name=genesis_block,json=genesisBlock,proto3" json:"genesis_block,omitempty"` Eth1Data *v1alpha1.Eth1Data `protobuf:"bytes,4,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` ChainstartDeposits []*v1alpha1.Deposit `protobuf:"bytes,5,rep,name=chainstart_deposits,json=chainstartDeposits,proto3" json:"chainstart_deposits,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainStartData) Descriptor ¶
func (*ChainStartData) Descriptor() ([]byte, []int)
func (*ChainStartData) GetChainstartDeposits ¶
func (m *ChainStartData) GetChainstartDeposits() []*v1alpha1.Deposit
func (*ChainStartData) GetChainstarted ¶
func (m *ChainStartData) GetChainstarted() bool
func (*ChainStartData) GetEth1Data ¶
func (m *ChainStartData) GetEth1Data() *v1alpha1.Eth1Data
func (*ChainStartData) GetGenesisBlock ¶
func (m *ChainStartData) GetGenesisBlock() uint64
func (*ChainStartData) GetGenesisTime ¶
func (m *ChainStartData) GetGenesisTime() uint64
func (*ChainStartData) Marshal ¶
func (m *ChainStartData) Marshal() (dAtA []byte, err error)
func (*ChainStartData) MarshalToSizedBuffer ¶
func (m *ChainStartData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainStartData) ProtoMessage ¶
func (*ChainStartData) ProtoMessage()
func (*ChainStartData) Reset ¶
func (m *ChainStartData) Reset()
func (*ChainStartData) Size ¶
func (m *ChainStartData) Size() (n int)
func (*ChainStartData) String ¶
func (m *ChainStartData) String() string
func (*ChainStartData) Unmarshal ¶
func (m *ChainStartData) Unmarshal(dAtA []byte) error
func (*ChainStartData) XXX_DiscardUnknown ¶
func (m *ChainStartData) XXX_DiscardUnknown()
func (*ChainStartData) XXX_Marshal ¶
func (m *ChainStartData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainStartData) XXX_Merge ¶
func (m *ChainStartData) XXX_Merge(src proto.Message)
func (*ChainStartData) XXX_Size ¶
func (m *ChainStartData) XXX_Size() int
func (*ChainStartData) XXX_Unmarshal ¶
func (m *ChainStartData) XXX_Unmarshal(b []byte) error
type DepositContainer ¶
type DepositContainer struct { Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Eth1BlockHeight uint64 `protobuf:"varint,2,opt,name=eth1_block_height,json=eth1BlockHeight,proto3" json:"eth1_block_height,omitempty"` Deposit *v1alpha1.Deposit `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit,omitempty"` DepositRoot []byte `protobuf:"bytes,4,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DepositContainer) Descriptor ¶
func (*DepositContainer) Descriptor() ([]byte, []int)
func (*DepositContainer) GetDeposit ¶
func (m *DepositContainer) GetDeposit() *v1alpha1.Deposit
func (*DepositContainer) GetDepositRoot ¶
func (m *DepositContainer) GetDepositRoot() []byte
func (*DepositContainer) GetEth1BlockHeight ¶
func (m *DepositContainer) GetEth1BlockHeight() uint64
func (*DepositContainer) GetIndex ¶
func (m *DepositContainer) GetIndex() int64
func (*DepositContainer) Marshal ¶
func (m *DepositContainer) Marshal() (dAtA []byte, err error)
func (*DepositContainer) MarshalToSizedBuffer ¶
func (m *DepositContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DepositContainer) ProtoMessage ¶
func (*DepositContainer) ProtoMessage()
func (*DepositContainer) Reset ¶
func (m *DepositContainer) Reset()
func (*DepositContainer) Size ¶
func (m *DepositContainer) Size() (n int)
func (*DepositContainer) String ¶
func (m *DepositContainer) String() string
func (*DepositContainer) Unmarshal ¶
func (m *DepositContainer) Unmarshal(dAtA []byte) error
func (*DepositContainer) XXX_DiscardUnknown ¶
func (m *DepositContainer) XXX_DiscardUnknown()
func (*DepositContainer) XXX_Marshal ¶
func (m *DepositContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositContainer) XXX_Merge ¶
func (m *DepositContainer) XXX_Merge(src proto.Message)
func (*DepositContainer) XXX_Size ¶
func (m *DepositContainer) XXX_Size() int
func (*DepositContainer) XXX_Unmarshal ¶
func (m *DepositContainer) XXX_Unmarshal(b []byte) error
type ETH1ChainData ¶
type ETH1ChainData struct { CurrentEth1Data *LatestETH1Data `protobuf:"bytes,1,opt,name=current_eth1_data,json=currentEth1Data,proto3" json:"current_eth1_data,omitempty"` ChainstartData *ChainStartData `protobuf:"bytes,2,opt,name=chainstart_data,json=chainstartData,proto3" json:"chainstart_data,omitempty"` BeaconState *v1.BeaconState `protobuf:"bytes,3,opt,name=beacon_state,json=beaconState,proto3" json:"beacon_state,omitempty"` Trie *SparseMerkleTrie `protobuf:"bytes,4,opt,name=trie,proto3" json:"trie,omitempty"` DepositContainers []*DepositContainer `protobuf:"bytes,5,rep,name=deposit_containers,json=depositContainers,proto3" json:"deposit_containers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ETH1ChainData) Descriptor ¶
func (*ETH1ChainData) Descriptor() ([]byte, []int)
func (*ETH1ChainData) GetBeaconState ¶
func (m *ETH1ChainData) GetBeaconState() *v1.BeaconState
func (*ETH1ChainData) GetChainstartData ¶
func (m *ETH1ChainData) GetChainstartData() *ChainStartData
func (*ETH1ChainData) GetCurrentEth1Data ¶
func (m *ETH1ChainData) GetCurrentEth1Data() *LatestETH1Data
func (*ETH1ChainData) GetDepositContainers ¶
func (m *ETH1ChainData) GetDepositContainers() []*DepositContainer
func (*ETH1ChainData) GetTrie ¶
func (m *ETH1ChainData) GetTrie() *SparseMerkleTrie
func (*ETH1ChainData) Marshal ¶
func (m *ETH1ChainData) Marshal() (dAtA []byte, err error)
func (*ETH1ChainData) MarshalToSizedBuffer ¶
func (m *ETH1ChainData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ETH1ChainData) ProtoMessage ¶
func (*ETH1ChainData) ProtoMessage()
func (*ETH1ChainData) Reset ¶
func (m *ETH1ChainData) Reset()
func (*ETH1ChainData) Size ¶
func (m *ETH1ChainData) Size() (n int)
func (*ETH1ChainData) String ¶
func (m *ETH1ChainData) String() string
func (*ETH1ChainData) Unmarshal ¶
func (m *ETH1ChainData) Unmarshal(dAtA []byte) error
func (*ETH1ChainData) XXX_DiscardUnknown ¶
func (m *ETH1ChainData) XXX_DiscardUnknown()
func (*ETH1ChainData) XXX_Marshal ¶
func (m *ETH1ChainData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ETH1ChainData) XXX_Merge ¶
func (m *ETH1ChainData) XXX_Merge(src proto.Message)
func (*ETH1ChainData) XXX_Size ¶
func (m *ETH1ChainData) XXX_Size() int
func (*ETH1ChainData) XXX_Unmarshal ¶
func (m *ETH1ChainData) XXX_Unmarshal(b []byte) error
type FinalizedBlockRootContainer ¶
type FinalizedBlockRootContainer struct { ParentRoot []byte `protobuf:"bytes,1,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"` ChildRoot []byte `protobuf:"bytes,2,opt,name=child_root,json=childRoot,proto3" json:"child_root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FinalizedBlockRootContainer) Descriptor ¶
func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int)
func (*FinalizedBlockRootContainer) GetChildRoot ¶
func (m *FinalizedBlockRootContainer) GetChildRoot() []byte
func (*FinalizedBlockRootContainer) GetParentRoot ¶
func (m *FinalizedBlockRootContainer) GetParentRoot() []byte
func (*FinalizedBlockRootContainer) Marshal ¶
func (m *FinalizedBlockRootContainer) Marshal() (dAtA []byte, err error)
func (*FinalizedBlockRootContainer) MarshalTo ¶
func (m *FinalizedBlockRootContainer) MarshalTo(dAtA []byte) (int, error)
func (*FinalizedBlockRootContainer) MarshalToSizedBuffer ¶
func (m *FinalizedBlockRootContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FinalizedBlockRootContainer) ProtoMessage ¶
func (*FinalizedBlockRootContainer) ProtoMessage()
func (*FinalizedBlockRootContainer) Reset ¶
func (m *FinalizedBlockRootContainer) Reset()
func (*FinalizedBlockRootContainer) Size ¶
func (m *FinalizedBlockRootContainer) Size() (n int)
func (*FinalizedBlockRootContainer) String ¶
func (m *FinalizedBlockRootContainer) String() string
func (*FinalizedBlockRootContainer) Unmarshal ¶
func (m *FinalizedBlockRootContainer) Unmarshal(dAtA []byte) error
func (*FinalizedBlockRootContainer) XXX_DiscardUnknown ¶
func (m *FinalizedBlockRootContainer) XXX_DiscardUnknown()
func (*FinalizedBlockRootContainer) XXX_Marshal ¶
func (m *FinalizedBlockRootContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinalizedBlockRootContainer) XXX_Merge ¶
func (m *FinalizedBlockRootContainer) XXX_Merge(src proto.Message)
func (*FinalizedBlockRootContainer) XXX_Size ¶
func (m *FinalizedBlockRootContainer) XXX_Size() int
func (*FinalizedBlockRootContainer) XXX_Unmarshal ¶
func (m *FinalizedBlockRootContainer) XXX_Unmarshal(b []byte) error
type LatestETH1Data ¶
type LatestETH1Data struct { BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockTime uint64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` LastRequestedBlock uint64 `protobuf:"varint,5,opt,name=last_requested_block,json=lastRequestedBlock,proto3" json:"last_requested_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LatestETH1Data) Descriptor ¶
func (*LatestETH1Data) Descriptor() ([]byte, []int)
func (*LatestETH1Data) GetBlockHash ¶
func (m *LatestETH1Data) GetBlockHash() []byte
func (*LatestETH1Data) GetBlockHeight ¶
func (m *LatestETH1Data) GetBlockHeight() uint64
func (*LatestETH1Data) GetBlockTime ¶
func (m *LatestETH1Data) GetBlockTime() uint64
func (*LatestETH1Data) GetLastRequestedBlock ¶
func (m *LatestETH1Data) GetLastRequestedBlock() uint64
func (*LatestETH1Data) Marshal ¶
func (m *LatestETH1Data) Marshal() (dAtA []byte, err error)
func (*LatestETH1Data) MarshalToSizedBuffer ¶
func (m *LatestETH1Data) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LatestETH1Data) ProtoMessage ¶
func (*LatestETH1Data) ProtoMessage()
func (*LatestETH1Data) Reset ¶
func (m *LatestETH1Data) Reset()
func (*LatestETH1Data) Size ¶
func (m *LatestETH1Data) Size() (n int)
func (*LatestETH1Data) String ¶
func (m *LatestETH1Data) String() string
func (*LatestETH1Data) Unmarshal ¶
func (m *LatestETH1Data) Unmarshal(dAtA []byte) error
func (*LatestETH1Data) XXX_DiscardUnknown ¶
func (m *LatestETH1Data) XXX_DiscardUnknown()
func (*LatestETH1Data) XXX_Marshal ¶
func (m *LatestETH1Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LatestETH1Data) XXX_Merge ¶
func (m *LatestETH1Data) XXX_Merge(src proto.Message)
func (*LatestETH1Data) XXX_Size ¶
func (m *LatestETH1Data) XXX_Size() int
func (*LatestETH1Data) XXX_Unmarshal ¶
func (m *LatestETH1Data) XXX_Unmarshal(b []byte) error
type SparseMerkleTrie ¶
type SparseMerkleTrie struct { Depth uint64 `protobuf:"varint,1,opt,name=depth,proto3" json:"depth,omitempty"` Layers []*TrieLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` OriginalItems [][]byte `protobuf:"bytes,3,rep,name=original_items,json=originalItems,proto3" json:"original_items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SparseMerkleTrie) Descriptor ¶
func (*SparseMerkleTrie) Descriptor() ([]byte, []int)
func (*SparseMerkleTrie) GetDepth ¶
func (m *SparseMerkleTrie) GetDepth() uint64
func (*SparseMerkleTrie) GetLayers ¶
func (m *SparseMerkleTrie) GetLayers() []*TrieLayer
func (*SparseMerkleTrie) GetOriginalItems ¶
func (m *SparseMerkleTrie) GetOriginalItems() [][]byte
func (*SparseMerkleTrie) Marshal ¶
func (m *SparseMerkleTrie) Marshal() (dAtA []byte, err error)
func (*SparseMerkleTrie) MarshalToSizedBuffer ¶
func (m *SparseMerkleTrie) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SparseMerkleTrie) ProtoMessage ¶
func (*SparseMerkleTrie) ProtoMessage()
func (*SparseMerkleTrie) Reset ¶
func (m *SparseMerkleTrie) Reset()
func (*SparseMerkleTrie) Size ¶
func (m *SparseMerkleTrie) Size() (n int)
func (*SparseMerkleTrie) String ¶
func (m *SparseMerkleTrie) String() string
func (*SparseMerkleTrie) Unmarshal ¶
func (m *SparseMerkleTrie) Unmarshal(dAtA []byte) error
func (*SparseMerkleTrie) XXX_DiscardUnknown ¶
func (m *SparseMerkleTrie) XXX_DiscardUnknown()
func (*SparseMerkleTrie) XXX_Marshal ¶
func (m *SparseMerkleTrie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SparseMerkleTrie) XXX_Merge ¶
func (m *SparseMerkleTrie) XXX_Merge(src proto.Message)
func (*SparseMerkleTrie) XXX_Size ¶
func (m *SparseMerkleTrie) XXX_Size() int
func (*SparseMerkleTrie) XXX_Unmarshal ¶
func (m *SparseMerkleTrie) XXX_Unmarshal(b []byte) error
type TrieLayer ¶
type TrieLayer struct { Layer [][]byte `protobuf:"bytes,1,rep,name=layer,proto3" json:"layer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TrieLayer) Descriptor ¶
func (*TrieLayer) MarshalToSizedBuffer ¶
func (*TrieLayer) ProtoMessage ¶
func (*TrieLayer) ProtoMessage()
func (*TrieLayer) XXX_DiscardUnknown ¶
func (m *TrieLayer) XXX_DiscardUnknown()
func (*TrieLayer) XXX_Marshal ¶
func (*TrieLayer) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.