From c7191c935e253506d6710d73b3d721f7b66ae371 Mon Sep 17 00:00:00 2001 From: Ben Carman 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 PSBT_GLOBAL_XPUB = 0x01 ** 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. *** {0x01}|{xpub} -** 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. -*** {master key fingerprint}|{32-bit int}|...|{32-bit int} +** 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. +*** {master key fingerprint}|{32-bit uint}|...|{32-bit uint} * Type: Version Number PSBT_GLOBAL_VERSION = 0xFB ** Key: None. The key must only contain the 1 byte type. *** {0xFB} ** Value: The 32-bit little endian unsigned integer representing the version number of this PSBT. If ommitted, the version number is 0. -*** {32-bit int} +*** {32-bit uint} * Type: Version Number PSBT_GLOBAL_PROPRIETARY = 0xFC ** 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 *** {0x06}|{public key} ** 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. -*** {master key fingerprint}|{32-bit int}|...|{32-bit int} +*** {master key fingerprint}|{32-bit uint}|...|{32-bit uint} * Type: Finalized scriptSig PSBT_IN_FINAL_SCRIPTSIG = 0x07 ** 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 PSBT_OUT_BIP32_DERIVATION = 0x02 ** Key: The public key *** {0x02}|{public key} -** 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. -*** {master key fingerprint}|{32-bit int}|...|{32-bit int} +** 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. +*** {master key fingerprint}|{32-bit uint}|...|{32-bit uint} * Type: Version Number PSBT_OUTPUT_PROPRIETARY = 0xFC ** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself. -- cgit v1.2.3