junderw
|
d05806fe69
|
Update README, add deprecation warning
|
6 years ago |
junderw
|
e19bc58b30
|
Rename methods
|
6 years ago |
junderw
|
acf59f167c
|
Use bip174@1.0.0
|
6 years ago |
junderw
|
1c5b0025c8
|
Update integration test with HD example
|
6 years ago |
junderw
|
4366b621d7
|
Add HD signer methods
|
6 years ago |
junderw
|
1326e0cc42
|
Remove the cached buffer getter
|
6 years ago |
junderw
|
def2182eaf
|
Fix: integration test comments
|
6 years ago |
junderw
|
19a33f7da8
|
Add comments and remove fromTransaction
|
6 years ago |
junderw
|
71ddd656a3
|
Modify for new BIP174 interface system
|
6 years ago |
Luke Childs
|
d790288048
|
Test the sighashtype is checked when signing
|
6 years ago |
Luke Childs
|
f25938d3ca
|
Test signing a non-whitelisted sighashtype
|
6 years ago |
junderw
|
1feef9569c
|
Composition over inheritance
|
6 years ago |
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 |