Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle large outputs in receipts as CID'ed #562

Open
3 tasks
zeeshanlakhani opened this issue Feb 8, 2024 · 0 comments
Open
3 tasks

Handle large outputs in receipts as CID'ed #562

zeeshanlakhani opened this issue Feb 8, 2024 · 0 comments
Labels
workflows Related to IPVM workflows

Comments

@zeeshanlakhani
Copy link
Contributor

zeeshanlakhani commented Feb 8, 2024

Summary

As discussed in #450, we need a way to handle large outputs. Instead of the receipt returning the output, that output could be turned into a CID, stored in Homestar, and then IPFS by default, or allow the option for elsewhere.

Components

  • Threshold for the size of a receipt output
  • If >= Threshold, the output becomes a CID and possibly includes a URL in the metadata to where to retrieve it from (defaults = IPFS).
  • If < Threshold, the output is directly inlined (like today)
@zeeshanlakhani zeeshanlakhani added the workflows Related to IPVM workflows label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflows Related to IPVM workflows
Projects
None yet
Development

No branches or pull requests

1 participant