Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Use deduplicated size of hash #123

Open
AuHau opened this issue Jul 30, 2020 · 0 comments
Open

Use deduplicated size of hash #123

AuHau opened this issue Jul 30, 2020 · 0 comments

Comments

@AuHau
Copy link
Contributor

AuHau commented Jul 30, 2020

Currently, we are using ipfs object stat and its CumulativeSize for checking if the given hash has the size that the user paid for. This though sums sizes of the all linked objects and does not take in consideration deduplication mechanism of IPFS.

Currently, IPFS does not support this calculation natively but is possible as described in ipfs/kubo#5910

@AuHau AuHau added bug Something isn't working diff: moderate P0 - Critical labels Jul 30, 2020
@AuHau AuHau added this to the v0.1.0 - Immutable version milestone Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant