Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: cee207c64caee6b2471ab73dce0b11c8762346cb
https://github.com/btcsuite/btcd/commit/cee207c64caee6b2471ab73dce0b11c8762346cb
Author: Dave Collins <[email protected]>
Date: 2016-08-12 (Fri, 12 Aug 2016)
Changed paths:
M txscript/scriptbuilder.go
M txscript/scriptbuilder_test.go
M txscript/sign.go
Log Message:
-----------
txscript: Expose AddOps on ScriptBuilder. (#734)
This exposes a new function on the ScriptBuilder type named AddOps that
allows multiple opcodes to be added via a single call and adds tests to
exercise the new function.
Finally, it updates a couple of places in the signing code that were
abusing the interface by setting its private script directly to use the
new public function instead.