Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 2e433b0eb3e8ef291f6251b09e24182fccb10c0f
https://github.com/btcsuite/btcd/commit/2e433b0eb3e8ef291f6251b09e24182fccb10c0f
Author: Dave Collins <[email protected]>
Date: 2015-04-27 (Mon, 27 Apr 2015)
Changed paths:
M txscript/engine.go
M txscript/opcode.go
Log Message:
-----------
txscript: Move opcode execution logic to engine
This commit moves the opcode execution logic from the opcode type to the
engine type because execution of an opcode modifies the engine state
(primarily the main and alternate data stacks) as opposed to the state
of the opcode. Making the engine the receiver more clearly indicates
this fact.