From c7191c935e253506d6710d73b3d721f7b66ae371 Mon Sep 17 00:00:00 2001
From: Ben Carman <benthecarman@live.com>
Date: Mon, 9 Dec 2019 01:44:43 -0600
Subject: Specify 32 bit itns as unsigned and their endianess

---
 bip-0174.mediawiki | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'bip-0174.mediawiki')

diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index 49bc060..c5c069b 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -123,14 +123,14 @@ The currently defined global types are as follows:
 * Type: Extended Public Key <tt>PSBT_GLOBAL_XPUB = 0x01</tt>
 ** 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.
 *** <tt>{0x01}|{xpub}</tt>
-** 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.
-*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
+** 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.
+*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
 
 * Type: Version Number <tt>PSBT_GLOBAL_VERSION = 0xFB</tt>
 ** Key: None. The key must only contain the 1 byte type.
 *** <tt>{0xFB}</tt>
 ** Value: The 32-bit little endian unsigned integer representing the version number of this PSBT. If ommitted, the version number is 0.
-*** <tt>{32-bit int}</tt>
+*** <tt>{32-bit uint}</tt>
 
 * Type: Version Number <tt>PSBT_GLOBAL_PROPRIETARY = 0xFC</tt>
 ** 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:
 ** Key: The public key
 *** <tt>{0x06}|{public key}</tt>
 ** 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.
-*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
+*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
 
 * Type: Finalized scriptSig <tt>PSBT_IN_FINAL_SCRIPTSIG = 0x07</tt>
 ** 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
 * Type:  BIP 32 Derivation Path <tt>PSBT_OUT_BIP32_DERIVATION = 0x02</tt>
 ** Key: The public key
 *** <tt>{0x02}|{public key}</tt>
-** 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.
-*** <tt>{master key fingerprint}|{32-bit int}|...|{32-bit int}</tt>
+** 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.
+*** <tt>{master key fingerprint}|{32-bit uint}|...|{32-bit uint}</tt>
 
 * Type: Version Number <tt>PSBT_OUTPUT_PROPRIETARY = 0xFC</tt>
 ** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself.
-- 
cgit v1.2.3

