Skip to main content

run_payload_job

Function run_payload_job 

Source
async fn run_payload_job<TContext: Pacer>(
    context: TContext,
    execution_node: Arc<TempoFullNode>,
    __arg2: StartPayloadJob,
)
Expand description

Drives a payload build on the execution layer to completion.

Resolves the payload registered under payload_id from the execution layer’s payload builder and delivers it on response. If the subscriber goes away before the payload is resolved (for example because the consensus engine cancelled the proposal request that triggered the build), the in-flight resolve future is dropped, which deregisters the build job from the payload builder and aborts the build.