1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-12-22 14:45:19 +00:00

Merge pull request #2058 from kurahin/fix/bip322-proof-of-funds-inputs

This commit is contained in:
Jon Atack 2025-12-16 17:59:57 -08:00 committed by GitHub
commit 46858e5b1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ Signers who control an address ''A'' who wish to sign a message ''m'' act as fol
# They construct <code>to_spend</code> and <code>to_sign</code> as specified above, using the scriptPubKey of ''A'' for <code>message_challenge</code> and tagged hash of ''m'' as <code>message_hash</code>. # They construct <code>to_spend</code> and <code>to_sign</code> as specified above, using the scriptPubKey of ''A'' for <code>message_challenge</code> and tagged hash of ''m'' as <code>message_hash</code>.
# Optionally, they may set nLockTime of <code>to_sign</code> or nSequence of its first input. # Optionally, they may set nLockTime of <code>to_sign</code> or nSequence of its first input.
# Optionally, they may add any additional outputs to <code>to_sign</code> that they wish to prove control of. # Optionally, they may add any additional inputs to <code>to_sign</code> that they wish to prove control of.
# They satisfy <code>to_sign</code> as they would any other transaction. # They satisfy <code>to_sign</code> as they would any other transaction.
They then encode their signature, choosing either ''simple'' or ''full'' as follows: They then encode their signature, choosing either ''simple'' or ''full'' as follows: