This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
Sharding support in /ipns/<fqdn> paths #22
Labels
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
status/ready
Ready to be worked
Context
/ipns/<fqdn>
due to lack of IPNS/DNSLink/HAMT support/ipns/tr.wikipedia-on-ipfs.org/wiki/Anasayfa.html
/ipfs/
pathsProblem
ipfs.files.stat
, which does not support/ipns/
paths atm.ipfs files stat
in go-ipfs also does not support them, so it is not a bug, just the way API works right now :)Fix
If we reuse
ipfs.files.stat
for HAMT support inipfs-http-response
, and want to support IPNS as well, then js-ipfs-http-response resolver needs to convert/ipns/
paths to immutable/ipfs/
before passing them toipfs.files.stat
Note: DNSLink-aware
ipfs.name.resolve(path, {recursive: true})
is being added in ipfs/js-ipfs#2002, so this issue needs to wait for that to land first.Rationale
Why do the IPNS resolve in
ipfs-http-response
and not in code using the lib?/ipfs/
and/ipns/
The text was updated successfully, but these errors were encountered: