Skip to content
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

Part of /ipns and /ipfs folders don't exist (no bafy-hashes support?) #12

Open
polkovnikov opened this issue Aug 17, 2021 · 0 comments
Open

Comments

@polkovnikov
Copy link

Right now I installed all that is necessary through choco. And did ipfs-mount n:.

After that dir n:/ipns/ipfs.io/ works, but dir n:/ipns/en.wikipedia-on-ipfs.org/ does not (no such dir). Although ipfs ls /ipns/en.wikipedia-on-ipfs.org/ works well.

Seems to me that Wiki ipns uses some more recent version of protocol because ipfs.io folder contains Qm hashes and Wiki folder contains bafy hashes.

I think your ipfs-mount doesn't work with bafy hashes.

Same for /ipfs folders: If you do ipfs resolve /ipns/ipfs.io/ you get a Qm hash /ipfs/Qmdd7368UxUcLM1bdCE5KHRMkeUxMx7h4QwUXsFpRivJ5s and then dir n:/ipfs/Qmdd7368UxUcLM1bdCE5KHRMkeUxMx7h4QwUXsFpRivJ5s/ works well.

But after ipfs resolve /ipns/en.wikipedia-on-ipfs.org/ you get bafy-hash /ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze and dir n:/ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/ doesn't work (no such dir).

So the issue really seems to be related either to bafy-hashes not being supported by your project or due to Wiki folder using some new protocol (version) of encoding.

Also if I pin add any file from Wiki folder then it doesn't appear inside dir n:/ipfs/, but if I pin a file from ipfs.io folder then it appears successfully in dir n:/ipfs/.

@polkovnikov polkovnikov changed the title Part of /ipns and /ipfs folders don't work (no bafy-hashes support?) Part of /ipns and /ipfs folders not exist (no bafy-hashes support?) Aug 17, 2021
@polkovnikov polkovnikov changed the title Part of /ipns and /ipfs folders not exist (no bafy-hashes support?) Part of /ipns and /ipfs folders don't exist (no bafy-hashes support?) Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant