mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
second shot at making the definitions more clear
This commit is contained in:
parent
0368f10e71
commit
b01af43151
3 changed files with 13 additions and 13 deletions
|
@ -7,8 +7,7 @@ required:
|
|||
title_max_40_characters_no_formatting: SIGHASH_ANYONECANPAY
|
||||
|
||||
summary_max_255_characters_no_formatting: >
|
||||
A signature hash type which modifies the behavior of other signature hash types
|
||||
to allow signing only the current input.
|
||||
A signature hash type which signs only the current input.
|
||||
|
||||
synonyms_shown_in_glossary_capitalize_first_letter:
|
||||
- SIGHASH_ANYONECANPAY
|
||||
|
@ -37,7 +36,7 @@ optional:
|
|||
- "`sighash_single|sighash_anyonecanpay`"
|
||||
|
||||
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:
|
||||
- "[SIGHASH_ANYONECANPAY](/en/developer-guide#term-sighash-anyonecanpay) --- Bitcoin.org Developer Guide"
|
||||
|
|
|
@ -7,10 +7,10 @@ required:
|
|||
title_max_40_characters_no_formatting: SIGHASH_SINGLE
|
||||
|
||||
summary_max_255_characters_no_formatting: >
|
||||
Signature hash type which signs all of the inputs, but only the one
|
||||
output corresponding to this input (the one with the same index value),
|
||||
allowing modification of other outputs and the sequence number of other
|
||||
inputs.
|
||||
Signature hash type which signs the output corresponding to this input
|
||||
(the one with the same index value), this input, and any other inputs
|
||||
partially. Allows modification of other outputs. The partial signing of
|
||||
other inputs allows modification of their sequence numbers.
|
||||
|
||||
synonyms_shown_in_glossary_capitalize_first_letter:
|
||||
- SIGHASH_SINGLE
|
||||
|
|
|
@ -518,12 +518,13 @@ currently available:
|
|||
signatures using other signature hash flags protect the outputs.
|
||||
|
||||
* [`SIGHASH_SINGLE`][/en/glossary/sighash-single]{:#term-sighash-single}{:.term}
|
||||
signs only the output corresponding to this input (the output
|
||||
with the same output index number as the input), ensuring
|
||||
nobody can change your part of the transaction but allowing other
|
||||
signers to change their part of the transaction. The corresponding
|
||||
output must exist or the value "1" will be signed, breaking the security
|
||||
scheme. The sequence numbers of other inputs are not signed and can be updated.
|
||||
the only output signed is the one corresponding to this input (the output
|
||||
with the same output index number as this input), ensuring nobody can change
|
||||
your part of the transaction but allowing other signers to change their part
|
||||
of the transaction. The corresponding output must exist or the value "1" will
|
||||
be signed, breaking the security scheme. This input, as well as other inputs,
|
||||
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
|
||||
pay) flag, creating three new combined types:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue