1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-01-19 05:45:07 +01:00

clarify that SIMPLE format requires version/locktime/sequence=0 for to_sign transaction

This commit is contained in:
Karl-Johan Alm 2022-02-02 12:39:11 +09:00
parent aa92d9cd6e
commit f52e047d09
No known key found for this signature in database
GPG Key ID: 57AF762DB3353322

View File

@ -65,11 +65,11 @@ where <code>message_hash</code> is a BIP340-tagged hash of the message, i.e. sha
The <code>to_sign</code> transaction is:
nVersion = 0 or as appropriate (e.g. 2, for time locks)
nLockTime = 0 or as appropriate (for time locks)
nVersion = 0 or (FULL format only) as appropriate (e.g. 2, for time locks)
nLockTime = 0 or (FULL format only) as appropriate (for time locks)
vin[0].prevout.hash = to_spend.txid
vin[0].prevout.n = 0
vin[0].nSequence = 0 or as appropriate (for time locks)
vin[0].nSequence = 0 or (FULL format only) as appropriate (for time locks)
vin[0].scriptWitness = message_signature
vout[0].nValue = 0
vout[0].scriptPubKey = OP_RETURN