Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 9523345814f510f237e91e845c52ff68d613c4ba
https://github.com/btcsuite/btcd/commit/9523345814f510f237e91e845c52ff68d613c4ba
Author: David Hill <[email protected]>
Date: 2015-03-13 (Fri, 13 Mar 2015)
Changed paths:
M txscript/data/script_invalid.json
M txscript/data/script_valid.json
M txscript/internal_test.go
M txscript/script.go
M txscript/script_test.go
Log Message:
-----------
txscript: Add new flag ScriptVerifyCleanStack
The ScriptVerifyCleanStack flag requires that only a single
stack element remains after evaluation and that when interpreted
as a bool, it must be true. This is BIP0062, rule 6.
This mimics Bitcoin Core commit b6e03cc59208305681745ad06f2056ffe6690597