Skip to content

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

@polkovnikov

Description

@polkovnikov

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/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions