Skip to content

Commit c7191c9

Browse files
committed
Specify 32 bit itns as unsigned and their endianess
1 parent 580e719 commit c7191c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bip-0174.mediawiki

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ The currently defined global types are as follows:
123123
* Type: Extended Public Key <tt>PSBT_GLOBAL_XPUB = 0x01</tt>
124124
** Key: The type followed by the 78 byte serialized extended public key as defined by BIP 32. Extended public keys are those that can be used to derive public keys used in the inputs and outputs of this transaction. It should be the public key at the highest hardened derivation index so that the unhardened child keys used in the transaction can be derived.
125125
*** <tt>{0x01}|{xpub}</tt>
126-
** 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.
127-
*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
126+
** 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 little endian 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.
127+
*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
128128
129129
* Type: Version Number <tt>PSBT_GLOBAL_VERSION = 0xFB</tt>
130130
** Key: None. The key must only contain the 1 byte type.
131131
*** <tt>{0xFB}</tt>
132132
** Value: The 32-bit little endian unsigned integer representing the version number of this PSBT. If ommitted, the version number is 0.
133-
*** <tt>{32-bit int}</tt>
133+
*** <tt>{32-bit uint}</tt>
134134
135135
* Type: Version Number <tt>PSBT_GLOBAL_PROPRIETARY = 0xFC</tt>
136136
** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself.
@@ -180,7 +180,7 @@ The currently defined per-input types are defined as follows:
180180
** Key: The public key
181181
*** <tt>{0x06}|{public key}</tt>
182182
** 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. Public keys are those that will be needed to sign this input.
183-
*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
183+
*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
184184
185185
* Type: Finalized scriptSig <tt>PSBT_IN_FINAL_SCRIPTSIG = 0x07</tt>
186186
** Key: None. The key must only contain the 1 byte type.
@@ -225,8 +225,8 @@ determine which outputs are change outputs and verify that the change is returni
225225
* Type: BIP 32 Derivation Path <tt>PSBT_OUT_BIP32_DERIVATION = 0x02</tt>
226226
** Key: The public key
227227
*** <tt>{0x02}|{public key}</tt>
228-
** Value: The master key fingerprint concatenated with the derivation path of the public key. The derivation path is represented as 32 bit unsigned integer indexes concatenated with each other. Public keys are those needed to spend this output.
229-
*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
228+
** Value: The 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.
229+
*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
230230
231231
* Type: Version Number <tt>PSBT_OUTPUT_PROPRIETARY = 0xFC</tt>
232232
** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself.

0 commit comments

Comments
 (0)