summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorLuke Dashjr <luke_github1@dashjr.org>2019-04-04 02:50:14 +0000
committerGitHub <noreply@github.com>2019-04-04 02:50:14 +0000
commite65e3fadc6a256261459671e422401e6b95e7482 (patch)
tree102d7935ac9b8c055bb7d8a11e3928626c0d3a02 /bip-0174.mediawiki
parent3b435b72f41a4b9675322565985ab80a3db6c971 (diff)
parent7276e9ae7b0f2a4fcbdd79bce484ce4953d2ee05 (diff)
downloadbips-e65e3fadc6a256261459671e422401e6b95e7482.tar.xz
Merge pull request #756 from stevenroose/por
BIP 127: Simple Proof-of-Reserves Transactions
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki11
1 files changed, 11 insertions, 0 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index e6dd44f..f197728 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.
*** <tt>{scriptWitness}</tt>
+* Type: Proof-of-reserves commitment <tt>PSBT_IN_POR_COMMITMENT = 0x09</tt>
+** Key: None. The key must only contain the 1 byte type.
+*** <tt>{0x09}</tt>
+** 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>
+
The currently defined per-output <ref>'''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.</ref> 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