Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eth1Data ¶
type Eth1Data struct { DepositRoot Root // Hash-tree-root of DepositData tree. DepositCount DepositIndex BlockHash Root }
type Eth1DataVotes ¶
type Eth1DataVotes []Eth1Data
func (*Eth1DataVotes) Limit ¶
func (_ *Eth1DataVotes) Limit() uint64
type Eth1State ¶
type Eth1State struct { Eth1Data Eth1Data Eth1DataVotes Eth1DataVotes DepositIndex DepositIndex }
Ethereum 1.0 chain data
func (*Eth1State) IncrementDepositIndex ¶
func (state *Eth1State) IncrementDepositIndex()
func (*Eth1State) ProcessEth1Vote ¶
func (*Eth1State) ResetEth1Votes ¶
func (state *Eth1State) ResetEth1Votes()
Done at the end of every voting period
type Eth1VoteProcessor ¶
Click to show internal directories.
Click to hide internal directories.