Documentation
¶
Overview ¶
Package randao contains libraries to update and proposer's RANDAO layer and mixes the RANDAO with the existing RANDAO value in state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateRandaoLayers ¶
func UpdateRandaoLayers(state *pb.BeaconState, slot uint64) (*pb.BeaconState, error)
UpdateRandaoLayers increments the randao layer of the block proposer at the given slot.
func UpdateRandaoMixes ¶
func UpdateRandaoMixes(state *pb.BeaconState) *pb.BeaconState
UpdateRandaoMixes sets the beacon state's latest randao mixes according to the latest beacon slot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.