2676 Commits (2f1609b9189d877810a80d40a4c8e6653f440434)
 

Author SHA1 Message Date
junderw 2f1609b918
Fix: P2WPKH was signing with nonWitnessUtxo 6 years ago
junderw 8a5104c333
Add tests 6 years ago
junderw 266302a3ae
Add P2WSH-P2PK finalize vector 6 years ago
junderw 9ee115b030
assert the fee calculation is correct 6 years ago
Luke Childs 876a241e0c Test finalizeAllInputs against P2WPKH input 6 years ago
Luke Childs 7377566f98 Test finalizeAllInputs against P2SH-P2WPKH input 6 years ago
Luke Childs f55ee32386 Test finalizeAllInputs against P2PKH input 6 years ago
Luke Childs bc56ca0fa1 Test finalizeAllInputs against P2PK input 6 years ago
Luke Childs ec2c14b81f Extract finalizeAllInputs test out of BIP174 test cases 6 years ago
Luke Childs f6ab5b796f Move all BIP174 test cases into BIP14 describe block 6 years ago
Luke Childs d051446275 Add P2MS test case to finalizer tests 6 years ago
Luke Childs 47b42e72f4 Refactor and cleanup getFeeRate tests 6 years ago
Luke Childs da5adcf88f Refactor and cleanup validateSignatures tests 6 years ago
junderw a50ec33033
Update dep 6 years ago
junderw ccab2652f9
Add sighash checks for signer 6 years ago
junderw fa897cf78e
Check signatures for sighash type before finalize 6 years ago
Luke Childs 0d9fa87943 Move nonWitnessUtxo cache tests out into own test 6 years ago
Luke Childs 75f5e8f03c Use Buffer notation in JSON 6 years ago
junderw 01c7ac39b6
Add clone, addInputs, addOutputs 6 years ago
junderw b8c341dea0
Finalize should chain this as well. 6 years ago
junderw ba33f0317f
Add check for spending more than you have 6 years ago
junderw 0f76aa935a
Refactor: Use varint from BIP174 6 years ago
junderw 479c56bbb4
Refactor: Re-order helper functions based on like-kind 6 years ago
junderw 2fd4b9dc54
Refactor: pass only cache to certain functions 6 years ago
junderw 9749a216b8
Refactor: input finalize and get fee shared logic 6 years ago
junderw 497d048ebf
Refactor: externalize outputAdder 6 years ago
junderw e4e5111376
Refactor: cache 6 years ago
junderw 88de1e7b0e
Refactor: nonWitnessUtxo cache 6 years ago
junderw 36a966cfcd
Check actual sighash flags instead of psbtInput one 6 years ago
junderw 09fcb1c6ee
Use function keyword 6 years ago
junderw e15b515367
Add tests 6 years ago
junderw f66b568e4d
Add sign all inputs method 6 years ago
junderw d0d94c7f06
Add signature verify method 6 years ago
junderw 02ba6c78d1
Add integration tests with examples 6 years ago
junderw 5f26654802
Add tests 6 years ago
junderw 8d52ce1668
Add some tests and an input duplicate checker 6 years ago
junderw 93e1661c6c
Remove need for ts-ignore 6 years ago
junderw 51133c8051
Add type instance check tests 6 years ago
junderw 14eeb309df
Add fee checking before extract 6 years ago
Luke Childs ba5f336e02 Test setSequence 6 years ago
Luke Childs 871e587711 Test setLocktime 6 years ago
Luke Childs 09a6c37430 Test setVersion 6 years ago
Luke Childs dc23b8cce0 Test fromTransaction 6 years ago
Luke Childs e3efdbdb99 Test BIP174 extractor test cases 6 years ago
Luke Childs 35cf120c33 Add extra combiner test case 6 years ago
Luke Childs a80155dbdb Test BIP174 finalizer test cases 6 years ago
Luke Childs 4e55ab0f20 Test BIP174 combiner test cases 6 years ago
Luke Childs 30815e9e8f Test BIP174 signer test cases 6 years ago
Luke Childs a32d1c3eac Test BIP174 updater check test cases 6 years ago
Luke Childs 275618ed43 Remove console.log 6 years ago