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
|
df9008bae7
|
Update bip174
|
6 years ago |
Luke Childs
|
a876698d15
|
Test BIP174 signer check test cases
|
6 years ago |
Luke Childs
|
54e2e55ef7
|
Add descriptions to valid test cases from BIP174 spec
|
6 years ago |
Luke Childs
|
336c76bfda
|
Add descriptions to invalid test cases from BIP174 spec
|
6 years ago |
Luke Childs
|
2662e46987
|
Test BIP174 valid test cases
|
6 years ago |
Luke Childs
|
c24a6e1ad3
|
Include test case number in test output
|
6 years ago |
Luke Childs
|
1fc2e146ea
|
Test BIP174 invalid test cases
|
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
|
343297a359
|
Test error if UTXO doesn't exist
|
6 years ago |
Luke Childs
|
b8789c5d13
|
Test input exists check
|
6 years ago |
Luke Childs
|
658ea845b1
|
Test matching privkey check
|
6 years ago |
Luke Childs
|
8d74bebe04
|
Throw error when signing with a privkey that doesn't match the pubkey
|
6 years ago |
Luke Childs
|
7ff40cebc4
|
Recreate test case PSBTs and try and sign them with the valid key
|
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 |
junderw
|
f87b66eb24
|
Finish sign
|
6 years ago |
junderw
|
667ffb58eb
|
Use signature encode
|
6 years ago |
Luke Childs
|
18e7c9de80
|
Move comments to main check logic
|
6 years ago |
Luke Childs
|
f961724c73
|
Prefer buf1.equals(buf2) over Buffer.compare(buf1, buf2) !== 0
|
6 years ago |
Luke Childs
|
95b4a2806d
|
Improve code re-use for redeem script checks
|
6 years ago |
Luke Childs
|
10b3aff4fd
|
Test redeem script witness utxo check
|
6 years ago |
Luke Childs
|
08627e65a3
|
Check redeem script matches witness utxo when signing PSBT input
|
6 years ago |
Luke Childs
|
6562ee96a4
|
Remove redundant import from test
|
6 years ago |
Luke Childs
|
3a82486fb5
|
Loop over PSBT tests from fixtures
|
6 years ago |
Luke Childs
|
1afac399b1
|
Update BIP174 package to fix inheritance issues
|
6 years ago |
Luke Childs
|
64dc6543be
|
Add simple tests for redeem script check
|
6 years ago |
Luke Childs
|
5fd18d806f
|
Check redeem script matches when signing PSBT input
|
6 years ago |
Luke Childs
|
2dcac55601
|
Add simple tests for non-witness UTXO check
|
6 years ago |
Luke Childs
|
98dff9a47e
|
Check Non-witness UTXO hash when signing PSBT input
|
6 years ago |
Luke Childs
|
ff3caa02fe
|
Add BIP174 pseudo code for signing checks
|
6 years ago |
Luke Childs
|
6ed635d7b4
|
Flesh out signInput interface
|
6 years ago |
Luke Childs
|
2ed89cdc68
|
Update BIP174 package
|
6 years ago |
Luke Childs
|
6a5e395ebd
|
Extend BIP174 PSBT base class
|
6 years ago |
Luke Childs
|
62f1749021
|
Add BIP174 dependency
|
6 years ago |
Jonathan Underwood
|
8bbe7c7178
|
Merge pull request #1416 from bitcoinjs/signTxb
Migrate to stricter type checks during sign
|
6 years ago |
junderw
|
1b39d9caf4
|
Make errors clearer and increase coverage
|
6 years ago |
junderw
|
071e201a75
|
Silence console.warn during old arg tests
|
6 years ago |
junderw
|
691e4d15d1
|
Create Signer interface and use it
|
6 years ago |
junderw
|
1cc7205e9c
|
Remove @ts-ignore
|
6 years ago |
junderw
|
d814c21466
|
Condense sign parts work directly
|
6 years ago |