Expand description
Dispatch ties the pieces into the one path that matters: execute → verify → settle, with payment impossible without verification.
Structs§
- Dispatch
Outcome - The full outcome of running a swarm job.
Functions§
- run_job
- Run a job: execute it on
executor, independently verify the result, and — for aPaidjob — settle the suppliedescrowby the verdict. The escrow must already beHeld(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 asNone, never an unguarded payment).