diff options
author | Adam Gibson <ekaggata@gmail.com> | 2019-11-12 11:41:27 +0000 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2020-01-19 14:47:33 -0800 |
commit | 4f67ed25c7704d38c16c7d81a65da2dc663b7729 (patch) | |
tree | c8edf2c81ed4ebdfde72c3194985b71893f89eaf /bip-taproot.mediawiki | |
parent | ba7dd5769758a953853200899289121b52ffb2a2 (diff) |
Add clarification of semantics of 0x00 hash type
Diffstat (limited to 'bip-taproot.mediawiki')
-rw-r--r-- | bip-taproot.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-taproot.mediawiki b/bip-taproot.mediawiki index 6a8c8bb..7b23ea9 100644 --- a/bip-taproot.mediawiki +++ b/bip-taproot.mediawiki @@ -101,7 +101,7 @@ The following rules apply: ==== hash_type ==== -<code>hash_type</code> is an 8-bit unsigned value. The <code>SIGHASH</code> encodings from the legacy script system are used, including <code>SIGHASH_ALL</code>, <code>SIGHASH_NONE</code>, <code>SIGHASH_SINGLE</code>, and <code>SIGHASH_ANYONECANPAY</code> +<code>hash_type</code> is an 8-bit unsigned value. The <code>SIGHASH</code> encodings from the legacy script system are used, including <code>SIGHASH_ALL</code>, <code>SIGHASH_NONE</code>, <code>SIGHASH_SINGLE</code>, and <code>SIGHASH_ANYONECANPAY</code>. Use of the default <code>hash_type = 0x00</code> results in signing over the whole transaction just as for <code>SIGHASH_ALL</code>. The following use of <code>hash_type</code> are invalid, and fail execution: |