Documentation ¶
Index ¶
- Variables
- type ChainStartData
- func (*ChainStartData) Descriptor() ([]byte, []int)deprecated
- func (x *ChainStartData) GetChainstartDeposits() []*v1alpha1.Deposit
- func (x *ChainStartData) GetChainstarted() bool
- func (x *ChainStartData) GetEth1Data() *v1alpha1.Eth1Data
- func (x *ChainStartData) GetGenesisBlock() uint64
- func (x *ChainStartData) GetGenesisTime() uint64
- func (*ChainStartData) ProtoMessage()
- func (x *ChainStartData) ProtoReflect() protoreflect.Message
- func (x *ChainStartData) Reset()
- func (x *ChainStartData) String() string
- type DepositContainer
- func (*DepositContainer) Descriptor() ([]byte, []int)deprecated
- func (x *DepositContainer) GetDeposit() *v1alpha1.Deposit
- func (x *DepositContainer) GetDepositRoot() []byte
- func (x *DepositContainer) GetEth1BlockHeight() uint64
- func (x *DepositContainer) GetIndex() int64
- func (*DepositContainer) ProtoMessage()
- func (x *DepositContainer) ProtoReflect() protoreflect.Message
- func (x *DepositContainer) Reset()
- func (x *DepositContainer) String() string
- type ETH1ChainData
- func (*ETH1ChainData) Descriptor() ([]byte, []int)deprecated
- func (x *ETH1ChainData) GetBeaconState() *v1.BeaconState
- func (x *ETH1ChainData) GetChainstartData() *ChainStartData
- func (x *ETH1ChainData) GetCurrentEth1Data() *LatestETH1Data
- func (x *ETH1ChainData) GetDepositContainers() []*DepositContainer
- func (x *ETH1ChainData) GetTrie() *SparseMerkleTrie
- func (*ETH1ChainData) ProtoMessage()
- func (x *ETH1ChainData) ProtoReflect() protoreflect.Message
- func (x *ETH1ChainData) Reset()
- func (x *ETH1ChainData) String() string
- type FinalizedBlockRootContainer
- func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizedBlockRootContainer) GetChildRoot() []byte
- func (x *FinalizedBlockRootContainer) GetParentRoot() []byte
- func (*FinalizedBlockRootContainer) ProtoMessage()
- func (x *FinalizedBlockRootContainer) ProtoReflect() protoreflect.Message
- func (x *FinalizedBlockRootContainer) Reset()
- func (x *FinalizedBlockRootContainer) String() string
- type LatestETH1Data
- func (*LatestETH1Data) Descriptor() ([]byte, []int)deprecated
- func (x *LatestETH1Data) GetBlockHash() []byte
- func (x *LatestETH1Data) GetBlockHeight() uint64
- func (x *LatestETH1Data) GetBlockTime() uint64
- func (x *LatestETH1Data) GetLastRequestedBlock() uint64
- func (*LatestETH1Data) ProtoMessage()
- func (x *LatestETH1Data) ProtoReflect() protoreflect.Message
- func (x *LatestETH1Data) Reset()
- func (x *LatestETH1Data) String() string
- type SparseMerkleTrie
- func (*SparseMerkleTrie) Descriptor() ([]byte, []int)deprecated
- func (x *SparseMerkleTrie) GetDepth() uint64
- func (x *SparseMerkleTrie) GetLayers() []*TrieLayer
- func (x *SparseMerkleTrie) GetOriginalItems() [][]byte
- func (*SparseMerkleTrie) ProtoMessage()
- func (x *SparseMerkleTrie) ProtoReflect() protoreflect.Message
- func (x *SparseMerkleTrie) Reset()
- func (x *SparseMerkleTrie) String() string
- type TrieLayer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_beacon_db_finalized_block_root_container_proto protoreflect.FileDescriptor
View Source
var File_proto_beacon_db_powchain_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChainStartData ¶ added in v0.3.0
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"` // contains filtered or unexported fields }
func (*ChainStartData) Descriptor
deprecated
added in
v0.3.0
func (*ChainStartData) Descriptor() ([]byte, []int)
Deprecated: Use ChainStartData.ProtoReflect.Descriptor instead.
func (*ChainStartData) GetChainstartDeposits ¶ added in v0.3.0
func (x *ChainStartData) GetChainstartDeposits() []*v1alpha1.Deposit
func (*ChainStartData) GetChainstarted ¶ added in v0.3.0
func (x *ChainStartData) GetChainstarted() bool
func (*ChainStartData) GetEth1Data ¶ added in v0.3.0
func (x *ChainStartData) GetEth1Data() *v1alpha1.Eth1Data
func (*ChainStartData) GetGenesisBlock ¶ added in v0.3.0
func (x *ChainStartData) GetGenesisBlock() uint64
func (*ChainStartData) GetGenesisTime ¶ added in v0.3.0
func (x *ChainStartData) GetGenesisTime() uint64
func (*ChainStartData) ProtoMessage ¶ added in v0.3.0
func (*ChainStartData) ProtoMessage()
func (*ChainStartData) ProtoReflect ¶ added in v1.3.10
func (x *ChainStartData) ProtoReflect() protoreflect.Message
func (*ChainStartData) Reset ¶ added in v0.3.0
func (x *ChainStartData) Reset()
func (*ChainStartData) String ¶ added in v0.3.0
func (x *ChainStartData) String() string
type DepositContainer ¶ added in v0.3.0
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"` // contains filtered or unexported fields }
func (*DepositContainer) Descriptor
deprecated
added in
v0.3.0
func (*DepositContainer) Descriptor() ([]byte, []int)
Deprecated: Use DepositContainer.ProtoReflect.Descriptor instead.
func (*DepositContainer) GetDeposit ¶ added in v0.3.0
func (x *DepositContainer) GetDeposit() *v1alpha1.Deposit
func (*DepositContainer) GetDepositRoot ¶ added in v0.3.0
func (x *DepositContainer) GetDepositRoot() []byte
func (*DepositContainer) GetEth1BlockHeight ¶ added in v0.3.0
func (x *DepositContainer) GetEth1BlockHeight() uint64
func (*DepositContainer) GetIndex ¶ added in v0.3.0
func (x *DepositContainer) GetIndex() int64
func (*DepositContainer) ProtoMessage ¶ added in v0.3.0
func (*DepositContainer) ProtoMessage()
func (*DepositContainer) ProtoReflect ¶ added in v1.3.10
func (x *DepositContainer) ProtoReflect() protoreflect.Message
func (*DepositContainer) Reset ¶ added in v0.3.0
func (x *DepositContainer) Reset()
func (*DepositContainer) String ¶ added in v0.3.0
func (x *DepositContainer) String() string
type ETH1ChainData ¶ added in v0.3.0
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"` // contains filtered or unexported fields }
func (*ETH1ChainData) Descriptor
deprecated
added in
v0.3.0
func (*ETH1ChainData) Descriptor() ([]byte, []int)
Deprecated: Use ETH1ChainData.ProtoReflect.Descriptor instead.
func (*ETH1ChainData) GetBeaconState ¶ added in v0.3.0
func (x *ETH1ChainData) GetBeaconState() *v1.BeaconState
func (*ETH1ChainData) GetChainstartData ¶ added in v0.3.0
func (x *ETH1ChainData) GetChainstartData() *ChainStartData
func (*ETH1ChainData) GetCurrentEth1Data ¶ added in v0.3.0
func (x *ETH1ChainData) GetCurrentEth1Data() *LatestETH1Data
func (*ETH1ChainData) GetDepositContainers ¶ added in v0.3.0
func (x *ETH1ChainData) GetDepositContainers() []*DepositContainer
func (*ETH1ChainData) GetTrie ¶ added in v0.3.0
func (x *ETH1ChainData) GetTrie() *SparseMerkleTrie
func (*ETH1ChainData) ProtoMessage ¶ added in v0.3.0
func (*ETH1ChainData) ProtoMessage()
func (*ETH1ChainData) ProtoReflect ¶ added in v1.3.10
func (x *ETH1ChainData) ProtoReflect() protoreflect.Message
func (*ETH1ChainData) Reset ¶ added in v0.3.0
func (x *ETH1ChainData) Reset()
func (*ETH1ChainData) String ¶ added in v0.3.0
func (x *ETH1ChainData) String() string
type FinalizedBlockRootContainer ¶ added in v0.2.3
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"` // contains filtered or unexported fields }
func (*FinalizedBlockRootContainer) Descriptor
deprecated
added in
v0.2.3
func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int)
Deprecated: Use FinalizedBlockRootContainer.ProtoReflect.Descriptor instead.
func (*FinalizedBlockRootContainer) GetChildRoot ¶ added in v0.2.3
func (x *FinalizedBlockRootContainer) GetChildRoot() []byte
func (*FinalizedBlockRootContainer) GetParentRoot ¶ added in v0.2.3
func (x *FinalizedBlockRootContainer) GetParentRoot() []byte
func (*FinalizedBlockRootContainer) ProtoMessage ¶ added in v0.2.3
func (*FinalizedBlockRootContainer) ProtoMessage()
func (*FinalizedBlockRootContainer) ProtoReflect ¶ added in v1.3.10
func (x *FinalizedBlockRootContainer) ProtoReflect() protoreflect.Message
func (*FinalizedBlockRootContainer) Reset ¶ added in v0.2.3
func (x *FinalizedBlockRootContainer) Reset()
func (*FinalizedBlockRootContainer) String ¶ added in v0.2.3
func (x *FinalizedBlockRootContainer) String() string
type LatestETH1Data ¶ added in v0.3.0
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"` // contains filtered or unexported fields }
func (*LatestETH1Data) Descriptor
deprecated
added in
v0.3.0
func (*LatestETH1Data) Descriptor() ([]byte, []int)
Deprecated: Use LatestETH1Data.ProtoReflect.Descriptor instead.
func (*LatestETH1Data) GetBlockHash ¶ added in v0.3.0
func (x *LatestETH1Data) GetBlockHash() []byte
func (*LatestETH1Data) GetBlockHeight ¶ added in v0.3.0
func (x *LatestETH1Data) GetBlockHeight() uint64
func (*LatestETH1Data) GetBlockTime ¶ added in v0.3.0
func (x *LatestETH1Data) GetBlockTime() uint64
func (*LatestETH1Data) GetLastRequestedBlock ¶ added in v0.3.0
func (x *LatestETH1Data) GetLastRequestedBlock() uint64
func (*LatestETH1Data) ProtoMessage ¶ added in v0.3.0
func (*LatestETH1Data) ProtoMessage()
func (*LatestETH1Data) ProtoReflect ¶ added in v1.3.10
func (x *LatestETH1Data) ProtoReflect() protoreflect.Message
func (*LatestETH1Data) Reset ¶ added in v0.3.0
func (x *LatestETH1Data) Reset()
func (*LatestETH1Data) String ¶ added in v0.3.0
func (x *LatestETH1Data) String() string
type SparseMerkleTrie ¶ added in v0.3.0
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"` // contains filtered or unexported fields }
func (*SparseMerkleTrie) Descriptor
deprecated
added in
v0.3.0
func (*SparseMerkleTrie) Descriptor() ([]byte, []int)
Deprecated: Use SparseMerkleTrie.ProtoReflect.Descriptor instead.
func (*SparseMerkleTrie) GetDepth ¶ added in v0.3.0
func (x *SparseMerkleTrie) GetDepth() uint64
func (*SparseMerkleTrie) GetLayers ¶ added in v0.3.0
func (x *SparseMerkleTrie) GetLayers() []*TrieLayer
func (*SparseMerkleTrie) GetOriginalItems ¶ added in v0.3.0
func (x *SparseMerkleTrie) GetOriginalItems() [][]byte
func (*SparseMerkleTrie) ProtoMessage ¶ added in v0.3.0
func (*SparseMerkleTrie) ProtoMessage()
func (*SparseMerkleTrie) ProtoReflect ¶ added in v1.3.10
func (x *SparseMerkleTrie) ProtoReflect() protoreflect.Message
func (*SparseMerkleTrie) Reset ¶ added in v0.3.0
func (x *SparseMerkleTrie) Reset()
func (*SparseMerkleTrie) String ¶ added in v0.3.0
func (x *SparseMerkleTrie) String() string
type TrieLayer ¶ added in v0.3.0
type TrieLayer struct { Layer [][]byte `protobuf:"bytes,1,rep,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*TrieLayer) Descriptor
deprecated
added in
v0.3.0
func (*TrieLayer) ProtoMessage ¶ added in v0.3.0
func (*TrieLayer) ProtoMessage()
func (*TrieLayer) ProtoReflect ¶ added in v1.3.10
func (x *TrieLayer) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.