Skip to main content

RELATIONSHIPS

Constant RELATIONSHIPS 

Source
pub const RELATIONSHIPS: &str = "relationships";
Expand description

Durable TSP relationship state, backing the SDK’s RelationshipStore for the TSP transport. One record per facet per (our_vid, their_vid) pair — the relationship FSM state, thread digests, reply path and learned capability.

Persistent because Rev 3 §7.2.2 has an endpoint silently drop application traffic from a VID it holds no relationship with: an in-memory store wiped on restart makes every established peer’s messages vanish until each re-handshakes. Persisting the state turns a restart transparent (design note docs/05-design-notes/tsp-relationship-recovery.md, D1). Runtime state, not backed up — a relationship is re-establishable (D2/D3), and like SESSIONS it is scoped to this VTA’s DIDs, so a restore re-drives it rather than carrying it.