Elichai Turkel 4577023e44
Add script pubkey version to signature hash (#1360)
* Replace 0xffff with math.MaxUint16 on version checks

* Add script version to the signature hash

Co-authored-by: Ori Newman <orinewman1@gmail.com>
2021-01-06 11:51:12 +02:00
..
2020-10-26 17:33:39 +02:00
2020-10-26 17:33:39 +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