Expand description
Contains functionality related to PVFs that is shared by the PVF host and the PVF workers.
Re-exports§
pub use sp_tracing;
Modules§
- error
- execute
- executor_
interface - Interface to the Substrate Executor
- prepare
- pvf
- tests
- worker
- Functionality common to both prepare and execute workers.
- worker_
dir - Shared functions for getting the known worker files.
Macros§
- decl_
worker_ main - Use this macro to declare a
fn main() {}
that will create an executable that can be used for spawning the desired worker.
Structs§
- Artifact
Checksum - Process
Time - CPU Time Used by The Whole Process
- Security
Status - Status of security features on the current system.
- Worker
Handshake - A handshake with information for the worker.
Functions§
- compute_
checksum - Compute the checksum of the given artifact.
- framed_
recv_ blocking - Read some data prefixed by its length from
r
. Sync version offramed_recv
to avoid dependency on tokio. - framed_
send_ blocking - Write some data prefixed by its length into
w
. Sync version offramed_send
to avoid dependency on tokio.