Skip to content

Commit

Permalink
Revert "[BIP322] remove empty message requirement for full (proof-of-…
Browse files Browse the repository at this point in the history
…funds) p…"

This reverts commit 6fc75b1.
  • Loading branch information
arjunsunar1 authored Aug 31, 2024
1 parent 69d8eeb commit fe875dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bip-0322.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ 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.

* <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.
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.
Expand Down

0 comments on commit fe875dc

Please sign in to comment.