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 |
junderw
|
c6c59c7c68
|
Expose more interfaces to top level
|
6 years ago |
Jonathan Underwood
|
f9f4707b34
|
Merge pull request #1402 from bitcoinjs/bump504
5.0.4
|
6 years ago |
Jonathan Underwood
|
be942f07a3
|
Merge pull request #1401 from bitcoinjs/fixRimraf
Fix rimraf to delete types folder as well
|
6 years ago |
Jonathan Underwood
|
f2ce2ba88f
|
Merge pull request #1400 from bitcoinjs/updateChangelog
Update changelog
|
6 years ago |
Jonathan Underwood
|
6808dc69a2
|
Merge pull request #1185 from bitcoinjs/addComplexScript
Add complex script example in integration tests.
|
6 years ago |
junderw
|
119e8397f9
|
5.0.4
|
6 years ago |
junderw
|
dfd25045ef
|
Fix rimraf to delete types folder as well
|
6 years ago |
junderw
|
0b37eaa19b
|
Update changelog
|
6 years ago |
junderw
|
3145d3f9ec
|
Fix comments
|
6 years ago |
junderw
|
267b0c5d00
|
Easier var names
|
6 years ago |
junderw
|
9f96fd097b
|
Merge branch 'master' into addComplexScript
|
6 years ago |
Jonathan Underwood
|
94872f9bfe
|
Merge pull request #1387 from bitcoinjs/trimSpace
Use Prettier to make JS easier to read/audit
|
6 years ago |
junderw
|
9aa2842123
|
Merge branch 'master' into trimSpace
|
6 years ago |