Function polkadot_node_core_pvf::start
source · pub async fn start(
config: Config,
metrics: Metrics,
) -> SubsystemResult<(ValidationHost, impl Future<Output = ()>)>
Expand description
Start the validation host.
Returns a handle to the started validation host and the future. The future must be polled in order for validation host to function.
The future should not return normally but if it does then that indicates an unrecoverable error. In that case all pending requests will be canceled, dropping the result senders and new ones will be rejected.