loom_exex::loom_runtime

Function init

Source
pub async fn init<Node: FullNodeComponents, DB: Database<Error = ErrReport> + DatabaseRef<Error = ErrReport> + DatabaseCommit + DatabaseLoomExt + BlockHistoryState + Send + Sync + Clone + Default + 'static>(
    ctx: ExExContext<Node>,
    bc: Blockchain<DB>,
    config: NodeBlockActorConfig,
) -> Result<impl Future<Output = Result<()>>>