Crate polkadot_node_core_pvf_execute_worker

Source
Expand description

Contains the logic for executing PVFs. Used by the polkadot-execute-worker binary.

Enums§

ExecuteError
Error type.

Constants§

EXECUTE_WORKER_THREAD_NUMBER
The number of threads for the child process: 1 - Main thread 2 - Cpu monitor thread 3 - Execute thread

Functions§

execute_artifact
Executes the given PVF in the form of a compiled artifact and returns the result of execution upon success.
worker_entrypoint
The entrypoint that the spawned execute worker should start with.