Function diem_json_rpc::runtime::bootstrap [−][src]
pub fn bootstrap(
config: &JsonRpcConfig,
diem_db: Arc<dyn MoveDbReader>,
mp_sender: MempoolClientSender,
role: RoleType,
chain_id: ChainId
) -> RuntimeExpand description
Creates HTTP server (warp-based) that serves JSON RPC requests Returns handle to corresponding Tokio runtime