Skip to main content

NOTIFICATIONS

Constant NOTIFICATIONS 

Source
pub const NOTIFICATIONS: &str = "notifications";
Expand description

The notifications this VTA holds for its principal (notifications/notify, notifications/relay, vta/notifications/*, VTI-NTF-050): one record per (originator, notificationId) a DID it holds keys of was sent, keyed held:<contextId>:<recordId> with the dedup index key:<digest of originator and notificationId> beside it. Each record keeps the delivering document exactly as received, so a client can verify every proof itself.

In BACKED_UP: a held notification cannot be fetched again — an originator delivers each revision once, and a relayer re-sends only later revisions — so a restore without it would lose what the principal was told they may take part in, a member-party election among it (VTI-NTF-063).