You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
I assume we need to upgrade DagLink to support CIDs, but I've never seen one like that before, so I first want to verify that such a thing should be possible.
The text was updated successfully, but these errors were encountered:
Yes, they can be CIDv1 links. Specifically, unixfs can store CIDv1 pointers to raw blocks. That's how we implement the raw leaves feature (where we store file chunks as raw data instead of wrapping them in protobufs).
js-ipld-dag-pb assumes that links will be multihashes
js-ipld-dag-pb/src/dag-link/index.js
Lines 8 to 23 in 70b0cd5
Here is a dag-pb node where one of the links is a CIDv1
https://ipfs.io/api/v0/dag/get?arg=QmViWi5az9iiPzESM6ruHf84TcmHSAVQ2KQdNveoDH7eaY/refs/heads
I assume we need to upgrade
DagLink
to support CIDs, but I've never seen one like that before, so I first want to verify that such a thing should be possible.The text was updated successfully, but these errors were encountered: