Files
kaspad/txscript
Ori Newman eb953286ec [NOD-641] Upgrade to github.com/pkg/errors v0.9.1 and use errors.As where needed (#614)
* [NOD-641] Upgrade to github.com/pkg/errors v0.9.1 and use errors.As where needed

* [NOD-641] Fix find and replace error

* [NOD-641] Use errors.As for error type checking

* [NOD-641] Fix errors.As for pointer types

* [NOD-641] Use errors.As where needed

* [NOD-641] Rename rErr->ruleErr

* [NOD-641] Rename derr->dbErr

* [NOD-641] e->flagsErr where necessary

* [NOD-641] change jerr to more appropriate name

* [NOD-641] Rename cerr->bdRuleErr

* [NOD-641] Rename serr->scriptErr

* [NOD-641] Use errors.Is instead of testutil.AreErrorsEqual in TestNewHashFromStr

* [NOD-641] Rename bdRuleErr->dagRuleErr

* [NOD-641] Rename mErr->msgErr

* [NOD-641] Rename dErr->deserializeErr
2020-02-03 12:38:33 +02:00
..
2019-12-16 17:37:17 +02:00
2020-01-02 16:57:43 +02:00
2019-12-26 18:26:22 +02:00
2019-12-16 17:37:17 +02:00

txscript

ISC License GoDoc

Package txscript implements the kaspa transaction script language. There is a comprehensive test suite.

Kaspa Scripts

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

Examples