Skip to content

Make it explicit witness must conform to MINIMALIF #764

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

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

ariard
Copy link

@ariard ariard commented Apr 2, 2020

I guess everyone get it right for its onchain transactions but I found some of my test transactions failing against core so make it explicit spending transaction must conform to MINIMALIF. Currently, it's only a standard rule, not a consensus one. Not conforming transaction will be rejected by core, which can be quite annoying for the timeout case.

If you have a better way to encode this, I will modify.

More context:
bitcoin/bitcoin#8526
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-August/013014.html

@ariard ariard force-pushed the 2020-04-correct-enforcing-minimalif branch from f4396e2 to d7a9ecb Compare April 2, 2020 23:25
@ariard ariard force-pushed the 2020-04-correct-enforcing-minimalif branch from d7a9ecb to 060dce8 Compare April 13, 2020 21:42
@ariard
Copy link
Author

ariard commented Apr 13, 2020

Updated following 04/13/2020 meeting.

@ariard ariard force-pushed the 2020-04-correct-enforcing-minimalif branch 2 times, most recently from 78f206d to e584be9 Compare April 13, 2020 21:47
Copy link
Collaborator

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i like the latest version, only one nit

@ariard ariard force-pushed the 2020-04-correct-enforcing-minimalif branch from e584be9 to 57bd1c8 Compare April 15, 2020 01:14
@t-bast
Copy link
Collaborator

t-bast commented Apr 27, 2020

Looks like we have a quorum, merging this and taking it off the agenda for today (yay!)

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.

4 participants