1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-06-30 12:42:43 +00:00

[BIP322] remove empty message requirement for full (proof-of-funds) proofs (#1352)

* add bip-notatether-signedmessage

* minor heading correction

* minor formatting correction

* minor formatting correction

* minor formatting correction

* minor formatting correction

* minor formatting correction

* minor formatting correction

* fix some consistency errors

* Remove empty message for UTXO proofs

* Delete bip-notatether-signedmessage.mediawiki
This commit is contained in:
Ali Sherief 2024-05-01 13:44:03 +00:00 committed by GitHub
parent 51b2d131be
commit 6fc75b1b21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,8 +80,6 @@ A full signature consists of the base64-encoding of the <code>to_sign</code> tra
A signer may construct a proof of funds, demonstrating control of a set of UTXOs, by constructing a full signature as above, with the following modifications. A signer may construct a proof of funds, demonstrating control of a set of UTXOs, by constructing a full signature as above, with the following modifications.
* <code>message_challenge</code> is unused and shall be set to <code>OP_TRUE</code>
* Similarly, <code>message_signature</code> is then empty.
* All outputs that the signer wishes to demonstrate control of are included as additional inputs of <code>to_sign</code>, and their witness and scriptSig data should be set as though these outputs were actually being spent. * All outputs that the signer wishes to demonstrate control of are included as additional inputs of <code>to_sign</code>, and their witness and scriptSig data should be set as though these outputs were actually being spent.
Unlike an ordinary signature, validators of a proof of funds need access to the current UTXO set, to learn that the claimed inputs exist on the blockchain, and to learn their scriptPubKeys. Unlike an ordinary signature, validators of a proof of funds need access to the current UTXO set, to learn that the claimed inputs exist on the blockchain, and to learn their scriptPubKeys.