mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 10:57:42 +08:00
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. |
||
|---|---|---|
| .. | ||
| httprouting | ||
| pinningservice | ||
| asserts.go | ||
| cids.go | ||
| files.go | ||
| floats.go | ||
| json.go | ||
| protobuf.go | ||
| random_deterministic.go | ||
| requires.go | ||
| strings.go | ||