Skip to content

Conversation

jl2012
Copy link
Contributor

@jl2012 jl2012 commented Apr 20, 2016

This PR clarifies the semantics change when ANYONECANPAY is used with SINGLE, with other minor clarifications

@jl2012
Copy link
Contributor Author

jl2012 commented Apr 20, 2016

@sipa

@NicolasDorier
Copy link
Contributor

ACK for me except a nit that might be a english mistake on my part:

"does not commit --to-- the input index"

I would say

"does not commit the input index"

@jl2012
Copy link
Contributor Author

jl2012 commented Apr 20, 2016

@NicolasDorier fixed. Thanks

@@ -1,4 +1,4 @@
<pre>
<pre>
Copy link
Member

Choose a reason for hiding this comment

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

...

Copy link
Contributor

Choose a reason for hiding this comment

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

I dont see it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@luke-jr I think there was a hidden character but this PR removes it. Isn't it?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MarcoFalke I think there was a BOM before, not now

All components in the original algorithm, including the behavior <code>OP_CODESEPERATOR</code>, remains unchanged. The only difference is the way of serialization and the inclusion of amount being spent.
Semantics of the original sighash types remain unchanged, except the followings:
# The way of serialization is changed;
# All sighash types commit the amount being spent by the signed input;
Copy link
Member

Choose a reason for hiding this comment

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

commit to the amount being spent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

revised and squashed

@luke-jr luke-jr merged commit 5160fc7 into bitcoin:master Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants