-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Make js-ipfs capable of working with cidv1b32 #1440
Comments
My rough plan for this is:
For the first part of 1 there will need to be changes to multiple APIs to add a For the second part of 1 the local checks might be easy enough to implement. In terms of finding content that isn't local, I'd assume we'd wantlist both versions of the CID, and race them. When we get a response we'd unwant the other...? Something like that. I will write interop tests for the second part of 1 to ensure js-ipfs and go-ipfs can get content from each other using different CID versions. I'll also PR interface-ipfs-core to document the Release sync we need to sync up 2 js-ipfs/go-ipfs releases for steps 1 and 2 so that when IPFS gets these new super powers we can all still fetch content from each other. Happyness ensues and double rainbows appear. Does this sound reasonable? Please leave your thoughts, feedback or just +1 if all good! @whyrusleeping @Stebalien @kevina @magik6k @diasdavid @achingbrain |
I don't like |
I think |
For the |
@alanshaw Is there a different meta issue for this other than this issue? Was wondering if there were any updates here this issue is missing. |
No this is it. Updates are:
I haven't been able to work on anything more 😢 |
Congratz on #1560 and releasing it! :) |
Update: The CID tool was shipped with JS IPFS 0.33 JS IPFS 0.34 will include the two items from (1) ASAP:
|
refs ipfs/js-ipfs#1440 License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
js-ipfs needs to be able to work with cidv1b32 addresses, for both creation and retrieval.
new IPFS({})
or as option to commands likeipfs add
to output base32 cidv1Eventually we want to do a synchronized release with go-ipfs and default to cidv1b32, but for now let's start with getting the basic support in
https://github.com/ipfs/ipfs/issues/337
@alanshaw
The text was updated successfully, but these errors were encountered: