[−][src]Module beacon::utils
Exported beacon chain utilities.
Functions
activation_exit_epoch | Get activation exit epoch. |
bls_domain | BLS signing domain given a domain type and fork version. |
compare_hash | Compare hash. |
compute_committee | Compute committee indices. |
deserialize_bitlist | Deserialize a serde bitlist. |
deserialize_bitvector | Deserialize a serde bitvector. |
epoch_of_slot | Get epoch of slot. |
integer_squareroot | Get integer squareroot. |
is_valid_merkle_branch | Check whether given proof is valid merkle branch. |
serialize_bitlist | Serialize a serde bitlist. |
serialize_bitvector | Serialize a serde bitvector. |
shuffled_index | Compute shuffled index. |
start_slot_of_epoch | Get start slot of epoch. |
to_bytes | Convert integer to bytes. |
to_uint | Convert byte to integer. |