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

InputWithScriptRef should not require full scripts #1600

Open
errfrom opened this issue Feb 23, 2024 · 0 comments
Open

InputWithScriptRef should not require full scripts #1600

errfrom opened this issue Feb 23, 2024 · 0 comments

Comments

@errfrom
Copy link
Collaborator

errfrom commented Feb 23, 2024

Currently, both RefInput and SpendInput data constructors of InputWithScriptRef require TransactionOutputWithRefScript, but the contained script is not used for constraint processing and transaction building, and only the Language of the script is used for script integrity hash calculation.

Suggestion: Revise the current interface to allow users to specify a language
of the reference script without providing the full script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant