ceramicnetwork / ceramicnetwork/js-ceramic

Restrict record size upfront

Open
#621 0 comments 0 reactions 0 assignees View on GitHub
dontclose
Dominant language
TypeScript
Stars
423
Forks
126
PR merge metrics
No merged PRs in 30d

Description

Could we enforce the size limit before storing the record in IPFS? Otherwise we spend a lot of time uploading a large file over the network for nothing. This would however require calculating the object size in memory rather than relying on IPFS's stat method. Maybe we can use IPLD directly and try to calculate the size.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.