-
-
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
Should format exist in leaves? #230
Comments
Could you elaborate a little more on this? I worked on most of the formatting stuff (unixfs) and could probably provide some insight |
@jbenet can elaborate |
This is just a note to myself to figure out whether leaves in the merkledag should be allowed without a format. We discussed before and opted for forcing format. The issue that emerged is this:
Even if most nodes check it and discard non-properly-formatted blocks, we want to be able to store encrypted blocks, which would dispense with the format.
I don't like 3. because it breaks self-description. We might be able to contrive a format -- if we do define our own format, and not protobuf, for the merkledag node -- where the link table is optional, but recognizable. if parsing fails on the link table part, implementations assume it's a leaf with no links. |
👍 |
Let's bring this discussion to the IPLD thread ipfs/specs#37. |
This should be resolved by CIDv1 Ref #3059 |
progress #3307 |
We now have the ability to create files that have no formatting in the leaves via |
ipfs block put problem
@jbenet
The text was updated successfully, but these errors were encountered: