summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke_github1@dashjr.org>2020-10-08 04:33:01 +0000
committerGitHub <noreply@github.com>2020-10-08 04:33:01 +0000
commitdcc6a6a200bbea3bf83a3aefe9f8a6d3926a41f8 (patch)
treea20bd76ec3ab5148bc33ef48e453854b27ce0a9b
parentebeb28ee0e25dfa8f66bf17ad548418840fd280d (diff)
parentbb989a69e087b5bb76904e7ceea9cdafbe89b55c (diff)
downloadbips-dcc6a6a200bbea3bf83a3aefe9f8a6d3926a41f8.tar.xz
Merge pull request #1005 from kallewoof/202010-signet-sigscript
bip-325: correct placement of challenge
-rw-r--r--bip-0325.mediawiki4
1 files changed, 3 insertions, 1 deletions
diff --git a/bip-0325.mediawiki b/bip-0325.mediawiki
index d27d0b9..066c3f2 100644
--- a/bip-0325.mediawiki
+++ b/bip-0325.mediawiki
@@ -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.