Skip to content

Commit e47ee83

Browse files
authored
Merge pull request bitcoin#1422 from instagibbs/patch-18
Update PSBT_IN_TAP_BIP32_DERIVATION key desc
2 parents 30c88a4 + 4ab7faa commit e47ee83

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bip-0174.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ The currently defined per-input types are defined as follows:
453453
| Taproot Key BIP 32 Derivation Path
454454
| <tt>PSBT_IN_TAP_BIP32_DERIVATION = 0x16</tt>
455455
| <tt><32 byte xonlypubkey></tt>
456-
| 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.
456+
| 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.
457457
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
458458
| 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.
459459
|
@@ -591,7 +591,7 @@ determine which outputs are change outputs and verify that the change is returni
591591
| Taproot Key BIP 32 Derivation Path
592592
| <tt>PSBT_OUT_TAP_BIP32_DERIVATION = 0x07</tt>
593593
| <tt><32 byte xonlypubkey></tt>
594-
| 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.
594+
| 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.
595595
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
596596
| 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.
597597
|

bip-0371.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The new per-input types are defined as follows:
7878
| Taproot Key BIP 32 Derivation Path
7979
| <tt>PSBT_IN_TAP_BIP32_DERIVATION = 0x16</tt>
8080
| <tt><32 byte xonlypubkey></tt>
81-
| 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.
81+
| 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.
8282
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
8383
| 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.
8484
|
@@ -142,7 +142,7 @@ The new per-output types are defined as follows:
142142
| Taproot Key BIP 32 Derivation Path
143143
| <tt>PSBT_OUT_TAP_BIP32_DERIVATION = 0x07</tt>
144144
| <tt><32 byte xonlypubkey></tt>
145-
| 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.
145+
| 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.
146146
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
147147
| 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.
148148
|

0 commit comments

Comments
 (0)