pub async fn init_with_server(
listen_addr: SocketAddr,
config: Config,
network: Network,
state: State,
chain_tip_change: ChainTipChange,
) -> Result<(), Report>
Expand description
Initialize ScanService
based on its config.
TODO: add a test for this function.