summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2023-02-15 13:11:38 -0500
committerGreg Sanders <gsanders87@gmail.com>2023-02-15 13:17:22 -0500
commit4ab7faad749856bfc8178f9a12f4c1a8d40f632f (patch)
tree77bb2d6bee054eeaa861e06a4593ae42effe6799 /bip-0174.mediawiki
parent30c88a4bec19b94330bd586e27a8d6a8ceb232a0 (diff)
downloadbips-4ab7faad749856bfc8178f9a12f4c1a8d40f632f.tar.xz
Update PSBT_IN_TAP_BIP32_DERIVATION key desc
Clarify intended usage of PSBT_IN_TAP_BIP32_DERIVATION for key-spends.
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index b7e0d05..6a5d5e8 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -453,7 +453,7 @@ The currently defined per-input types are defined as follows:
| Taproot Key BIP 32 Derivation Path
| <tt>PSBT_IN_TAP_BIP32_DERIVATION = 0x16</tt>
| <tt><32 byte xonlypubkey></tt>
-| A 32 byte X-only public key involved in this input. It may be the internal key, or a key present in a leaf script.
+| A 32 byte X-only public key involved in this input. It may be the output key, the internal key, or a key present in a leaf script.
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
| A compact size unsigned integer representing the number of leaf hashes, followed by a list of leaf hashes, followed by the 4 byte master key fingerprint concatenated with the derivation path of the public key. The derivation path is represented as 32-bit little endian unsigned integer indexes concatenated with each other. Public keys are those needed to spend this output. The leaf hashes are of the leaves which involve this public key. The internal key does not have leaf hashes, so can be indicated with a <tt>hashes len</tt> of 0. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|
@@ -591,7 +591,7 @@ determine which outputs are change outputs and verify that the change is returni
| Taproot Key BIP 32 Derivation Path
| <tt>PSBT_OUT_TAP_BIP32_DERIVATION = 0x07</tt>
| <tt><32 byte xonlypubkey></tt>
-| A 32 byte X-only public key involved in this output. It may be the internal key, or a key present in a leaf script.
+| A 32 byte X-only public key involved in this output. It may be the output key, the internal key, or a key present in a leaf script.
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
| A compact size unsigned integer representing the number of leaf hashes, followed by a list of leaf hashes, followed by the 4 byte master key fingerprint concatenated with the derivation path of the public key. The derivation path is represented as 32-bit little endian unsigned integer indexes concatenated with each other. Public keys are those needed to spend this output. The leaf hashes are of the leaves which involve this public key. The internal key does not have leaf hashes, so can be indicated with a <tt>hashes len</tt> of 0. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
|