Skip to main content

Module originals

Module originals 

Source
Expand description

Signed originals stored separately from derived projections (E06.4).

Large objects are digested in STREAM_PAGE_BYTES pages with a running SHA-384. Length mismatch is QdnfError::Range. Digest mismatch is QdnfError::Conflict. This module never allocates a whole-graph buffer.

E06.5: [QnfExtensionAdopted] is the evaluation result in crate::net::qdnf::replication::qnf_eval, not a silent adoption.

Structs§

OriginalObject
Stored original identity: SHA-384 and exact length. Not a projection.

Constants§

STREAM_PAGE_BYTES
Page size for streaming original bytes. Not a dataset allocation.

Functions§

projection_replaces_original
Projection digest is never substituted for the original identity.
store_original
Digest bytes in STREAM_PAGE_BYTES pages. out_buf_cap_check is the caller-owned buffer ceiling (not allocated here).