model.parts.utils

model.parts.utils#

Misc. utility and helper functions

Functions

get_number_of_awake_validators(params, state)

Utility function used to return the number of awake validators.

Modules

model.parts.utils.ethereum_spec

Relevant methods from the official [eth2.0-specs](ethereum/eth2.0-specs) specification repo.