forked from ipfs/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch fixes some of the inconsistencies in the IPLD spec, as well as resolving some existing issues, namely: - ipfs/kubo#2053 - allow raw data in leaf nodes - ipfs/kubo#1582 - use EJSON for encoding (non-UTF8) binary data - mandate CBOR Strict Mode to avoid having to deal with duplicated keys - change `link` to `content` (although we could also `data` or something similar), as file content needn't be merkle-links, and can in fact be directly embedded into small files - removed the extraneous `subfiles` wrapper, as file content can be either (a merkle-link to) a bytestring, a unicode string, or a list thereof
- Loading branch information
Showing
1 changed file
with
81 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters