7 Commits (master)

Author SHA1 Message Date
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 6 years ago
Daniel Cousens 079d83d887 txbuilder: note consensus issue 6 years ago
Daniel Cousens de0259a820 tests/integration/payments: enable failing P2SH(P2WSH(P2WPKH)) tests 6 years ago
Daniel Cousens 74756ed597 TransactionBuilder: fix P2WPKH not using a P2PKH signScript for P2WPKH 6 years ago
Daniel Cousens 6cacea6f31 rm templates export, rename to classify 6 years ago
Daniel Cousens 400be7114b use payments in TxBuilder 6 years ago
Daniel Cousens 1fba0c62a5 tests: add missing context information to Sighash V1 description 6 years ago
Daniel Cousens a5db0a4e44 sed -i 's/ var / const /', with const->let fixes 6 years ago
Daniel Cousens 91b8823aa8 sed -i 's/^var /const /' 6 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
Daniel Cousens 7be698b5a1 txb: add fixes for P2SH(P2WSH(...)) and P2WSH(...) in BIP143 compliance 7 years ago
Daniel Cousens 39a681d2d3 tests: add failing test for #981 7 years ago
Daniel Cousens 098188dd3a tests: add independent error message for missing witnessScript 7 years ago
Dabura667 64d9f72f77
Update comment 7 years ago
Melvillian f4caa54d9e
increase max feerate sanity check from 1000 to 2500 7 years ago
Daniel Cousens a868d27407 TxBuilder: add support for RSBuffer type keyPairs and .publicKey 7 years ago
Daniel Cousens e0b227e4ef s/checkP2shInput/checkP2SHInput 7 years ago
Daniel Cousens 41378f9648 txbuilder: apply input.value before prepareInput 7 years ago
Daniel Cousens f4a83f8aed address/txbuilder: require templates to prevent undefined exports 7 years ago