handle_view_change

Function handle_view_change 

Source
pub(crate) async fn handle_view_change<TYPES: NodeType, I: NodeImplementation<TYPES>>(
    new_view_number: ViewNumber,
    epoch_number: Option<EpochNumber>,
    sender: &Sender<Arc<HotShotEvent<TYPES>>>,
    task_state: &mut ConsensusTaskState<TYPES, I>,
) -> Result<()>
Expand description

Handle a ViewChange event.