|
|
|
|
|
by hecturchi
1493 days ago
|
|
The content ID is not the hash of the content, it is the hash of the root of the Merkle DAG that carries the content. Doing it like that has many advantages, like being able to verify hashes as small blocks are downloaded and not after downloading a huge file. Being able to de-duplicate data, being able to represent files, folders and any type of linked content-addressed data structure. As long as your content is under 4MiB you can opt out of all this and have a content ID that is exactly the hash of the content. |
|