Module handlers

Source
Expand description

Event handlers for this task.

Functionsยง

handle_quorum_proposal_recv ๐Ÿ”’
Handles the QuorumProposalRecv event by first validating the cert itself for the view, and then updating the states, which runs when the proposal cannot be found in the internal state map.
spawn_fetch_proposal ๐Ÿ”’
Spawn a task which will fire a request to get a proposal, and store it.
validate_block_height ๐Ÿ”’
Validate that the proposalโ€™s block height is one greater than the justification QCโ€™s block height.
validate_current_epoch ๐Ÿ”’
validate_epoch_transition_block ๐Ÿ”’
validate_proposal_liveness
Update states in the event that the parent state is not found for a given proposal.