# Gavin Andresen # 2010-07-07 13:52:06 # https://bitcointalk.org/index.php?topic=235.msg2018#msg2018 The "scripting language" ("expression evaluator" would be more accurate) is a little stack-based intepreter that looks at lot like Forth. @p{par} So, for example, here's an example of a GENERATED coin getting spent: @p{par} TxIn: 73:3046...0f01 @p{brk} Prev.TxOut: 65:046d...bb9c CHECKSIG @p{par} That's intepreted as: @p{brk} PUSH a 73 byte value onto the stack @p{brk} PUSH a 65 byte value onto the stack @p{brk} call CHECKSIG. CHECKSIG pops two values off the stack (public key and digital signature), then does the @p{(link}digital signature thing@p{link)} using the @p{(link}OpenSSL ECDSA_Verify()@p{link)} function.