0

I'm looking for the transaction signature verification process in the bitcoin source code (from https://github.com/bitcoin/bitcoin) but I can't find it. Where is it done ?

Yaklefak
  • 29
  • 6

1 Answers1

1

A bitcoin transaction does not have a signature. Instead, it references outputs from previous transactions by supplying an unlocking script for each of the referenced outputs.

For more information about the transaction layout see here

The transaction verification code can be found in tx_check.cpp and tx_verify.cpp here.

The actual script execution code can be found in EvalScript here

Bobface
  • 2,782
  • 4
  • 24
  • 61