Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveRootsFeature ¶
type ActiveRootsFeature struct { State *ActiveState Meta interface { ActiveValidatorCount ActiveIndices } }
func (*ActiveRootsFeature) UpdateActiveIndexRoot ¶
func (f *ActiveRootsFeature) UpdateActiveIndexRoot(epoch Epoch)
type ActiveState ¶
type ActiveState struct {
ActiveIndexRoots [EPOCHS_PER_HISTORICAL_VECTOR]Root
}
Randomness and committees
func (*ActiveState) GetActiveIndexRoot ¶
func (state *ActiveState) GetActiveIndexRoot(epoch Epoch) Root
CurrentEpoch is expected to be between (current_epoch - EPOCHS_PER_HISTORICAL_VECTOR + ACTIVATION_EXIT_DELAY, current_epoch + ACTIVATION_EXIT_DELAY].
Click to show internal directories.
Click to hide internal directories.