3 Commits (e6ea0389a2c22c096da0707455735ed7eb8ce36a)

Author SHA1 Message Date
d-yokoi a567a97877 style: fix glob pattern for prettier 6 years ago
junderw 1732bafbc1
Update TypeScript to use ! instead of casting 6 years ago
junderw bc28949056
Commit js, ts, and definitions in separate folders 6 years ago
junderw e58d012615
Remove safe-buffer and add type to bitcoin-ops 6 years ago
junderw fdf0006fde
Add strictNullChecks 6 years ago
junderw 604072ffad
Add P2SH 6 years ago
junderw d684a6b2ef
Fix compiler errors, tests, and scripts 6 years ago
junderw bb98289501
Renamed files to ts 6 years ago
Daniel Cousens a9090dc0cc templates: rm dead code 7 years ago
Daniel Cousens a5db0a4e44 sed -i 's/ var / const /', with const->let fixes 7 years ago
Daniel Cousens 91b8823aa8 sed -i 's/^var /const /' 7 years ago
Daniel Cousens 581f57ff6f script/tx: decompile returns maybe chunks 7 years ago
Daniel Cousens 8d688c39a6 enforce decodeStack receives a stack array 7 years ago
Daniel Cousens bae91395ef rm bscript circular dependencies 7 years ago
Daniel Cousens 8f01e4273c match scriptHash types 1 for 1, ignore classify order 7 years ago
Daniel Cousens fe0ad81472 package: use safe-buffer 8 years ago
Thomas Kerin 793939dc8c scriptHash return true for chunks.length=1 so long as its witness 8 years ago
Thomas Kerin c2dfc03869 Add test vectors, and transaction_builder input stores signScript 8 years ago
Thomas Kerin e4db4a07b0 Make sure case with only one value in scriptSig as P2SH ONLY applies if the script is P2WPKH or P2WSH 8 years ago
Thomas Kerin fff9319fa4 scriptHash.input.check - should tolerate 1 field in scriptSig if it's P2WSH or P2WPKH 8 years ago
Daniel Cousens 80762543e7 templates: add encode/decode* stack functions 8 years ago
Daniel Cousens 2bb021ab64 rm *PushOnly, add isPushOnly and toStack 8 years ago
Daniel Cousens 433d9f1b18 templates: push only for scriptHash inputs, fixes #705 8 years ago
Daniel Cousens 9db9763221 tests: add script.*.*.decode tests 8 years ago
Daniel Cousens 0c67f5e585 templates: add toJSON for clearer error message 8 years ago
Daniel Cousens d9fa39a2cc scripts: extract all scripts to encode/decode/check style 8 years ago