From e5918b3b2952d39a5a8962ee88abddbb0c40328d Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Tue, 12 Nov 2019 11:41:27 +0000 Subject: [PATCH] Add clarification of semantics of 0x00 hash type --- bip-taproot.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-taproot.mediawiki b/bip-taproot.mediawiki index 7d646ea1..d3b3e4ba 100644 --- a/bip-taproot.mediawiki +++ b/bip-taproot.mediawiki @@ -100,7 +100,7 @@ The following rules apply: ==== hash_type ==== -hash_type is an 8-bit unsigned value. The SIGHASH encodings from the legacy script system are used, including SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SINGLE, and SIGHASH_ANYONECANPAY +hash_type is an 8-bit unsigned value. The SIGHASH encodings from the legacy script system are used, including SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SINGLE, and SIGHASH_ANYONECANPAY. Use of the default hash_type = 0x00 results in signing over the whole transaction just as for SIGHASH_ALL. The following use of hash_type are invalid, and fail execution: