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 |
junderw
|
84d5e67e38
|
Use for loop instead of some to allow for future await usage
|
6 years ago |
junderw
|
4bed585f6a
|
Test old args as well
|
6 years ago |
junderw
|
ee3150d7c7
|
Refactor sign for clarity
|
6 years ago |
junderw
|
7c454e5f44
|
TIL: destructuring objects without let or const is a thing
|
6 years ago |
junderw
|
2e4c9f6b7a
|
Remove checks to outer function
|
6 years ago |
junderw
|
053d282e9d
|
Add stricter Signer interface check
|
6 years ago |
junderw
|
969b3a5e18
|
Fix tests to use new sign method
|
6 years ago |
junderw
|
17f5f35569
|
Migrate to stricter type checks during sign
|
6 years ago |
Jonathan Underwood
|
b3def6b400
|
Merge pull request #1404 from bitcoinjs/fixExports
Expose more interfaces to top level
|
6 years ago |
junderw
|
73b6f55850
|
5.0.5
|
6 years ago |