Lab02Slide
Lab02Slide
Technical overview
<Signature> <PublicKey>
1 Initialization:
Combine the scriptSig and scriptPubKey.
Resulting script: <Signature> <PublicKey> OP DUP OP HASH160
<PubKeyHash> OP EQUALVERIFY OP CHECKSIG.
2 Execution:
Push <Signature> onto the stack.
Push <PublicKey> onto the stack.
OP DUP: Duplicate the public key.
OP HASH160: Hash the duplicated public key.
Push <PubKeyHash> (from script) onto the stack.
OP EQUALVERIFY: Check if hashes are equal.
OP CHECKSIG: Verify the signature.
scriptPubKey:
OP DUP OP HASH160
ab6809ae7b19d5f785e899017cfa6dd1e30f8c3f OP EQUALVERIFY
OP CHECKSIG
scriptSig:
3045022100d0a8b046f7e465fa02b9cba8f0-
90b1f8b76b0b6f93eacff33b8bcf84d5767e-
1d02202e5044313fa76ebcaddf49e7a50947-
2abf1d6b21f53101d5f243a2ff7a0d2688
04b0bd634234abbb1ba1e986e884185c6b38-
90bc5f40e6db70a0ad34a4f5a02c276de0b0-
b91a0da7e6d23243adfc6cdd99d0d96a50a6-
1138a334ce37e3a4d1b8b
Contents:
Source code in <Code> folder.
Project report (Report.pdf).
Format: Group’s ID.zip
Questions?