57 Commits (94872f9bfedf0a441842f95586116582b94c004f)

Author SHA1 Message Date
junderw e28e04427e
Use Prettier to make JS easier to read/audit 6 years ago
junderw 08c4d6ac7d
Fix lint for templates 6 years ago
junderw ee60862df6
Add JS for prettier glob fix 6 years ago
d-yokoi 0ad8fbc6ba
style: add build output after applying prettier 6 years ago
junderw bc28949056
Commit js, ts, and definitions in separate folders 6 years ago
junderw 572fd159b0
Added TypeScript standard linter to tests 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 5c34b4ce22
Add Witness Commitment 6 years ago
junderw 604072ffad
Add P2SH 6 years ago
junderw 528dff01c1
Add P2WSH 6 years ago
junderw c488001b82
Add P2WPKH 6 years ago
junderw 3db951fc64
Add p2pkh template 6 years ago
junderw 9da1c95f89
Add P2PK templates 6 years ago
junderw 2f32ea6bc9
OP_RETURN and Multisig templates 6 years ago
junderw b4d54af0fe
Remove AllowJS and get definitions 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 5481bde49c templates: rm unused nulldata code 7 years ago
Daniel Cousens a9090dc0cc templates: rm dead code 7 years ago
Daniel Cousens 6cacea6f31 rm templates export, rename to classify 7 years ago
Daniel Cousens 47e5a0e179 witnessScriptHash: fix null decompile leading to errors -- TODO: add test 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 7592a6bcc2 script: rename isCanonicalSignature to isCanonicalScriptSignature 7 years ago
Daniel Cousens 581f57ff6f script/tx: decompile returns maybe chunks 7 years ago
Daniel Cousens 41885bfab2 nulldata: change data to array 7 years ago
Daniel Cousens 8d688c39a6 enforce decodeStack receives a stack array 7 years ago
Daniel Cousens 8c217a7ba7 witnessScriptHash: fixed implementation 8 years ago
Daniel Cousens bae91395ef rm bscript circular dependencies 8 years ago
Daniel Cousens 8f01e4273c match scriptHash types 1 for 1, ignore classify order 8 years ago
Thomas Kerin da49e389c4 multisig.input.encodestack - replace OP_0 (permitted by partialSignature) with EMPTY_BUFFER 8 years ago
Daniel Cousens 152eed57a0 templates/pubkey: only canonical pubkeys to encode 8 years ago
Daniel Cousens 3ffac6cd39 add witnessPubKeyHash compressed policy 8 years ago
Daniel Cousens fe0ad81472 package: use safe-buffer 8 years ago
Daniel Cousens aeb0312d63 use safe-buffers throughout impl 8 years ago
Daniel Cousens 6c220c4b58 templates: add missing allowComplete pass through 8 years ago
Daniel Cousens b552c63fb0 nulldata: no blank lines at EOF 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
Thomas Kerin b24dc44770 P2WSH working, now for tests 8 years ago
Daniel Cousens 80762543e7 templates: add encode/decode* stack functions 8 years ago
Daniel Cousens 33c3ed4e03 templates: avoid hex conversions internally 8 years ago
Thomas Kerin 9d9d101b5f Script templates: add witness commitment template 8 years ago
Daniel Cousens 33c72e49c4 package/*: use bitcoin-ops, pushdata-bitcoin packages 8 years ago
Daniel Cousens 2bb021ab64 rm *PushOnly, add isPushOnly and toStack 8 years ago
Daniel Cousens d853806d0d templates: fix bad comment 8 years ago
Daniel Cousens 7227017b40 scripts: multisig naming consistency 8 years ago