referrerpolicy=no-referrer-when-downgrade
polkadot_node_subsystem_util

Function find_validator_group

Source
pub fn find_validator_group(
    groups: &[Vec<ValidatorIndex>],
    index: ValidatorIndex,
) -> Option<GroupIndex>
Expand description

Find the validator group the given validator index belongs to.