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
Copy file name to clipboardExpand all lines: bip-0174.mediawiki
+1-109Lines changed: 1 addition & 109 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,7 +288,7 @@ Per-input types are defined as follows:
288
288
| 0, 2
289
289
|}
290
290
291
-
The currently defined per-output <ref>'''Why do we need per-output data?''' Per-output data allows signers
291
+
The per-output <ref>'''Why do we need per-output data?''' Per-output data allows signers
292
292
to verify that the outputs are going to the intended recipient. The output data can also be use by signers to
293
293
determine which outputs are change outputs and verify that the change is returning to the correct place.</ref> types are defined as follows:
294
294
@@ -302,7 +302,6 @@ determine which outputs are change outputs and verify that the change is returni
302
302
! Versions Requiring Inclusion
303
303
! Versions Requiring Exclusion
304
304
! Versions Allowing Inclusion
305
-
! Parent BIP
306
305
|-
307
306
| Redeem Script
308
307
| <tt>PSBT_OUT_REDEEM_SCRIPT = 0x00</tt>
@@ -313,7 +312,6 @@ determine which outputs are change outputs and verify that the change is returni
313
312
|
314
313
|
315
314
| 0, 2
316
-
| 174
317
315
|-
318
316
| Witness Script
319
317
| <tt>PSBT_OUT_WITNESS_SCRIPT = 0x01</tt>
@@ -324,7 +322,6 @@ determine which outputs are change outputs and verify that the change is returni
324
322
|
325
323
|
326
324
| 0, 2
327
-
| 174
328
325
|-
329
326
| BIP 32 Derivation Path
330
327
| <tt>PSBT_OUT_BIP32_DERIVATION = 0x02</tt>
@@ -335,110 +332,6 @@ determine which outputs are change outputs and verify that the change is returni
335
332
|
336
333
|
337
334
| 0, 2
338
-
| 174
339
-
|-
340
-
| Output Amount
341
-
| <tt>PSBT_OUT_AMOUNT = 0x03</tt>
342
-
| None
343
-
| No key data
344
-
| <tt><64-bit int amount></tt>
345
-
| 64 bit signed little endian integer representing the output's amount in satoshis.
346
-
| 2
347
-
| 0
348
-
| 2
349
-
| [[bip-0370.mediawiki|370]]
350
-
|-
351
-
| Output Script
352
-
| <tt>PSBT_OUT_SCRIPT = 0x04</tt>
353
-
| None
354
-
| No key data
355
-
| <tt><bytes script></tt>
356
-
| The script for this output, also known as the scriptPubKey. Must be omitted in PSBTv0. Must be provided in PSBTv2 if not sending to a BIP352 silent payment address, otherwise may be omitted.
| One or more tuples representing the depth, leaf version, and script for a leaf in the Taproot tree, allowing the entire tree to be reconstructed. The tuples must be in depth first search order so that the tree is correctly reconstructed. Each tuple is an 8-bit unsigned integer representing the depth in the Taproot tree for this script, an 8-bit unsigned integer representing the leaf version, the length of the script as a compact size unsigned integer, and the script itself.
379
-
|
380
-
|
381
-
| 0, 2
382
-
| [[bip-0371.mediawiki|371]]
383
-
|-
384
-
| Taproot Key BIP 32 Derivation Path
385
-
| <tt>PSBT_OUT_TAP_BIP32_DERIVATION = 0x07</tt>
386
-
| <tt><32 byte xonlypubkey></tt>
387
-
| 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.
388
-
| <tt><compact size uint number of hashes> <32 byte leaf hash>* <4 byte fingerprint> <32-bit little endian uint path element>*</tt>
389
-
| 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.
| A BIP 353 human-readable name (without the ₿ prefix), prefixed by a 1-byte length.
437
-
Followed by an [[https://www.rfc-editor.org/rfc/rfc9102.html#name-dnssec-authentication-chain|RFC 9102 DNSSEC <tt>AuthenticationChain</tt>]] (i.e. a series of DNS Resource Records in no particular order) providing a DNSSEC proof to a BIP 353 DNS TXT record.
438
-
|
439
-
|
440
-
| 0, 2
441
-
| [[bip-0353.mediawiki|353]]
442
335
|-
443
336
| Proprietary Use Type
444
337
| <tt>PSBT_OUT_PROPRIETARY = 0xFC</tt>
@@ -449,7 +342,6 @@ Followed by an [[https://www.rfc-editor.org/rfc/rfc9102.html#name-dnssec-authent
449
342
|
450
343
|
451
344
| 0, 2
452
-
| 174
453
345
|}
454
346
455
347
Types can be skipped when they are unnecessary. For example, if an input is a witness
0 commit comments