You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -94,6 +94,7 @@ The currently defined global types are as follows:
94
94
! Versions Requiring Inclusion
95
95
! Versions Requiring Exclusion
96
96
! Versions Allowing Inclusion
97
+
! Parent BIP
97
98
|-
98
99
| Unsigned Transaction
99
100
| <tt>PSBT_GLOBAL_UNSIGNED_TX = 0x00</tt>
@@ -104,6 +105,7 @@ The currently defined global types are as follows:
104
105
| 0
105
106
|
106
107
| 0
108
+
| 174
107
109
|-
108
110
| Extended Public Key
109
111
| <tt>PSBT_GLOBAL_XPUB = 0x01</tt>
@@ -114,6 +116,7 @@ The currently defined global types are as follows:
114
116
|
115
117
|
116
118
| 0
119
+
| 174
117
120
|-
118
121
| PSBT Version Number
119
122
| <tt>PSBT_GLOBAL_VERSION = 0xFB</tt>
@@ -124,6 +127,7 @@ The currently defined global types are as follows:
124
127
|
125
128
|
126
129
| 0
130
+
| 174
127
131
|-
128
132
| Proprietary Use Type
129
133
| <tt>PSBT_GLOBAL_PROPRIETARY = 0xFC</tt>
@@ -134,6 +138,7 @@ The currently defined global types are as follows:
134
138
|
135
139
|
136
140
| 0
141
+
| 174
137
142
|}
138
143
139
144
The currently defined per-input types are defined as follows:
@@ -148,6 +153,7 @@ The currently defined per-input types are defined as follows:
148
153
! Versions Requiring Inclusion
149
154
! Versions Requiring Exclusion
150
155
! Versions Allowing Inclusion
156
+
! Parent BIP
151
157
|-
152
158
| Non-Witness UTXO
153
159
| <tt>PSBT_IN_NON_WITNESS_UTXO = 0x00</tt>
@@ -158,6 +164,7 @@ The currently defined per-input types are defined as follows:
158
164
|
159
165
|
160
166
| 0
167
+
| 174
161
168
|-
162
169
| Witness UTXO
163
170
| <tt>PSBT_IN_WITNESS_UTXO = 0x01</tt>
@@ -168,6 +175,7 @@ The currently defined per-input types are defined as follows:
168
175
|
169
176
|
170
177
| 0
178
+
| 174
171
179
|-
172
180
| Partial Signature
173
181
| <tt>PSBT_IN_PARTIAL_SIG = 0x02</tt>
@@ -178,6 +186,7 @@ The currently defined per-input types are defined as follows:
178
186
|
179
187
|
180
188
| 0
189
+
| 174
181
190
|-
182
191
| Sighash Type
183
192
| <tt>PSBT_IN_SIGHASH_TYPE = 0x03</tt>
@@ -188,6 +197,7 @@ The currently defined per-input types are defined as follows:
188
197
|
189
198
|
190
199
| 0
200
+
| 174
191
201
|-
192
202
| Redeem Script
193
203
| <tt>PSBT_IN_REDEEM_SCRIPT = 0x04</tt>
@@ -198,6 +208,7 @@ The currently defined per-input types are defined as follows:
198
208
|
199
209
|
200
210
| 0
211
+
| 174
201
212
|-
202
213
| Witness Script
203
214
| <tt>PSBT_IN_WITNESS_SCRIPT = 0x05</tt>
@@ -208,6 +219,7 @@ The currently defined per-input types are defined as follows:
208
219
|
209
220
|
210
221
| 0
222
+
| 174
211
223
|-
212
224
| BIP 32 Derivation Path
213
225
| <tt>PSBT_IN_BIP32_DERIVATION = 0x06</tt>
@@ -218,6 +230,7 @@ The currently defined per-input types are defined as follows:
218
230
|
219
231
|
220
232
| 0
233
+
| 174
221
234
|-
222
235
| Finalized scriptSig
223
236
| <tt>PSBT_IN_FINAL_SCRIPTSIG = 0x07</tt>
@@ -228,6 +241,7 @@ The currently defined per-input types are defined as follows:
228
241
|
229
242
|
230
243
| 0
244
+
| 174
231
245
|-
232
246
| Finalized scriptWitness
233
247
| <tt>PSBT_IN_FINAL_SCRIPTWITNESS = 0x08</tt>
@@ -238,6 +252,7 @@ The currently defined per-input types are defined as follows:
238
252
|
239
253
|
240
254
| 0
255
+
| 174
241
256
|-
242
257
| Proof-of-reserves commitment
243
258
| <tt>PSBT_IN_POR_COMMITMENT = 0x09</tt>
@@ -248,6 +263,7 @@ The currently defined per-input types are defined as follows:
248
263
|
249
264
|
250
265
| 0
266
+
| [[bip-0127.mediawiki|127]]
251
267
|-
252
268
| RIPEMD160 preimage
253
269
| <tt>PSBT_IN_RIPEMD160 = 0x0a</tt>
@@ -258,6 +274,7 @@ The currently defined per-input types are defined as follows:
258
274
|
259
275
|
260
276
| 0
277
+
| 174
261
278
|-
262
279
| SHA256 preimage
263
280
| <tt>PSBT_IN_SHA256 = 0x0b</tt>
@@ -268,6 +285,7 @@ The currently defined per-input types are defined as follows:
268
285
|
269
286
|
270
287
| 0
288
+
| 174
271
289
|-
272
290
| HASH160 preimage
273
291
| <tt>PSBT_IN_HASH160 = 0x0c</tt>
@@ -278,6 +296,7 @@ The currently defined per-input types are defined as follows:
278
296
|
279
297
|
280
298
| 0
299
+
| 174
281
300
|-
282
301
| HASH256 preimage
283
302
| <tt>PSBT_IN_HASH256 = 0x0d</tt>
@@ -288,6 +307,7 @@ The currently defined per-input types are defined as follows:
288
307
|
289
308
|
290
309
| 0
310
+
| 174
291
311
|-
292
312
| Proprietary Use Type
293
313
| <tt>PSBT_IN_PROPRIETARY = 0xFC</tt>
@@ -298,6 +318,7 @@ The currently defined per-input types are defined as follows:
298
318
|
299
319
|
300
320
| 0
321
+
| 174
301
322
|}
302
323
303
324
The currently defined per-output <ref>'''Why do we need per-output data?''' Per-output data allows signers
@@ -314,6 +335,7 @@ determine which outputs are change outputs and verify that the change is returni
314
335
! Versions Requiring Inclusion
315
336
! Versions Requiring Exclusion
316
337
! Versions Allowing Inclusion
338
+
! Parent BIP
317
339
|-
318
340
| Redeem Script
319
341
| <tt>PSBT_OUT_REDEEM_SCRIPT = 0x00</tt>
@@ -324,6 +346,7 @@ determine which outputs are change outputs and verify that the change is returni
324
346
|
325
347
|
326
348
| 0
349
+
| 174
327
350
|-
328
351
| Witness Script
329
352
| <tt>PSBT_OUT_WITNESS_SCRIPT = 0x01</tt>
@@ -334,6 +357,7 @@ determine which outputs are change outputs and verify that the change is returni
334
357
|
335
358
|
336
359
| 0
360
+
| 174
337
361
|-
338
362
| BIP 32 Derivation Path
339
363
| <tt>PSBT_OUT_BIP32_DERIVATION = 0x02</tt>
@@ -344,6 +368,7 @@ determine which outputs are change outputs and verify that the change is returni
344
368
|
345
369
|
346
370
| 0
371
+
| 174
347
372
|-
348
373
| Proprietary Use Type
349
374
| <tt>PSBT_OUT_PROPRIETARY = 0xFC</tt>
@@ -354,6 +379,7 @@ determine which outputs are change outputs and verify that the change is returni
354
379
|
355
380
|
356
381
| 0
382
+
| 174
357
383
|}
358
384
359
385
Types can be skipped when they are unnecessary. For example, if an input is a witness
@@ -817,129 +843,3 @@ and for coming up with the name and abbreviation of PSBT.
817
843
818
844
Thanks to Pieter Wuille, Gregory Maxwell, Jonathan Underwood, Daniel Cousens and those who commented on the bitcoin-dev mailing list for additional comments
819
845
and suggestions for improving this proposal.
820
-
821
-
==Appendix A: Data types and their specifications==
822
-
823
-
Any data types, their associated scope and BIP number must be defined here
0 commit comments