5 Commits (41d88f8baf718f75a319a9aed89192dd24a4c025)

Author SHA1 Message Date
d-yokoi 0cdd7b1e2c
ci: add a tslint rule to require type definitions 6 years ago
junderw c2c650812e
Fix lint script.ts 6 years ago
d-yokoi 03632f1507
style: apply 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 c17cdce348
Move all imports to modules where possible 6 years ago
junderw fdf0006fde
Add strictNullChecks 6 years ago
junderw 4cddc83016
noImplicitAny is now true 6 years ago
junderw 3b77caa4f1
Fixed script, script number and signature 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 f9a739e1db add payments p2ms, p2pk, p2pkh, p2sh, p2wpkh, p2wsh 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 93b1ae4303 sed -i 's/^let /const /' 7 years ago
Daniel Cousens 7592a6bcc2 script: rename isCanonicalSignature to isCanonicalScriptSignature 7 years ago
Daniel Cousens 726e4c53b6 script: use ecc.isPoint for canonical public keys 7 years ago
Daniel Cousens 4aaf295cd5 fix standard 11 issues 7 years ago
Daniel Cousens 581f57ff6f script/tx: decompile returns maybe chunks 7 years ago
Daniel Cousens c58ada362e rm ECSignature, add script.signature instead 8 years ago
Daniel Cousens bae91395ef rm bscript circular dependencies 7 years ago
Daniel Cousens e7c59c4b8b script: use asMinimalOP for ASM/decompile 7 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 846da39346 script: adhere to latest standard precedence rules 8 years ago
Daniel Cousens 33c72e49c4 package/*: use bitcoin-ops, pushdata-bitcoin packages 8 years ago
Daniel Cousens a86e905611 script: add fromASM failing test case and fix 8 years ago
Thomas Kerin 8552867695 bscript.compie - minimal encoding of -1 stack element 8 years ago
Daniel Cousens 2bb021ab64 rm *PushOnly, add isPushOnly and toStack 8 years ago
Daniel Cousens b1daff1108 script: use isPushOnly internally 8 years ago
Daniel Cousens 8df1b45699 script: use typeforce to enforce push-only chunks 8 years ago
Thomas Kerin 0696ca95b6 Script: add {compile,decompile}PushOnly 8 years ago
Thomas Kerin b5e46c2931 Replace script type strings with constants 8 years ago
Daniel Cousens 69d8e9ed9e move templates to templates/index.js 8 years ago
Daniel Cousens d9fa39a2cc scripts: extract all scripts to encode/decode/check style 8 years ago
Thomas Kerin 27b48e8aa2 Add methods to decode information from output scripts 8 years ago
Thomas Kerin 53f08a7569 Script: add function for parsing multisig type scripts 8 years ago
Daniel Cousens c1570f8056 script: always compile in a minimaldata compliant way 8 years ago
Daniel Cousens a1d3e33c84 address/crypto/script/types: adhere to no-use-before-define 8 years ago
Daniel Cousens 9f1d41fc44 script: enforce PUSH_DATA codes for witness outputs 9 years ago
Daniel Cousens 20a026aefe scripts/tests: add witness* scripts 9 years ago
JP Richardson ac8ae8f0ed opcodes: add json extension to fix Webpack JSON loader 9 years ago
Daniel Cousens 29a1a839ec script: exposes scriptNumber through script.number 9 years ago
Daniel Cousens 693e39c061 script: use Buffer.isBuffer consistently 9 years ago
Daniel Cousens f60cb2e491 scripts: ensure isPubKeyHashOutput/isScriptHashOutput adhere to BIP62 9 years ago
Alex Seville a1da3065c4 Remove `const` and replace with `var` 9 years ago
Daniel Cousens 173994c6e0 script: avoid slice if n !== pubKeys.length 9 years ago
Daniel Cousens 0ca1e40a6d script: refactor isMultisigOutput for clarity 9 years ago
Daniel Cousens 5be9b04741 script: isolate initialization of REVERSE_OPS 9 years ago