dcrd/txscript
Dave Collins 28f5ce5e44 Sync upstream through Sep 28, 2015.
This sync includes a new service flag named SFNodeBloom that a node is
required to use to indicate that it supports bloom filtering.  This
includes a protocol version bump to 2 and a wire version bump to 0.1.0.

dcrd:
The SFNodeBloom flag is set by default.  A new configuration option
--nopeerbloomfilters has been added to to disable bloom filtering.

Also, it corrects an issue with the mining state message where it was
using the network protocol version instead of having its own version.
2016-05-17 14:01:54 -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 txscript: Make error strings idiomatic. 2016-05-12 14:43:13 -05:00
example_test.go Initial Decred Commit. 2016-02-07 14:00:12 -05:00
internal_test.go Sync upstream through Sep 2, 2015. 2016-05-17 12:15:10 -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 Make PubKey variable names consistent. 2016-05-12 14:43:13 -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 Sync upstream through Sep 2, 2015. 2016-05-17 12:15:10 -05:00
script.go Sync upstream through Sep 28, 2015. 2016-05-17 14:01:54 -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 Fixed erroneous txscript.KeyClosure documentation. 2016-05-11 13:33:20 -05: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 switch maxDataCarrierSize to public const 2016-05-11 13:36:19 -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.