208 Commits (54e2e55ef73247b6b489430dd15e015cd7312620)

Author SHA1 Message Date
junderw 1b39d9caf4
Make errors clearer and increase coverage 6 years ago
junderw 691e4d15d1
Create Signer interface and use it 6 years ago
junderw 1cc7205e9c
Remove @ts-ignore 6 years ago
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 e28e04427e
Use Prettier to make JS easier to read/audit 6 years ago
junderw 352e9ef0a3
Add low R signing to TransactionBuilder 6 years ago
junderw 74375bfedf
Fix class constructors 6 years ago
junderw 512b03e284
Fix lint transaction_builder.ts 6 years ago
d-yokoi 0ad8fbc6ba
style: add build output after applying 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 912d6d41be
Fix some small bugs 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
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