Skip to content

Commit

Permalink
Merge pull request bitcoin#1005 from kallewoof/202010-signet-sigscript
Browse files Browse the repository at this point in the history
bip-325: correct placement of challenge
  • Loading branch information
luke-jr committed Oct 8, 2020
2 parents ebeb28e + bb989a6 commit dcc6a6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bip-0325.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit dcc6a6a

Please sign in to comment.