Function verify_drb_result

Source
pub(crate) async fn verify_drb_result<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
    proposal: &QuorumProposalWrapper<TYPES>,
    validation_info: &ValidationInfo<TYPES, I, V>,
) -> Result<()>
Expand description

Verify the DRB result from the proposal for the next epoch if this is the last block of the current epoch.

Uses the result from start_drb_task.

Returns an error if we should not vote.