Function sc_service::build_system_rpc_future
source ยท pub async fn build_system_rpc_future<B: BlockT, C: BlockchainEvents<B> + HeaderBackend<B> + BlockBackend<B> + HeaderMetadata<B, Error = Error> + ProofProvider<B> + Send + Sync + 'static, H: ExHashT>(
role: Role,
network_service: Arc<dyn NetworkService>,
sync_service: Arc<SyncingService<B>>,
client: Arc<C>,
rpc_rx: TracingUnboundedReceiver<Request<B>>,
should_have_peers: bool,
)
Expand description
Builds a future that processes system RPC requests.