Skip to main content

init_follower_node

Function init_follower_node 

Source
pub async fn init_follower_node<P>(
    genesis: Genesis,
    params: FollowerParams,
    metrics: Box<dyn Metrics>,
    persistence: P,
    l1_params: L1Params,
    sink: impl DecideSink + 'static,
) -> Result<FollowerHandle<P>>
Expand description

The follow loop is running when this returns; FollowerContext::new takes over stopping it.