83 Commits (psbt-tx-getters)

Author SHA1 Message Date
Luke Childs fde6025480 Remove script from txInputs 5 years ago
Luke Childs 2d4a3b9354 Don't expose witness on Psbt.txInputs 5 years ago
Luke Childs e7345d5446 {in,out}puts => tx{In,Out}puts 5 years ago
Luke Childs 6c616bff78 Add address to output data 5 years ago
Luke Childs 58cdb3a362 Add setters for version and locktime 5 years ago
Luke Childs c9b2964546 Remove extra return statement 5 years ago
Luke Childs c68986231c Improve property names 5 years ago
Luke Childs f7034350e9 Clone transaction data more efficiently 5 years ago
Luke Childs 854c601342 Add getters for Psbt.{txVersion,txLocktime,txInputs,txOutputs} 5 years ago
Jonathan Underwood ad7577c4e2
Update ts_src/psbt.ts 5 years ago
junderw e10324f850
PSBT Bugfix for multiple of same pubkey in p2ms 5 years ago
junderw 4b5a519bfe
Use single func instead of 3 6 years ago
junderw 22682fc2c3
Allow custom implementations of finalizers 6 years ago
junderw 7ef3fe4996
Add sanity check for arguments 6 years ago
junderw d2d368b8cd
Fix PsbtOutputExtended address support 6 years ago
junderw 14d10c74a5
Remove VSize, can get from Transaction 6 years ago
junderw 139197e545
Add getFee and getVSize 6 years ago
junderw bf45f3638b
WIP: Allow nonWitnessUtxo with segwit 6 years ago
junderw 139567d6c5
Fix addInput and addOuput for Psbt 6 years ago
junderw 06b38a7d83
Refactor: add function getPsigsFromInputFinalScripts 6 years ago
junderw e4844828de
Check signatures for finalized inputs too 6 years ago
junderw a3bfee75b0
Fix method names for PSBT 6 years ago
junderw 6e447b1f1b
Refactor: Create cache in constructor 6 years ago
junderw e19bc58b30
Rename methods 6 years ago
junderw 4366b621d7
Add HD signer methods 6 years ago
junderw 1326e0cc42
Remove the cached buffer getter 6 years ago
junderw 19a33f7da8
Add comments and remove fromTransaction 6 years ago
junderw 71ddd656a3
Modify for new BIP174 interface system 6 years ago
junderw 1feef9569c
Composition over inheritance 6 years ago
junderw 2f1609b918
Fix: P2WPKH was signing with nonWitnessUtxo 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
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 f66b568e4d
Add sign all inputs method 6 years ago
junderw d0d94c7f06
Add signature verify method 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