Module actor

Module actor 

Source
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ยง

AbortOnDrop ๐Ÿ”’
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 of block_hash.
report_verification_result ๐Ÿ”’
Reports the verification result as a tracing event and consensus response.
verify_block ๐Ÿ”’
Verifies block given its parent against the execution layer.
verify_header_extra_data ๐Ÿ”’