diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index 445e3501..08aec099 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -200,6 +200,30 @@ 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. *** {porCommitment} +* Type: RIPEMD160 preimage PSBT_RIPEMD160 = 0x0a +** Key: The resulting hash of the preimage +*** {0x0a}|{20-byte hash} +** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `RIPEMD160` algorithm +*** {preimage} + +* Type: SHA256 preimage PSBT_SHA256 = 0x0b +** Key: The resulting hash of the preimage +*** {0x0b}|{32-byte hash} +** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `SHA256` algorithm +*** {preimage} + +* Type: HASH160 preimage PSBT_HASH160 = 0x0c +** Key: The resulting hash of the preimage +*** {0x0c}|{20-byte hash} +** 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 +*** {preimage} + +* Type: HASH256 preimage PSBT_HASH256 = 0x0d +** Key: The resulting hash of the preimage +*** {0x0d}|{32-byte hash} +** Value: The hash preimage, encoded as a byte vector, which must equal the key when run through the `SHA256` algorithm twice +*** {preimage} + * Type: Proprietary Use Type PSBT_IN_PROPRIETARY = 0xFC ** Key: Variable length identifier prefix, followed by a subtype, followed by the key data itself. *** {0xFC}||{subtype}|{key data}