From b01af4315112611a65792479f2aabe8379239043 Mon Sep 17 00:00:00 2001 From: mruddy Date: Sat, 27 Jun 2015 07:02:45 -0400 Subject: [PATCH] second shot at making the definitions more clear --- _data/glossary/en/sighash-anyonecanpay.yaml | 5 ++--- _data/glossary/en/sighash-single.yaml | 8 ++++---- _includes/guide_transactions.md | 13 +++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_data/glossary/en/sighash-anyonecanpay.yaml b/_data/glossary/en/sighash-anyonecanpay.yaml index f154de75..04e903ce 100644 --- a/_data/glossary/en/sighash-anyonecanpay.yaml +++ b/_data/glossary/en/sighash-anyonecanpay.yaml @@ -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" diff --git a/_data/glossary/en/sighash-single.yaml b/_data/glossary/en/sighash-single.yaml index 37f72efa..0e89accd 100644 --- a/_data/glossary/en/sighash-single.yaml +++ b/_data/glossary/en/sighash-single.yaml @@ -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 diff --git a/_includes/guide_transactions.md b/_includes/guide_transactions.md index 97460ab4..d765fe75 100644 --- a/_includes/guide_transactions.md +++ b/_includes/guide_transactions.md @@ -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: