Skip to content

Commit

Permalink
Merge pull request #1769 from Roasbeef/txscript_zero_alloc_optimizati…
Browse files Browse the repository at this point in the history
…on_refactor

txscript: backport tokenizer from dcrd
  • Loading branch information
Roasbeef committed Nov 17, 2021
2 parents cc7327c + b95ba0a commit 7070d53
Show file tree
Hide file tree
Showing 22 changed files with 2,761 additions and 5,008 deletions.
4 changes: 4 additions & 0 deletions txscript/README.md
Expand Up @@ -37,6 +37,10 @@ $ go get -u github.com/btcsuite/btcd/txscript
* [Manually Signing a Transaction Output](https://pkg.go.dev/github.com/btcsuite/btcd/txscript#example-SignTxOutput)
Demonstrates manually creating and signing a redeem transaction.

* [Counting Opcodes in Scripts](http://godoc.org/github.com/decred/dcrd/txscript#example-ScriptTokenizer)
Demonstrates creating a script tokenizer instance and using it to count the
number of opcodes a script contains.

## GPG Verification Key

All official release tags are signed by Conformal so users can ensure the code
Expand Down

0 comments on commit 7070d53

Please sign in to comment.