Function init_node

Source
pub async fn init_node<P: SequencerPersistence + MembershipPersistence + DhtPersistentStorage, V: Versions>(
    genesis: Genesis,
    network_params: NetworkParams,
    metrics: &dyn Metrics,
    persistence: P,
    l1_params: L1Params,
    storage: Option<Storage>,
    seq_versions: V,
    event_consumer: impl EventConsumer + 'static,
    is_da: bool,
    identity: Identity,
    proposal_fetcher_config: ProposalFetcherConfig,
) -> Result<SequencerContext<Production, P, V>>
where Arc<P>: Storage<SeqTypes>,