Skip to content

Commit 478f20f

Browse files
committed
[PSBT] Clarify that global data can be for inputs and outputs
Clarifies that global data fields redeem scripts, witness scripts, and hd keypaths can be used for data necessary for both the inputs and outputs of the transaction.
1 parent d1874d5 commit 478f20f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bip-0174.mediawiki

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ The format of each key-value map is as follows:
108108

109109
The first byte of each key specifies the type of the key-value pair. Some types are
110110
for global fields and other fields are for each input. The only required type in a
111-
PSBT is the transaction type, as defined below. The currently defined global types are as follows:
111+
PSBT is the transaction type, as defined below. All global types that can pertain to both
112+
inputs and outputs of a transaction can include data for both inputs and outputs of
113+
the transaction. The currently defined global types are as follows:
112114

113115
{| class="wikitable" style="width: auto; text-align: center; font-size: smaller;
114116
table-layout: fixed;"
@@ -174,7 +176,8 @@ Value:
174176
| The public key
175177
| The master key fingerprint concatenated with the derivation path of the public key. The
176178
derivation path is represented as 32 bit unsigned integer indexes concatenated
177-
with each other. This must omit the index of the master key.
179+
with each other. This must omit the index of the master key. Public keys can be those that
180+
will be needed to sign any type of key hash input or is spent to by an output.
178181
| Key:
179182
<pre>
180183
{0x03}|{public key}

0 commit comments

Comments
 (0)