Group helper functions by type #918
Labels
general:presentation
Presentation (as opposed to content)
milestone:June 30 freeze 🥶
Phase 0 spec freeze for long-lived cross-client testnet
Suggest grouping helpers in four categories:
get_...
)is_...
)I have done the following renamings:
Math
int_to_bytes
bytes_to_int
integer_squareroot
xor
Crypto
hash
hash_tree_root
signing_root
verify_merkle_branch
bls_verify
bls_verify_multiple
bls_aggregate_pubkeys
Non-boolean pure functions (
get_...
)get_previous_epoch
get_current_epoch
get_start_slot
get_start_shard
get_epoch_from_slot
get_active_validator_indices
get_epoch_committee_count
get_shard_delta
get_crosslink_committee
get_block_root
get_randao_mix
get_seed
get_proposer_index
get_total_balance
get_churn_limit
get_delayed_activation_exit_epoch
get_crosslink_committee_for_attestation
get_attestation_participants
get_domain
Boolean pure functions (
is_...
)is_active_validator
is_slashable_validator
is_double_vote
is_surround_vote
is_valid_bitfield
is_valid_indexed_attestation
State-modifying functions
activate_validator
initiate_validator_exit
slash_validator
set_balance
increase_balance
decrease_balance
The text was updated successfully, but these errors were encountered: