Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime work-expansion protocol shared by sentinel and node; payloads serialize as camelCase JSON.

Structs§

ClaimToken
Opaque claim token (UUID string) issued by sentinel when it assigns a chunk.
RuntimeChunkId
Monotonic per-job identifier for a runtime chunk (a batch of work items).
RuntimeChunkPayload
A batch of work items assigned to one node in one Centrifuge publication.
RuntimeWorkItem
One abstract unit of work in a runtime chunk, derived from kind and routed by tag.
RuntimeWorkResult
Compact result for one executed work item, mirroring the BatchWorkResult proto.
WorkContextHash
SHA-256 digest of (base_sim_config, TournamentPayload, sentinel_config), serialized as lowercase hex.
WorkContextHashParseError
Error returned when a WorkContextHash hex string is malformed.

Enums§

RuntimeWorkFidelity
Result fidelity requested for a work item.
RuntimeWorkItemKind
What a work item evaluates, carrying the parameters needed to derive a concrete sim config.
WorkContextHashParseErrorKind 🔒

Constants§

DIGEST_LEN 🔒