Closed whyrusleeping closed 8 years ago
add should hash content separately as its being sent to ipfs, and then later on the validation step, check the output of cat against that hash. (not an ipfs hash, but some external thing)
This already happens here: https://github.com/dignifiedquire/randor/blob/master/lib/operations/add.js#L34
Missed that, thanks!
add should hash content separately as its being sent to ipfs, and then later on the validation step, check the output of cat against that hash. (not an ipfs hash, but some external thing)