summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorDmitry Petukhov <dp@simplexum.com>2019-12-14 20:39:40 +0500
committerGitHub <noreply@github.com>2019-12-14 20:39:40 +0500
commit8faf97e720f0800953e71cf156c899b1446ff455 (patch)
tree0190667cd41500143dd0a1587382f748f843f1cf /bip-0174.mediawiki
parent0a388fac4619e4405c40449e4e86416b4b167fe0 (diff)
downloadbips-8faf97e720f0800953e71cf156c899b1446ff455.tar.xz
BIP-174: add missing types to Appendix A; fix proprietary type names
PSBT_INPUT_PROPRIETARY -> PSBT_IN_PROPRIETARY PSBT_OUTPUT_PROPRIETARY -> PSBT_OUT_PROPRIETARY to be consistent with other in/out type names that use shortened `IN` and `OUT`
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki29
1 files changed, 27 insertions, 2 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index d95b119..3121012 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -200,7 +200,7 @@ The currently defined per-input types are defined as follows:
** Value: The UTF-8 encoded commitment message string for the proof-of-reserves. See [[bip-0127.mediawiki|BIP 127]] for more information.
*** <tt>{porCommitment}</tt>
-* Type: Proprietary Use Type <tt>PSBT_INPUT_PROPRIETARY = 0xFC</tt>
+* Type: Proprietary Use Type <tt>PSBT_IN_PROPRIETARY = 0xFC</tt>
** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself.
*** <tt>{0xFC}|<prefix>|{subtype}|{key data}</tt>
** Value: Any value data as defined by the proprietary type user.
@@ -228,7 +228,7 @@ determine which outputs are change outputs and verify that the change is returni
** 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: Proprietary Use Type <tt>PSBT_OUTPUT_PROPRIETARY = 0xFC</tt>
+* Type: Proprietary Use Type <tt>PSBT_OUT_PROPRIETARY = 0xFC</tt>
** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself.
*** <tt>{0xFC}|<prefix>|{subtype}|{key data}</tt>
** Value: Any value data as defined by the proprietary type user.
@@ -748,6 +748,21 @@ Any data types, their associated scope and BIP number must be defined here
| PSBT_GLOBAL_UNSIGNED_TX
| BIP 174
|-
+| Global
+| 1
+| PSBT_GLOBAL_XPUB
+| BIP 174
+|-
+| Global
+| 251
+| PSBT_GLOBAL_VERSION
+| BIP 174
+|-
+| Global
+| 252
+| PSBT_GLOBAL_PROPRIETARY
+| BIP 174
+|-
| Input
| 0
| PSBT_IN_NON_WITNESS_UTXO
@@ -798,6 +813,11 @@ Any data types, their associated scope and BIP number must be defined here
| PSBT_IN_POR_COMMITMENT
| [[bip-0127.mediawiki|BIP 127]]
|-
+| Input
+| 252
+| PSBT_IN_PROPRIETARY
+| BIP 174
+|-
| Output
| 0
| PSBT_OUT_REDEEM_SCRIPT
@@ -812,4 +832,9 @@ Any data types, their associated scope and BIP number must be defined here
| 2
| PSBT_OUT_BIP32_DERIVATION
| BIP 174
+|-
+| Output
+| 252
+| PSBT_OUT_PROPRIETARY
+| BIP 174
|}