Function hotshot_task_impls::quorum_vote::handlers::verify_drb_result
source ยท async fn verify_drb_result<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
proposal: &QuorumProposalWrapper<TYPES>,
task_state: &mut QuorumVoteTaskState<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.