finality_grandpa
pub fn threshold(total_weight: u64) -> u64
Get the threshold weight given the total voting weight.