Skip to main content

forward_legacy_epoch_changes

Function forward_legacy_epoch_changes 

Source
pub async fn forward_legacy_epoch_changes<T: NodeType>(
    legacy_event_rx: InactiveReceiver<Event<T>>,
    client_api: ClientApi<T>,
    epoch_height: u64,
)
Expand description

Forward legacy epoch transitions into bump_network_epoch. epoch_height == 0 disables forwarding.