16 Commits (d814c214663d28a771c587fc9210e69d1f5b6417)

Author SHA1 Message Date
junderw d814c21466
Condense sign parts work directly 6 years ago
junderw 84d5e67e38
Use for loop instead of some to allow for future await usage 6 years ago
junderw ee3150d7c7
Refactor sign for clarity 6 years ago
junderw 7c454e5f44
TIL: destructuring objects without let or const is a thing 6 years ago
junderw 2e4c9f6b7a
Remove checks to outer function 6 years ago
junderw 053d282e9d
Add stricter Signer interface check 6 years ago
junderw 969b3a5e18
Fix tests to use new sign method 6 years ago
junderw 17f5f35569
Migrate to stricter type checks during sign 6 years ago
junderw 352e9ef0a3
Add low R signing to TransactionBuilder 6 years ago
junderw d951423a35
Fix TransactionBuilder types 6 years ago
d-yokoi 0cdd7b1e2c
ci: add a tslint rule to require type definitions 6 years ago
junderw 74375bfedf
Fix class constructors 6 years ago
junderw 512b03e284
Fix lint transaction_builder.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 35adaa8471
Add test from bugfix, also remove unnecessary arg 6 years ago
junderw f8427274cc
Add a few type aliases to TransactionBuilder 6 years ago
junderw e58d012615
Remove safe-buffer and add type to bitcoin-ops 6 years ago
junderw 3124e50e52
TypeScript hates Buffer.prototype.reverse, so fixed it. 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 fce08352f5
Add TransactionBuilder 6 years ago
junderw a652d0492d
Added Transaction 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 c8ae86b9ce refactor(txb): maxSignatures is optional 6 years ago
Daniel Cousens 7c3d1f292d txb: add inline explanatory comment 6 years ago
Daniel Cousens 1119a449a5 txbuilder: add missing signature P2MS fixture 6 years ago
Daniel Cousens d232545ac8 rename MULTISIG to P2MS 6 years ago
Daniel Cousens a58c5b4f5b txb/tests: add solo SIGHASH_ALL fixes 6 years ago
Daniel Cousens 2223e6170e txb/tests: test solo SIGHASH_ALL, support existing SIGHASH_NONE 6 years ago
Daniel Cousens ed1c1a5661 txb: enforce outputs exist when signing 7 years ago
Daniel Cousens 079d83d887 txbuilder: note consensus issue 7 years ago
Daniel Cousens de0259a820 tests/integration/payments: enable failing P2SH(P2WSH(P2WPKH)) tests 7 years ago
Daniel Cousens 74756ed597 TransactionBuilder: fix P2WPKH not using a P2PKH signScript for P2WPKH 7 years ago
Daniel Cousens 6cacea6f31 rm templates export, rename to classify 7 years ago
Daniel Cousens 400be7114b use payments in TxBuilder 7 years ago
Daniel Cousens 1fba0c62a5 tests: add missing context information to Sighash V1 description 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 fba0699dd3 rm ecdsa, add new ECPair using secp256k1 7 years ago
Daniel Cousens 581f57ff6f script/tx: decompile returns maybe chunks 7 years ago
Daniel Cousens 6c4977983d ECPair/script_signature: switch to 64-byte RS buffers only 7 years ago
Daniel Cousens c58ada362e rm ECSignature, add script.signature instead 8 years ago
Wesley Smith c3c98709e2 fixes adding version field to transaction instance 7 years ago
Daniel Cousens 5af87c0c49 privatise internals for TxBuilder 7 years ago
Daniel Cousens 3bfdacafa2 change TransactionBuilder to default to version 2 7 years ago
Daniel Cousens 00bbab1a93 txb: fix redeemScript/witnessScript is undefined when throwing 7 years ago