go-hamt-ipld
go-hamt-ipld copied to clipboard
An implementation of a HAMT using ipld
To make this solid and ensure canonical trees are generated as well that it is stable under a large amount of different inputs we should have fuzz tests, both on...
Experimenting with generics to do away with the deferred value decoding step. The generic must conform to `[T HamtValue[T]]` where: ``` type HamtValue[T any] interface { Equal(T) bool MarshalCBOR(io.Writer) error...
~It sucks, but, as far as I know, this is the only way to avoid reflection and other pointy nastiness.~ After applying @Wondertan, it's less terrible.
We're stuck with a custom decoder for pointers, but we can at least use cbor-gen for everything else.
This one's a little more tricky because we don't use the raw cbor-gen output but do some modifications here to deal with a custom Pointer type (pointer_cbor.go isn't included in...
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.5.0 to 0.6.0. Release notes Sourced from github.com/ipfs/go-cid's releases. v0.6.0 What's Changed Minimum Go version updated to 1.24 ci: uci/update-go by @web3-bot in ipfs/go-cid#173 ci: uci/copy-templates by...