File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,15 @@ We introduce a profile naming system,
2727
2828Each profile must specify the following characteristics:
2929
30- 1 . CID version (CIDv0 or CIDv1)
30+ 1 . CID version (currently only CIDv0 or CIDv1)
31312 . 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
35396 . Required
3640
3741Additional 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
4956This would be specified as a table in (forthcoming UnixFS spec).
You can’t perform that action at this time.
0 commit comments