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 |
junderw
|
14eeb309df
|
Add fee checking before extract
|
6 years ago |
Luke Childs
|
275618ed43
|
Remove console.log
|
6 years ago |
junderw
|
45bd5b4751
|
Check for signatures, add setSequence
|
6 years ago |
junderw
|
3e7f490093
|
Check for input empty on parse
|
6 years ago |
junderw
|
5b5daf84dd
|
Remove unnecessary extra Transaction Buffer parsing
|
6 years ago |
junderw
|
b98761a283
|
Promise fixes for async
|
6 years ago |
junderw
|
539c88596a
|
Add version and locktime setters
|
6 years ago |
junderw
|
f7e726a8eb
|
Add TX cache and addInput addOutput
|
6 years ago |
junderw
|
b28c96d228
|
Set to version 2 by default
|
6 years ago |
junderw
|
2b8e8001bc
|
Support Addresses for outputs
|
6 years ago |
junderw
|
48fc75c4f0
|
Fix p2sh and p2wsh not working
|
6 years ago |
junderw
|
1c8fc69780
|
Stick with ES2015 for now
|
6 years ago |
junderw
|
77dde89acc
|
Add async signing method
|
6 years ago |
junderw
|
813b84f91f
|
Finalize and extract done
|
6 years ago |
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
- Clean up sign
- Get the meaningful script
- Search for pubkey and prevent sign if can't find self
- Tests failed, so comment out for now
|
6 years ago |
junderw
|
f72c915ff1
|
Start towards finalizing inputs
|
6 years ago |