Function hotshot_task_impls::consensus::handlers::handle_quorum_proposal_recv
source · pub(crate) async fn handle_quorum_proposal_recv<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
proposal: &Proposal<TYPES, QuorumProposal<TYPES>>,
sender: &TYPES::SignatureKey,
event_sender: Sender<Arc<HotShotEvent<TYPES>>>,
event_receiver: Receiver<Arc<HotShotEvent<TYPES>>>,
task_state: &mut ConsensusTaskState<TYPES, I, V>
) -> Result<Option<QuorumProposal<TYPES>>>
Expand description
Handle the received quorum proposal.
Returns the proposal that should be used to set the cur_proposal
for other tasks.