-
Notifications
You must be signed in to change notification settings - Fork 232
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
Update UnixFS specification #316
Comments
Cc @rvagg @dignifiedquire that Kubo maintainers are going to take the first stab at getting this written in September. Feel free to watch or leave any notes. |
Our latest set of trials & tribulations from Iroh: n0-computer/iroh#198 |
@b5 about n0-computer/iroh#198 I think balanced tree is not in the spec. Or at least, if someone really care about it, it's a non authoritative part of the spec. As long as you get your file sizes rights, and the merkle dag is correct (mean that a correctly build decoder successfully rebuild the original content). You can use whatever scheme you like. |
Sure, maybe not an authoritative part of the spec, but as Lidel pointed out in the implementers call yesterday, there are many things that would be good to suggest within spec documents that give implementers hints so the don't footgun themselves. No one says the dag needs to be balanced. Everyone ends up implementing a balanced tree at some point. |
Some additional asks, based on real world problems I've seen:
|
Another ask is having a recommendation for how to add non-canonical / extensions to the spec e.g. systematization for extra metadata |
I want to do this, but as a followup IPIP. First I start by describing what Kubo do without any new inovation, then we see what we can improve. |
Here is the in-progress PR: #331 |
We need:
Tsize
(total subdag size, raw data + envelopes) and raw file data (without IPFS metadata), and how to read /interpret each.The text was updated successfully, but these errors were encountered: