Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

The lifecycle record of a keep-history document.

A keep-history document that has been deleted keeps its retained revisions but loses its current pointer and its index references, so nothing in the primary-key tree distinguishes it from a document that never existed. The record supplies that distinction: it exists exactly while the document is deleted or erasing, names the block time it was deleted at, and, once an erasure has been authorized, the block time that erasure started and the revision it started from. Drive stores it beside the document’s history and proof verifiers decode it from a proof.

Re-exports§

pub use v0::DocumentLifecycleRecordV0;

Modules§

v0

Enums§

DocumentLifecycleRecord
A lifecycle record in whichever layout it was written with.

Constants§

DOCUMENT_LIFECYCLE_RECORD_MAX_SIZE
Largest number of bytes an encoded record can occupy: the format discriminant and six variable-length u64s at their widest. Estimates that have to price a record without reading it use this bound.