kubo/core/coreiface
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
..
options refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80) 2022-04-21 17:41:58 +02:00
path path: rename ParsePath and ResolvedPath 2019-04-04 09:00:23 +02:00
tests refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80) 2022-04-21 17:41:58 +02:00
block.go path: rename ParsePath and ResolvedPath 2019-04-04 09:00:23 +02:00
coreapi.go fix: document error (#74) 2022-03-25 07:32:10 -07:00
dag.go gx-go uw 2019-02-09 01:23:13 +01:00
dht.go migrate to go-libp2p-core. 2019-05-28 17:09:34 +01:00
errors.go errors: introduce a 'not supported' error 2019-02-19 02:44:36 -08:00
idfmt.go add id and key formatting utils; format keys as b36cid by default; update tests 2020-07-29 13:58:18 -04:00
key.go migrate to go-libp2p-core. 2019-05-28 17:09:34 +01:00
name.go path: WIP 2019-04-04 09:00:23 +02:00
object.go path: rename ParsePath and ResolvedPath 2019-04-04 09:00:23 +02:00
pin.go pin: add a IsPinned method 2020-03-02 11:40:26 +01:00
pubsub.go migrate to go-libp2p-core. 2019-05-28 17:09:34 +01:00
swarm.go migrate to go-libp2p-core. 2019-05-28 17:09:34 +01:00
unixfs.go path: rename ParsePath and ResolvedPath 2019-04-04 09:00:23 +02:00
util.go Cleanup instances of manual resolver construction 2018-10-02 18:35:14 +02:00