Function handle_epoch_root_vote

Source
pub async fn handle_epoch_root_vote<TYPES: NodeType, V: Versions>(
    collectors: &mut EpochRootVoteCollectorsMap<TYPES, V>,
    vote: &EpochRootQuorumVote<TYPES>,
    public_key: TYPES::SignatureKey,
    membership: &EpochMembership<TYPES>,
    id: u64,
    event: &Arc<HotShotEvent<TYPES>>,
    event_stream: &Sender<Arc<HotShotEvent<TYPES>>>,
    upgrade_lock: &UpgradeLock<TYPES, V>,
) -> Result<()>
Expand description

A helper function that handles quorum vote collection for epoch root

ยงErrors

If we fail to handle the vote