From 7276e9ae7b0f2a4fcbdd79bce484ce4953d2ee05 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Fri, 30 Nov 2018 11:50:49 +0000 Subject: BIP 127: Simple proofs-of-reserves --- bip-0174.mediawiki | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bip-0174.mediawiki') diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index a3098a4..f8143a1 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -174,6 +174,12 @@ The currently defined per-input types are defined as follows: ** Value: The Finalized scriptWitness contains a fully constructed scriptWitness with signatures and any other scripts necessary for the input to pass validation. *** {scriptWitness} +* Type: Proof-of-reserves commitment PSBT_IN_POR_COMMITMENT = 0x09 +** Key: None. The key must only contain the 1 byte type. +*** {0x09} +** Value: The UTF-8 encoded commitment message string for the proof-of-reserves. See [[bip-0127.mediawiki|BIP 127]] for more information. +*** {porCommitment} + The currently defined per-output '''Why do we need per-output data?''' Per-output data allows signers to verify that the outputs are going to the intended recipient. The output data can also be use by signers to determine which outputs are change outputs and verify that the change is returning to the correct place. types are defined as follows: @@ -698,6 +704,11 @@ Any data types, their associated scope and BIP number must be defined here | PSBT_IN_FINAL_SCRIPTWITNESS | BIP 174 |- +| Input +| 9 +| PSBT_IN_POR_COMMITMENT +| [[bip-0127.mediawiki|BIP 127]] +|- | Output | 0 | PSBT_OUT_REDEEM_SCRIPT -- cgit v1.2.3