Skip to main content

expected_vid_param

Function expected_vid_param 

Source
pub fn expected_vid_param<T: NodeType>(
    membership: &EpochMembershipCoordinator<T>,
    epoch: EpochNumber,
) -> Option<AvidmGf2Param>
Expand description

The VID erasure parameters the committee for epoch fixes, matching what an honest disperser derives. Used to reject shares whose common.param is forged (the commitment binds ns_commits, not param) and to verify payloads fetched whole. None if the committee cannot be resolved.