Function zebra_consensus::router::init_test

source ยท
pub async fn init_test<S>(
    config: Config,
    network: &Network,
    state_service: S,
) -> (Buffer<BoxService<Request, Hash, RouterError>, Request>, Buffer<BoxService<Request, Response, TransactionError>, Request>, BackgroundTaskHandles, Height)
where S: Service<Request, Response = Response, Error = BoxError> + Send + Clone + 'static, S::Future: Send + 'static,
Expand description

Calls init with a closed mempool setup channel for conciseness in tests.

See init for more details.