second shot at making the definitions more clear

This commit is contained in:
mruddy 2015-06-27 07:02:45 -04:00
parent 0368f10e71
commit b01af43151
3 changed files with 13 additions and 13 deletions

View file

@ -7,8 +7,7 @@ required:
title_max_40_characters_no_formatting: SIGHASH_ANYONECANPAY title_max_40_characters_no_formatting: SIGHASH_ANYONECANPAY
summary_max_255_characters_no_formatting: > summary_max_255_characters_no_formatting: >
A signature hash type which modifies the behavior of other signature hash types A signature hash type which signs only the current input.
to allow signing only the current input.
synonyms_shown_in_glossary_capitalize_first_letter: synonyms_shown_in_glossary_capitalize_first_letter:
- SIGHASH_ANYONECANPAY - SIGHASH_ANYONECANPAY
@ -37,7 +36,7 @@ optional:
- "`sighash_single|sighash_anyonecanpay`" - "`sighash_single|sighash_anyonecanpay`"
not_to_be_confused_with_capitalize_first_letter: not_to_be_confused_with_capitalize_first_letter:
- SIGHASH_SINGLE (which signs only a single output while allowing the sequence number of other inputs to be updated) - SIGHASH_SINGLE (which signs this input, its corresponding output, and other inputs partially)
links_html_or_markdown_style_capitalize_first_letter: links_html_or_markdown_style_capitalize_first_letter:
- "[SIGHASH_ANYONECANPAY](/en/developer-guide#term-sighash-anyonecanpay) --- Bitcoin.org Developer Guide" - "[SIGHASH_ANYONECANPAY](/en/developer-guide#term-sighash-anyonecanpay) --- Bitcoin.org Developer Guide"

View file

@ -7,10 +7,10 @@ required:
title_max_40_characters_no_formatting: SIGHASH_SINGLE title_max_40_characters_no_formatting: SIGHASH_SINGLE
summary_max_255_characters_no_formatting: > summary_max_255_characters_no_formatting: >
Signature hash type which signs all of the inputs, but only the one Signature hash type which signs the output corresponding to this input
output corresponding to this input (the one with the same index value), (the one with the same index value), this input, and any other inputs
allowing modification of other outputs and the sequence number of other partially. Allows modification of other outputs. The partial signing of
inputs. other inputs allows modification of their sequence numbers.
synonyms_shown_in_glossary_capitalize_first_letter: synonyms_shown_in_glossary_capitalize_first_letter:
- SIGHASH_SINGLE - SIGHASH_SINGLE

View file

@ -518,12 +518,13 @@ currently available:
signatures using other signature hash flags protect the outputs. signatures using other signature hash flags protect the outputs.
* [`SIGHASH_SINGLE`][/en/glossary/sighash-single]{:#term-sighash-single}{:.term} * [`SIGHASH_SINGLE`][/en/glossary/sighash-single]{:#term-sighash-single}{:.term}
signs only the output corresponding to this input (the output the only output signed is the one corresponding to this input (the output
with the same output index number as the input), ensuring with the same output index number as this input), ensuring nobody can change
nobody can change your part of the transaction but allowing other your part of the transaction but allowing other signers to change their part
signers to change their part of the transaction. The corresponding of the transaction. The corresponding output must exist or the value "1" will
output must exist or the value "1" will be signed, breaking the security be signed, breaking the security scheme. This input, as well as other inputs,
scheme. The sequence numbers of other inputs are not signed and can be updated. are included in the signature. The sequence numbers of other inputs are not
included in the signature, and can be updated.
The base types can be modified with the [`SIGHASH_ANYONECANPAY`][/en/glossary/sighash-anyonecanpay]{:#term-sighash-anyonecanpay}{:.term} (anyone can The base types can be modified with the [`SIGHASH_ANYONECANPAY`][/en/glossary/sighash-anyonecanpay]{:#term-sighash-anyonecanpay}{:.term} (anyone can
pay) flag, creating three new combined types: pay) flag, creating three new combined types: