dcrd/txscript
cjepson c017ba6b60 Correct the expected number of inputs for stake P2SH outputs
The required number of inputs for a stake P2SH output were incorrectly
estimated by CalcScriptInfo. Now the sub class for any given output is
also checked for whether or not it is P2SH.
2016-03-09 11:46:16 -05:00
..
data Initial Decred Commit. 2016-02-07 14:00:12 -05:00
consensus.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
doc.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
engine_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
engine.go Work on improving the use of analysis tools in goclean.sh 2016-02-12 15:24:32 -05:00
error.go Revert sync merge 2016-03-08 22:16:06 -05:00
example_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
internal_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
log_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
log.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
opcode_test.go Work on improving the use of analysis tools in goclean.sh 2016-02-12 15:24:32 -05:00
opcode.go Revert sync merge 2016-03-08 22:16:06 -05:00
README.md Initial Decred Commit. 2016-02-07 14:00:12 -05:00
reference_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
script_test.go Revert sync merge 2016-03-08 22:16:06 -05:00
script.go Revert sync merge 2016-03-08 22:16:06 -05:00
scriptbuilder_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
scriptbuilder.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
scriptnum_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
scriptnum.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
sign_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
sign.go Fix build/test errors from merge 2016-03-07 11:42:51 -06:00
stack_test.go Remove duplicate stack tests 2016-02-09 11:54:44 -05:00
stack.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
standard_test.go Fix a test to match commit cb112a8 2016-02-08 17:33:40 -05:00
standard.go Correct the expected number of inputs for stake P2SH outputs 2016-03-09 11:46:16 -05:00

txscript

Package txscript implements the decred transaction script language. There is a comprehensive test suite. Package txscript is licensed under the liberal ISC license.

This package has intentionally been designed so it can be used as a standalone package for any projects needing to use or validate decred transaction scripts.

Decred Scripts

Decred provides a stack-based, FORTH-like langauge for the scripts in the decred transactions. This language is not turing complete although it is still fairly powerful.

Documentation

[GoDoc] (http://godoc.org/github.com/decred/dcrd/txscript)

Full go doc style documentation for the project can be viewed online without installing this package by using the GoDoc site here.

You can also view the documentation locally once the package is installed with the godoc tool by running godoc -http=":6060" and pointing your browser to http://localhost:6060/pkg/github.com/decred/dcrd/txscript

Installation

$ go get github.com/decred/dcrd/txscript

Examples

License

Package txscript is licensed under the liberal ISC License.