Function spawn_init

Source
pub fn spawn_init(
    config: Config,
    network: Network,
    state: State,
    chain_tip_change: ChainTipChange,
) -> JoinHandle<Result<(), Report>>
Expand description

Initialize the scanner and its gRPC server based on its config, and spawn a task for it.