You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR 026: File-to-blob mapping, manifests, and file reconstruction #208
Blobs in the deCDN are content-addressed via BLAKE3. Individual blobs can be any size (subject to per-node max_blob_size limits). However, no ADR specifies how large files are split into blobs, how a client discovers the set of blob hashes that compose a file, or how the client reconstructs the original file from downloaded blobs.
This is also relevant for the node serving side: nodes can serve individual blobs independently, so keeping blobs separate after file reconstruction has economic value.
Blob/chunk size — fixed vs. variable, trade-offs (metadata overhead vs. parallelism granularity)
Manifest blob format — the blob that lists the ordered set of chunk hashes for a file
How a client discovers the manifest hash (out-of-band? from a registry? embedded in content ID?)
File reconstruction: reassembling ordered blobs into the original file
Whether to keep blobs after reconstruction (for re-serving) or delete them
Interaction with E2E encryption (ADR 006): manifest covers ciphertext hashes, not plaintext
Interaction with parallel download (ADR 024): blob boundaries as natural parallelism units
Why it needs an ADR
Without a canonical blob/manifest structure, clients and content publishers cannot interoperate. This also affects content discovery (ADR 022) since DHT lookups are by blob hash — the manifest hash IS the canonical content identifier.
Expected outcome
ADR 026 defining chunk size policy, manifest blob format, file reconstruction procedure, blob retention semantics post-download, and the relationship between manifest hash and the user-facing content identifier.
Activity
docs: add ADR 026 — file-to-blob mapping, manifests, and reconstruction
docs: add parallel download, crash resume, and manifests to ADR 012