summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorBen Carman <benthecarman@live.com>2019-12-09 01:44:43 -0600
committerBen Carman <benthecarman@live.com>2019-12-09 01:44:43 -0600
commitc7191c935e253506d6710d73b3d721f7b66ae371 (patch)
treef53aba7cc808db3956a6f172587d10887ff930c6 /bip-0174.mediawiki
parent580e7192211f0ff5f74b5a18032bf102304a4119 (diff)
downloadbips-c7191c935e253506d6710d73b3d721f7b66ae371.tar.xz
Specify 32 bit itns as unsigned and their endianess
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki12
1 files changed, 6 insertions, 6 deletions
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.