-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration towards base32 CIDv1 #5358
Comments
This is great, thank you for setting this up. LMK if you need anything from me. |
Issues that I currently need feedback on from the core developers:
|
(subscribing) |
(subscribing) |
Kind request 🙏 - there's a button on the right you can press to subscribe - commenting "(subscribing)" sends me and everyone else mentioned or participating a notification. |
Some relevant updates from Golang Core Dev Team Weekly Sync 2019-02-11:
Q: What's the relative priority of this task compared to others on this list? |
Idea: Use https://github.com/kstenerud/safe-encoding as a better alternative for safe encoding |
On technical merits alone, those encoding schemes look superior (and the order-preserving property looks quite nice). Unfortunately,
|
Discussion that lead us to picking Base32 as the new default can be found in #4143 (comment):
@DonaldTsang encodings you linked look really interesting. |
Important:
via: #7852 |
@DaniellMesquita you can convert any CID to CIDv1 in Base32 via:
You can also make a request to a subdomain gateway, eg. https://dweb.link/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR → https://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi.ipfs.dweb.link/ |
@lidel, ok, but how to get the base32/CIDv1 of an local file like in |
Ok, the pipelines command to get the CIDv1 of an file is: |
|
@hsanjuan, this command isn't compatible with the purpose of only getting the CID of an given file, instead of adding it to IPFS. lidel told me before that the flag to get CIDv1/base32 is Then, maybe
via: #7852 (comment) |
This issue is to form a migration plan to base32 CIDv1 specific to go-ipfs. It is separate from #4143 which was more of a discussion or https://github.com/ipfs/ipfs/issues/337 which is more of a meta issue for all of go-ipfs, js-ipfs, and ipfs-companion.
Phase 1
ipfs add
to return CIDs in alternative base Create ipfs.add flag for specifying base of produced CID #5233 p.r Add global option to specify the multibase encoding. #5464Phase 2 -- full migration.
cc @whyrusleeping @Stebalien @lidel @magik6k @kyledrake.
The text was updated successfully, but these errors were encountered: