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
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,12 @@ The currently defined global types are as follows:
124
124
** Value: The master key fingerprint as defined by BIP 32 concatenated with the derivation path of the public key. The derivation path is represented as 32 bit unsigned integer indexes concatenated with each other. The number of 32 bit unsigned integer indexes must match the depth provided in the extended public key.
@@ -432,6 +438,17 @@ types will be ignored and passed-through by signers which do not know about them
432
438
433
439
If one byte type fields were to ever run out, new extensions can still be added by defining multi-byte types where the first byte signals that the next byte indicates the type and so on.
434
440
441
+
===Version Numbers===
442
+
443
+
The Version number field exists only as a safeguard in the event that a backwards incompatible change is introduced to PSBT.
444
+
If a parser encounters a version number it does not recognize, it should exit immediately as this indicates that the PSBT will contain types that it does not know about and cannot be ignored.
445
+
Current PSBTs are Version 0. Any PSBT that does not have the version field is version 0.
446
+
It is not expected that any backwards incompatible change will be introduced to PSBT, so it is not expected that the version field will ever actually be seen.
447
+
448
+
Updaters and combiners that need to add a version number to a PSBT should use the highest version number required.
449
+
For example, if a combiner sees two PSBTs for the same transaction, one with version 0, and the other with version 1, then it should combine them and produce a PSBT with version 1.
450
+
If an updater is updating a PSBT and needs to add a field that is only available in version 1, then it should set the PSBT version number to 1 unless a version higher than that is already specified.
451
+
435
452
==Compatibility==
436
453
437
454
This transaction format is designed so that it is unable to be properly unserialized
0 commit comments