Skip to main content

WITNESS_SESSIONS

Constant WITNESS_SESSIONS 

Source
pub const WITNESS_SESSIONS: &str = "witness_sessions";
Expand description

The VTA’s records of witnessed sessions in flight (vta/witness/*): one per session, keyed session:<sessionId>, from vta/witness/open until the record expires — minutes, near the witness’s own session lifetime — with an accepted session reduced to its stub (vta/_shared/0.6/CONVENTIONS.md §3).

Holds the session document as signed, the relationship and member DIDs, the credential handles and their digests. Never a presentation or a challenge.

In EXCLUDED_FROM_BACKUP: transient by construction. A restored record would name a session the witness has long since expired, and the VWC a completed session produced is in the credential vault, which is backed up.