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

Add OP_PUSHBYTES to all the OP_RETURN outputs #1

Open
nchashch opened this issue Oct 18, 2024 · 1 comment
Open

Add OP_PUSHBYTES to all the OP_RETURN outputs #1

nchashch opened this issue Oct 18, 2024 · 1 comment
Assignees

Comments

@nchashch
Copy link
Collaborator

nchashch commented Oct 18, 2024

This will make the transactions pass the standardness checks.

It is possible to only do that for non-coinbase outputs, because coinbase doesn't need to adhere to standardness rules.

Though I think it would be better to do that for all OP_RETURNS for consistency/to make it less confusing. The cost is just one byte per output.

@nchashch
Copy link
Collaborator Author

nchashch commented Oct 31, 2024

This is already implemented in bip300301_enforcer by LayerTwo-Labs/bip300301_enforcer#52 .

So we need to update the specification to match.

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