Skip to main content

ACCEPTED_IDS

Constant ACCEPTED_IDS 

Source
pub const ACCEPTED_IDS: &str = "accepted_ids";
Expand description

The record of accepted Trust Task document identifiers (VTI-OPS-025 … 027, SPEC §7.2 item 11): one row per document id accepted for execution, accepted:<id>, holding the digest of the document accepted under it, the instant the row may be dropped (the end of that document’s acceptance window) and, for a task whose response may be replayed, that response.

Persistent rather than in-memory because the acceptance window outlives a restart: a document accepted a minute before one is still acceptable after it, and must still be refused. Shared by every binding (VTI-OPS-027). Swept on its deadline (vti_trust_task_server::accepted_store::sweep_expired). Runtime state, not backed up.