summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorSteven Roose <steven@stevenroose.org>2018-11-30 11:50:49 +0000
committerSteven Roose <steven@stevenroose.org>2019-04-03 21:58:50 +0200
commit7276e9ae7b0f2a4fcbdd79bce484ce4953d2ee05 (patch)
tree0a2fbaf81a420eebbaad553b2369ba1e27644cbd /bip-0174.mediawiki
parentb4853407a7c88cfe72974344f6a642691df53f49 (diff)
downloadbips-7276e9ae7b0f2a4fcbdd79bce484ce4953d2ee05.tar.xz
BIP 127: Simple proofs-of-reserves
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 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.
*** <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