summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Black <brandonblack@bitgo.com>2022-04-04 07:44:44 -0700
committerBrandon Black <brandonblack@bitgo.com>2022-04-04 07:44:44 -0700
commit1b67c8835f74e7d66372389c04e736636a430bbf (patch)
treeb58c078fd5c01dcd219f423672830a4014eaac50
parentad6e587232a29f4a86483e3b83ebdfcd7b46f77d (diff)
downloadbips-1b67c8835f74e7d66372389c04e736636a430bbf.tar.xz
Correct pubkey type for TAP_INTERNAL_KEY
-rw-r--r--bip-0174.mediawiki4
-rw-r--r--bip-0371.mediawiki4
2 files changed, 4 insertions, 4 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index 6c5c3cf..41f8bb9 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -465,7 +465,7 @@ The currently defined per-input types are defined as follows:
| <tt>PSBT_IN_TAP_INTERNAL_KEY = 0x17</tt>
| None
| No key data
-| <tt><pubkey></tt>
+| <tt><xonlypubkey></tt>
| The X-only pubkey used as the internal key in this output. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
|
@@ -570,7 +570,7 @@ determine which outputs are change outputs and verify that the change is returni
| <tt>PSBT_OUT_TAP_INTERNAL_KEY = 0x05</tt>
| None
| No key data
-| <tt><pubkey></tt>
+| <tt><xonlypubkey></tt>
| The X-only pubkey used as the internal key in this output.
|
|
diff --git a/bip-0371.mediawiki b/bip-0371.mediawiki
index 1b27d16..665a97b 100644
--- a/bip-0371.mediawiki
+++ b/bip-0371.mediawiki
@@ -89,7 +89,7 @@ The new per-input types are defined as follows:
| <tt>PSBT_IN_TAP_INTERNAL_KEY = 0x17</tt>
| None
| No key data
-| <tt><pubkey></tt>
+| <tt><xonlypubkey></tt>
| The X-only pubkey used as the internal key in this output.<ref>'''Why is the internal key provided?'''The internal key is not necessarily the same key as in the Taproot output script. BIP 341 recommends tweaking the key with the hash of itself. It may be necessary for signers to know what the internal key actually is so that they are able to determine whether an input can be signed by it.</ref> Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
|
@@ -123,7 +123,7 @@ The new per-output types are defined as follows:
| <tt>PSBT_OUT_TAP_INTERNAL_KEY = 0x05</tt>
| None
| No key data
-| <tt><pubkey></tt>
+| <tt><xonlypubkey></tt>
| The X-only pubkey used as the internal key in this output.
|
|