New answers tagged

4

What you described only works for transactions with one input and one output. In general, what you do is you take the transaction that you want to verify, remove the scriptSigs from all of the inputs, and for the particular input you want, you place in the scriptSig the scriptPubKey (prepended by its length) of the output that input spends. If the output ...


Top 50 recent answers are included