mirror of
https://github.com/bitcoin/bips.git
synced 2025-06-30 12:42:43 +00:00
clarify that SIMPLE format requires version/locktime/sequence=0 for to_sign transaction
This commit is contained in:
parent
aa92d9cd6e
commit
f52e047d09
@ -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:
|
The <code>to_sign</code> transaction is:
|
||||||
|
|
||||||
nVersion = 0 or as appropriate (e.g. 2, for time locks)
|
nVersion = 0 or (FULL format only) as appropriate (e.g. 2, for time locks)
|
||||||
nLockTime = 0 or as appropriate (for time locks)
|
nLockTime = 0 or (FULL format only) as appropriate (for time locks)
|
||||||
vin[0].prevout.hash = to_spend.txid
|
vin[0].prevout.hash = to_spend.txid
|
||||||
vin[0].prevout.n = 0
|
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
|
vin[0].scriptWitness = message_signature
|
||||||
vout[0].nValue = 0
|
vout[0].nValue = 0
|
||||||
vout[0].scriptPubKey = OP_RETURN
|
vout[0].scriptPubKey = OP_RETURN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user