Skip to content

Commit 6cc64cb

Browse files
lidelbumblefudge
andauthored
add extra attributes proposed in review
Co-authored-by: Bumblefudge <bumblefudge@learningproof.xyz>
1 parent 4ba68f0 commit 6cc64cb

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

src/ipips/ipip-0499.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ We introduce a profile naming system,
2727

2828
Each profile must specify the following characteristics:
2929

30-
1. CID version (CIDv0 or CIDv1)
30+
1. CID version (currently only CIDv0 or CIDv1)
3131
2. Hash algorithm
32-
3. Chunk size
33-
4. DAG width
34-
5. DAG layout
32+
3. UnixFS Chunk size (explicitly set, not contextual/reactive to input)
33+
4. UnixFS directory DAG width
34+
5. UnixFS directory DAG layout
35+
6. HAMT directory DAG threshold
36+
7. HAMT directory DAG width
37+
8. Leaf Envelope (historically dag-pb, now none/raw)
38+
9. Allow empty directories
3539
6. Required
3640

3741
Additional profiles can be added at a future date. Profile names may be chosen from the names of any botanical tree with compound leaves.
@@ -43,7 +47,10 @@ Additional profiles can be added at a future date. Profile names may be chosen f
4347
| Chunk size | 1MiB | 256KiB | 1MiB | 1MiB | not specified |
4448
| DAG width | 1024 | 174 (but it's complicated*) | 1024 | 174 | not specified |
4549
| DAG layout | balanced | balanced | balanced | balanced | not specified |
46-
50+
| HAMT threshold | 256KiB (est) | 256KiB (est) | 1000 **links** | 256KiB | not specified |
51+
| HAMT width | 256 blocks | 256 blocks | 256 blocks | 256 blocks | not specified |
52+
| Leaves | raw | raw | raw | raw | not specified |
53+
| EmptyDirs | allowed | allowed | disallowed | allowed | not specified |
4754

4855

4956
This would be specified as a table in (forthcoming UnixFS spec).

0 commit comments

Comments
 (0)