summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorAndrew Poelstra <apoelstra@wpsoftware.net>2020-08-26 13:49:42 +0000
committerAndrew Poelstra <apoelstra@wpsoftware.net>2020-08-26 13:49:42 +0000
commite30d465a6a6f1dfbeb46539cce8872ea0fc94335 (patch)
tree3a0ff258a87d339199cdbe6ba1587fdda8833392 /bip-0174.mediawiki
parent9d44e594b0baa509f95609010c64ef2840da2233 (diff)
downloadbips-e30d465a6a6f1dfbeb46539cce8872ea0fc94335.tar.xz
bip174: add `_IN_` to new hash preimage fields
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki8
1 files changed, 4 insertions, 4 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index 65fa9a9..b9ac958 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -200,25 +200,25 @@ 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: RIPEMD160 preimage <tt>PSBT_RIPEMD160 = 0x0a</tt>
+* Type: RIPEMD160 preimage <tt>PSBT_IN_RIPEMD160 = 0x0a</tt>
** Key: The resulting hash of the preimage
*** <tt>{0x0a}|{20-byte hash}</tt>
** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `RIPEMD160` algorithm
*** <tt>{preimage}</tt>
-* Type: SHA256 preimage <tt>PSBT_SHA256 = 0x0b</tt>
+* Type: SHA256 preimage <tt>PSBT_IN_SHA256 = 0x0b</tt>
** Key: The resulting hash of the preimage
*** <tt>{0x0b}|{32-byte hash}</tt>
** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `SHA256` algorithm
*** <tt>{preimage}</tt>
-* Type: HASH160 preimage <tt>PSBT_HASH160 = 0x0c</tt>
+* Type: HASH160 preimage <tt>PSBT_IN_HASH160 = 0x0c</tt>
** Key: The resulting hash of the preimage
*** <tt>{0x0c}|{20-byte hash}</tt>
** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `SHA256` algorithm followed by the `RIPEMD160` algorithm
*** <tt>{preimage}</tt>
-* Type: HASH256 preimage <tt>PSBT_HASH256 = 0x0d</tt>
+* Type: HASH256 preimage <tt>PSBT_IN_HASH256 = 0x0d</tt>
** Key: The resulting hash of the preimage
*** <tt>{0x0d}|{32-byte hash}</tt>
** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `SHA256` algorithm twice