-
Notifications
You must be signed in to change notification settings - Fork 831
Improve doc of Script::push_verify
#1335
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
Great, thanks! This is much clearer. |
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 41be988c690d23b3ff250b04be895484534aad92
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.
With the added space character: ACK 41be988c690d23b3ff250b04be895484534aad92
bitcoin/src/blockdata/script.rs
Outdated
/// Adds an `OP_VERIFY` to the script, unless the most-recently-added | ||
/// opcode has an alternate `VERIFY` form, in which case that opcode | ||
/// is replaced e.g., `OP_CHECKSIG` will become `OP_CHECKSIGVERIFY`. | ||
/// Adds an `OP_VERIFY` to the script or replaces the last opcode with VERIFY form |
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.
For my learning; is there a reason you do not put a full stop on the brief description?
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.
I guess a bad habit from git.
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.
Ahh, could be :)
This rewords the doc to have a reasonable summary, adds a little background explaining the opcode behavior and the effect of the function when called multiple times. Closes ##1154
69d83d6
to
7e39082
Compare
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 7e39082
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 7e39082
This rewords the doc to have a reasonable summary, adds a little background explaining the opcode behavior and the effect of the function when called multiple times.
Closes #1154