Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Dispatch ties the pieces into the one path that matters: execute → verify → settle, with payment impossible without verification.

Structs§

DispatchOutcome
The full outcome of running a swarm job.

Functions§

run_job
Run a job: execute it on executor, independently verify the result, and — for a Paid job — settle the supplied escrow by the verdict. The escrow must already be Held (funds committed) for a paid job; if it is missing for a paid job, the job is still executed and verified but no settlement is produced (a caller error surfaced as None, never an unguarded payment).