71 Commits (343297a3597141a25ef69035f8c20f66f8ae18e1)

Author SHA1 Message Date
Luke Childs 8d74bebe04 Throw error when signing with a privkey that doesn't match the pubkey 6 years ago
junderw 354d67a31a
Just some ideas, TODO mostly. 6 years ago
junderw 4644e9d2eb
Finish canFinalize 6 years ago
junderw f28e9cef71
Refactor 6 years ago
junderw f72c915ff1
Start towards finalizing inputs 6 years ago
junderw f87b66eb24
Finish sign 6 years ago
junderw 667ffb58eb
Use signature encode 6 years ago
Luke Childs 18e7c9de80 Move comments to main check logic 6 years ago
Luke Childs f961724c73 Prefer buf1.equals(buf2) over Buffer.compare(buf1, buf2) !== 0 6 years ago
Luke Childs 95b4a2806d Improve code re-use for redeem script checks 6 years ago
Luke Childs 08627e65a3 Check redeem script matches witness utxo when signing PSBT input 6 years ago
Luke Childs 1afac399b1 Update BIP174 package to fix inheritance issues 6 years ago
Luke Childs 5fd18d806f Check redeem script matches when signing PSBT input 6 years ago
Luke Childs 98dff9a47e Check Non-witness UTXO hash when signing PSBT input 6 years ago
Luke Childs ff3caa02fe Add BIP174 pseudo code for signing checks 6 years ago
Luke Childs 6ed635d7b4 Flesh out signInput interface 6 years ago
Luke Childs 6a5e395ebd Extend BIP174 PSBT base class 6 years ago
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 c6c59c7c68
Expose more interfaces to top level 6 years ago
junderw 1c75c02038
Fix publicKey type on ECPairInterface 6 years ago
Jonathan Underwood 00ca4c2ec7
Fix ts files from Buffer to boolean 6 years ago
junderw 352e9ef0a3
Add low R signing to TransactionBuilder 6 years ago
junderw ccd439b805
Modify interface 6 years ago
junderw 3b402d00c6
Add low R grinding option 6 years ago
junderw 329809fa4a
Fix address.*OutputScript and ECPairOptions rng 6 years ago
junderw d951423a35
Fix TransactionBuilder types 6 years ago
junderw 335ed99a1c
Fix error for lack of rmd160 in Electron v4 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 0426c66389
Remove prepare script and checkMerkleRoot method on Block 6 years ago
junderw 7fb859b1f7
Fix lint types.ts 6 years ago
junderw 08c4d6ac7d
Fix lint for templates 6 years ago
junderw 512b03e284
Fix lint transaction_builder.ts 6 years ago
junderw e6ea0389a2
Fix lint for transaction.ts 6 years ago
junderw 94f3348519
Fix lint for script_number.ts script_signature.ts 6 years ago
junderw c2c650812e
Fix lint script.ts 6 years ago
junderw f058140ea8
Fix lint payments p2wsh 6 years ago
junderw 3ddb88168d
Fix lint payments p2wpkh 6 years ago
junderw fe62e13023
Fix lint payments p2sh 6 years ago
junderw db0e3f1203
Fix lint payments p2pkh 6 years ago