mirror of
https://github.com/bitcoin/bips.git
synced 2024-11-19 09:50:06 +01:00
Merge pull request #1005 from kallewoof/202010-signet-sigscript
bip-325: correct placement of challenge
This commit is contained in:
commit
dcc6a6a200
@ -61,8 +61,10 @@ The "to_sign" transaction is:
|
||||
vin[0].prevout.hash = to_spend.txid
|
||||
vin[0].prevout.n = 0
|
||||
vin[0].nSequence = 0
|
||||
vin[0].sigScript = [ signet_solution sigScript (x bytes), if any ]
|
||||
vin[0].scriptWitness = [ signet_solution scriptWitness (y bytes), if any ]
|
||||
vout[0].nValue = 0
|
||||
vout[0].scriptPubKey = signet_challenge
|
||||
vout[0].scriptPubKey = OP_RETURN
|
||||
|
||||
The scriptSig and/or scriptWitness for <code>vin[0]</code> are filled in from the Signet header push above.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user