An IPFS implementation in Go
Go to file
Lucas Molas caa42b5634 refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80)
* feat(block options): add store codec
* refactor: BlockPutSettings.CidPrefix

Removes duplicated fields and replaces them with cid.Prefix

Codec, MhType and MhLength were  already in prefix, and we already return
prefix. A lot of duplicated values and code responsible for syncing them
did not really need to exist.

* test: CIDv1 raw and dag-pb cases
* chore: release 0.7.0

Co-authored-by: Marcin Rataj <lidel@lidel.org>

This commit was moved from ipfs/interface-go-ipfs-core@a3374d9902

This commit was moved from ipfs/boxo@aca3a1839f
2022-04-21 17:41:58 +02:00
core/coreiface refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80) 2022-04-21 17:41:58 +02:00