mirror of
https://github.com/bitcoin/bips.git
synced 2026-02-23 15:38:22 +00:00
BIP 127: Simple proofs-of-reserves
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user