Skip to main content

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

Actor ๐Ÿ”’
BuildProposalArgs ๐Ÿ”’
Init ๐Ÿ”’
Carries the runtime initialized state of the application.
Inner ๐Ÿ”’
Metrics ๐Ÿ”’
ProposalReturn ๐Ÿ”’
Uninit ๐Ÿ”’
Marker type to signal that the actor is not fully initialized.

Functionsยง

subscribe ๐Ÿ”’
Read a block from the execution layer or fetches it from consensus p2p.
verify_block ๐Ÿ”’
Verifies block given its parent against the execution layer.
verify_header ๐Ÿ”’