Jonathan Underwood
|
ad7577c4e2
|
Update ts_src/psbt.ts
Co-Authored-By: d-yokoi <d-yokoi@users.noreply.github.com>
|
5 years ago |
junderw
|
10fcf3d9e1
|
Remove private __byteLength from Transaction
|
5 years ago |
junderw
|
e10324f850
|
PSBT Bugfix for multiple of same pubkey in p2ms
|
5 years ago |
junderw
|
48bf08c0d3
|
Add weight and ability to get strippedsize
|
5 years ago |
junderw
|
22d5831b9b
|
Remove Output casts from Transaction class
|
6 years ago |
junderw
|
2aa3926616
|
Fix Transaction Output type
Co-authored-by: longhoang.wkm <longhoang@wakumo.vn>
|
6 years ago |
junderw
|
7ef3fe4996
|
Add sanity check for arguments
|
6 years ago |
junderw
|
6c08a0be40
|
Move tests to TypeScript (coverage is still JS based)
|
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
|
dfda8c5ef3
|
Fix Signer interface
|
6 years ago |
junderw
|
1605f99e17
|
Move lowR to public writable attribute
|
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
|
d05806fe69
|
Update README, add deprecation warning
|
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
|
c403757ce8
|
Add name attribute to Payments
|
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 |