init_node

Function init_node 

Source
pub async fn init_node<P>(
    genesis: Genesis,
    network_params: NetworkParams,
    metrics: Box<dyn Metrics>,
    persistence: P,
    l1_params: L1Params,
    storage: Option<Storage>,
    event_consumer: impl EventConsumer + 'static,
    is_da: bool,
    identity: Identity,
    proposal_fetcher_config: ProposalFetcherConfig,
) -> Result<SequencerContext<Production, P>>