-
Notifications
You must be signed in to change notification settings - Fork 38.6k
doc: IsFinalTx comment about nSequence & OP_CLTV #18096
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
Conversation
|
ACK 5546ed61c65c167ba839df7b5277f8689242ae8b. Sheds light on a confusing corner of the code. |
ariard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5546ed6
Thanks for documenting this foresight of OP_CLTV design.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
michaelfolkson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK c4a022d4f75384ba9d6978971fcaeabd072a9acc. Nice addition.
|
@nothingmuch could you squash the fixup commit ? |
c4a022d to
ebe4d26
Compare
|
Done. I've also included @michaelfolkson's suggestion. |
ebe4d26 to
07dedc8
Compare
|
After rereading the diff I added a minor rewording of the comment explaining nLockTime covenants, since I felt it lacked clarity, and force pushed that so that the PR is still squashed at the moment. |
07dedc8 to
ae93eb3
Compare
|
ACK ae93eb3379604a5ee83242f420bb5431fa238b9e. British English spelling of "behaviour" but not worth another force push to change in my view. |
amitiuttarwar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae93eb3379604a5ee83242f420bb5431fa238b9e
one comment, but not worth holding up the PR. its been open for a while and overall this documentation helps clarify some unexpected logic, so def an improvement in my eyes.
|
Concept ACK, definitely makes sense to document unexpected behaviour in more detail. |
|
i fixed both "behaviour" and "the the", will squash & rebase after i reread everything tomorrow |
55a6838 to
abc8f3b
Compare
|
so, despite previous ACKs i couldn't resist rephrasing the paragraph about the locktime covenants, since i could barely understand what i had originally meant by it... squashed and rebased on master |
|
ACK abc8f3bae2cd9a65e170528d77973307050c5b47. Hoping this PR can get merged soon! |
|
ACK |
|
ACK abc8f3b. Looks good. |
maflcko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to better explain how IsFinalTx works, but I am not sure about starting a section about "covenants".
abc8f3b to
047c607
Compare
78051301012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/script/interpreter.cpp
ariard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 047c607
047c607 to
59992cf
Compare
It's somewhat surprising that a transaction's nLockTime field is ignored when all nSequence fields are final, so this change aims to clarify this behavior and cross reference relevant details of OP_CHECKLOCKTIMEVERIFY.
59992cf to
f9e37f3
Compare
|
ACK f9e37f3 |
f9e37f3 doc: IsFinalTx comment about nSequence & OP_CLTV (Yuval Kogman) Pull request description: It's somewhat surprising that a transaction's `nLockTime` field is ignored when all `nSequence` fields are final, so this change aims to clarify this behavior and cross reference relevant details of `OP_CHECKLOCKTIMEVERIFY`. ACKs for top commit: MarcoFalke: ACK f9e37f3 Tree-SHA512: 88460dacbe4b8115fb1948715f09b21d4f34ba1da9e88d52f0b774a969f845e9eddc5940e7fee66eacdd3062dc40d6d44c3f282b0e5144411fd47eb2320b44f5
f9e37f3 doc: IsFinalTx comment about nSequence & OP_CLTV (Yuval Kogman) Pull request description: It's somewhat surprising that a transaction's `nLockTime` field is ignored when all `nSequence` fields are final, so this change aims to clarify this behavior and cross reference relevant details of `OP_CHECKLOCKTIMEVERIFY`. ACKs for top commit: MarcoFalke: ACK f9e37f3 Tree-SHA512: 88460dacbe4b8115fb1948715f09b21d4f34ba1da9e88d52f0b774a969f845e9eddc5940e7fee66eacdd3062dc40d6d44c3f282b0e5144411fd47eb2320b44f5
It's somewhat surprising that a transaction's
nLockTimefield is ignoredwhen all
nSequencefields are final, so this change aims to clarify thisbehavior and cross reference relevant details of
OP_CHECKLOCKTIMEVERIFY.