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
The description of keytype incorrectly said it had to be unique: it's the
whole key that must be unique, not the keytype (since we can for instance
have multiple xpubs in the global map).
Copy file name to clipboardExpand all lines: bip-0174.mediawiki
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ be used as a separator and allow for easier unserializer implementation.</ref>.
65
65
Where:
66
66
67
67
;<tt><keytype></tt>
68
-
: A compact size unsigned integer representing the type. This compact size unsigned integer must be minimally encoded, i.e. if the value can be represented using one byte, it must be represented as one byte. This must be unique within a specific <tt><map></tt>.
68
+
: A compact size unsigned integer representing the type. This compact size unsigned integer must be minimally encoded, i.e. if the value can be represented using one byte, it must be represented as one byte. There can be multiple entries with the same <tt><keytype></tt> within a specific <tt><map></tt>, but the <tt><key></tt> must be unique.
69
69
;<tt><keylen></tt>
70
70
: The compact size unsigned integer containing the combined length of <tt><keytype></tt> and <tt><keydata></tt>
71
71
;<tt><valuelen></tt>
@@ -544,7 +544,7 @@ values are valid, then it does not matter which is chosen as either way the tran
544
544
545
545
===Proprietary Use Type===
546
546
547
-
For all global, per-input, and per-output maps, the types <tt>0xFC</tt> is reserved for proprietary use.
547
+
For all global, per-input, and per-output maps, the type <tt>0xFC</tt> is reserved for proprietary use.
548
548
The proprietary use type requires keys that follow the type with a compact size unsigned integer representing the length of the string identifer, followed by the string identifier, then a subtype, and finally any key data.
549
549
550
550
The identifier can be any variable length string that software can use to identify whether the particular data in the proprietary type can be used by it.
@@ -554,7 +554,7 @@ The subtype is defined by the proprietary type user and can mean whatever they w
554
554
The subtype must also be a compact size unsigned integer in the same form as the normal types.
555
555
The key data and value data are defined by the proprietary type user.
556
556
557
-
The proprietary use types is for private use by individuals and organizations who wish to use PSBT in their processes.
557
+
The proprietary use type is for private use by individuals and organizations who wish to use PSBT in their processes.
558
558
It is useful when there are additional data that they need attached to a PSBT but such data are not useful or available for the general public.
559
559
The proprietary use type is not to be used by any public specification and there is no expectation that any publicly available software be able to understand any specific meanings of it and the subtypes.
560
560
This type must be used for internal processes only.
@@ -727,7 +727,7 @@ If an updater is updating a PSBT and needs to add a field that is only available
727
727
===Procedure For New Fields===
728
728
729
729
New fields should first be proposed on the bitcoin-dev mailing list.
730
-
If a field requires significatn description as to its usage, it should be accompanied by a separate BIP.
730
+
If a field requires significant description as to its usage, it should be accompanied by a separate BIP.
731
731
The field must be added to the field listing tables in the Specification section.
0 commit comments