Function hotshot_task_impls::consensus::handlers::handle_view_change
source ยท pub(crate) async fn handle_view_change<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
new_view_number: TYPES::View,
epoch_number: TYPES::Epoch,
sender: &Sender<Arc<HotShotEvent<TYPES>>>,
task_state: &mut ConsensusTaskState<TYPES, I, V>,
) -> Result<()>
Expand description
Handle a ViewChange
event.