Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckState ¶
func CheckState(state *BeaconState) error
func PrepareGenesisState ¶
func PrepareGenesisState(validatorCount uint32) *BeaconState
func PreprocessBlock ¶
func PreprocessBlock(pre *BeaconState, block *BeaconBlock) error
func RandomlyValid ¶
make a random byte string valid, but randomly mutate 1 bit, based on given mutation chance. chance = 0 results in never valid. chance = 1 results in always valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.