You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
This is a followup to #476, but to extend the deduplicated size calculation to file uploads. Currently when uploading files we use the size reported by the file handler that golang has. This size may be smaller once we upload it to IPFS.
A flow that would enable us to do this is as follows:
Check that the user account has enough credits to pay for the non-deduplicated file size
Deduct that from their accont
Add to IPFS
Get the deduplicated size after adding to IPFS
If smaller, return the difference in credits to the user account
Update their database record with the deduplicated size
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a followup to #476, but to extend the deduplicated size calculation to file uploads. Currently when uploading files we use the size reported by the file handler that golang has. This size may be smaller once we upload it to IPFS.
A flow that would enable us to do this is as follows:
The text was updated successfully, but these errors were encountered: