Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 0baac031295aaf8ee59b197fd10569145da444a3
https://github.com/btcsuite/btcd/commit/0baac031295aaf8ee59b197fd10569145da444a3
Author: Dave Collins <[email protected]>
Date: 2015-04-21 (Tue, 21 Apr 2015)
Changed paths:
M txscript/engine.go
M txscript/internal_test.go
M txscript/opcode.go
Log Message:
-----------
txscript: Store flags in instance versus bools.
Rather than storing a separate bool for whether or not each flag is set in
every script engine instance, store the flags and check if the relevant
flag is set from each specific location.
This reduces the memory needed by each script engine instance and means
future flags will not require new fields.