kubo/core/coreunix
Marcin Rataj aaf05db536 test(add): add CID profile tests and wire SizeEstimationMode
add comprehensive test suite for UnixFS CID determinism per IPIP-499:
- verify exact HAMT threshold boundary for both estimation modes:
  - v0-2015 (links): sum(name_len + cid_len) == 262144
  - v1-2025 (block): serialized block size == 262144
- verify HAMT triggers at threshold + 1 byte for both profiles
- add all deterministic CIDs for cross-implementation testing

also wires SizeEstimationMode through CLI/API, allowing
Import.UnixFSHAMTSizeEstimation config to take effect.

bumps boxo to ipfs/boxo@6707376 which aligns HAMT threshold with
JS implementation (uses > instead of >=), fixing CID determinism
at the exact 256 KiB boundary.
2026-01-19 06:13:13 +01:00
..
test/data Fix wrong added filename 2018-06-28 09:07:23 -04:00
add_test.go fix(ci): parallelize gotest, cleanup output, flakiness (#11113) 2026-01-08 05:07:08 +01:00
add.go test(add): add CID profile tests and wire SizeEstimationMode 2026-01-19 06:13:13 +01:00
metadata_test.go feat: go-libp2p 0.36 and /webrtc-direct listener (#10463) 2024-08-06 21:25:27 +02:00
metadata.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00