Expand description
The actor running the application event loop.
ยงOn the usage of the commonware-pacer
The actor will contain Pacer::pace calls for all interactions
with the execution layer. This is a no-op in production because the
commonware tokio runtime ignores these. However, these are critical in
e2e tests using the commonware deterministic runtime: since the execution
layer is still running on the tokio runtime, these calls signal the
deterministic runtime to spend real life time to wait for the execution
layer calls to complete.
Structsยง
- Abort
OnDrop ๐ - Ensures the task associated with the [
Handle] is aborted [Handle::abort] when this instance is dropped. - Actor ๐
- Init ๐
- Carries the runtime initialized state of the application.
- Inner ๐
- Uninit ๐
- Marker type to signal that the actor is not fully initialized.
Functionsยง
- payload_
id_ ๐from_ block_ hash - Constructs a [
PayloadId] from the first 8 bytes ofblock_hash. - report_
verification_ ๐result - Reports the verification result as a tracing event and consensus response.
- verify_
block ๐ - Verifies
blockgiven itsparentagainst the execution layer. - verify_
header_ ๐extra_ data