pub const IDEMPOTENCY: &str = "idempotency";Expand description
Idempotency records for keyed Trust Tasks — one row per
(actor, idempotency-key), holding the request digest and, for tasks whose
response may be replayed, the original response. Lets a client’s retry of a
lost reply converge on the first execution instead of producing a second
durable effect.
Persistent rather than in-memory (unlike the (actor, envelope-id) replay
cache it sits beside) because the window that matters is exactly the one a
restart falls inside: the VTA processed the request, the reply was lost, and
the client is still retrying. Swept on TTL by
vta_sweepers::idempotency_sweeper. Runtime state, not backed up.