Why are redeeming inputs themselves scripts?

When redeeming a UTXO it is necessary to provide certain values such as a public key and a signature. These values come in the form of a script. First, the value providing scriptSig script runs. Whatever is left on the stack is fed into the script from the UTXO (scriptPubKey). So what actually (…)

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>