Skip to main content

Module blob_store

Module blob_store 

Source
Expand description

Content-addressed blob store for WellFair payloads (master plan §5).

Large or structured payloads that don’t belong inline on the journal — credential claim sets, clinical attachment bytes, letter scans — are stored here as content-addressed blobs. Their identifier is the SHA-256 (hex) of the bytes, which is exactly the blob_hash the record envelope already carries, so a journal row’s blob_hash is a direct handle to its blob. Writes are idempotent (same bytes → same file) and reads verify integrity.

Structs§

BlobStore
Content-addressed store rooted under {storage_root}/wellfair/blobs.

Constants§

BLOB_DIR