mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-23 07:15:30 +01:00
Correct pubkey type for TAP_INTERNAL_KEY
This commit is contained in:
parent
ad6e587232
commit
1b67c8835f
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
||||
|
|
||||
|
|
|
@ -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.
|
||||
|
|
||||
|
|
||||
|
|
Loading…
Add table
Reference in a new issue