referrerpolicy=no-referrer-when-downgrade
bp_header_chain::justification

Function required_justification_precommits

Source
pub fn required_justification_precommits(authorities_set_length: u32) -> u32
Expand description

Given GRANDPA authorities set size, return number of valid authorities votes that the justification must have to be valid.

This function assumes that all authorities have the same vote weight.