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

All peg-out related detection pushes should be <= OP_PUSHDATA4 #610

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

instagibbs
Copy link
Collaborator

@instagibbs instagibbs commented May 7, 2019

related to #598 , #596, #597

This does not affect consensus, but affects consumers of these parsing rules such as rust-elements.

cc @apoelstra @roconnor-blockstream

@roconnor-blockstream
Copy link
Contributor

I don't know if you intend to do this in a follow-up PR, but IsPegoutScript needs to check that all following opcodes are less than or equal to OP_PUSHDATA4.

@instagibbs
Copy link
Collaborator Author

Ah, good point.

@roconnor-blockstream
Copy link
Contributor

LGTM

@apoelstra
Copy link
Member

LGTM.

@instagibbs instagibbs merged commit cff50f5 into ElementsProject:master Jun 5, 2019
instagibbs added a commit that referenced this pull request Jun 5, 2019
…DATA4

cff50f5 All peg-out related detection pushes should be <= OP_PUSHDATA4 (Gregory Sanders)

Pull request description:

  related to #598 , #596, #597

  This does not affect consensus, but affects consumers of these parsing rules such as rust-elements.

  cc @apoelstra @roconnor-blockstream

Tree-SHA512: 4ab6f0be52c3804b2af43c7b3eecbbe8f2868d3f33385dc54f3acb0e441188018a2b3df197801f2c20fa96e224b6acacb642ecf2f030227618e0aea1e2da44ea
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 3, 2020
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 9, 2020
gwillen pushed a commit that referenced this pull request Mar 3, 2021
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

Successfully merging this pull request may close these issues.

3 participants