Braydon Fuller
|
d8e90685f4
|
Fixed script.isPublicKeyHashIn bug with variable length signatures.
- DER encoded signatures have a max length of 72 bytes, however a minimum size isn't defined.
- R and S values can have arbitrary lengths
- For more information: https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki#der-encoding
|
10 years ago |
Manuel Araoz
|
a018a23b6b
|
fix bug in recognizing p2sh input scripts
|
10 years ago |
Manuel Araoz
|
db6234b500
|
remove duplicate code, increase coverage
|
10 years ago |
Manuel Araoz
|
d556a0c33d
|
fix regressions
|
10 years ago |
Manuel Araoz
|
dfc075e5d1
|
fix block parsing problem
|
10 years ago |
Manuel Araoz
|
270413a655
|
add simpler test that fails
|
10 years ago |
Manuel Araoz
|
ee6f8d35ef
|
increase script test coverage
|
10 years ago |
Kirill Fomichev
|
116024a7cb
|
fix Script.isPublicKeyHashOut
|
10 years ago |
Manuel Araoz
|
ef7eafbb0c
|
increase test coverage and fix some bugs
|
10 years ago |
Manuel Araoz
|
3619c7c9e2
|
fix problematic cases
|
10 years ago |
Manuel Araoz
|
a9328d76ff
|
add extra test
|
10 years ago |
Manuel Araoz
|
62ea45a524
|
refactor Address<->Script relation
|
10 years ago |
eordano
|
1a5780e35e
|
Script/Address: Add check for valid number of threshold needed
|
10 years ago |
eordano
|
0bbde0c9de
|
Script: Update max length for standard opreturn to 80
|
10 years ago |
Esteban Ordano
|
03f794b4a3
|
Add shorthand method toHex to Script
|
10 years ago |
Yemel Jardi
|
d369154162
|
Script: remember network when creating from address or pubkey
|
10 years ago |
Yemel Jardi
|
9deec5e1c2
|
Use defaultNetwork in Script.toAddress
|
10 years ago |
Esteban Ordano
|
ffca4cfb6f
|
Fixes Script test case for coverage and style
|
10 years ago |
Esteban Ordano
|
d688222769
|
Add toAddress(network) functionality to scripts
|
10 years ago |
Esteban Ordano
|
dc92bdd474
|
Add getData functionality to script
|
10 years ago |
Manuel Araoz
|
3dd86446e0
|
add Interpreter docs and refactor a bit
|
10 years ago |
Manuel Araoz
|
3eba0bc546
|
address review comments
|
10 years ago |
Manuel Araoz
|
7f0a2dc050
|
add Script#checkMinimalPush tests
|
10 years ago |
Manuel Araoz
|
c888c3baa7
|
adding some signature methods for script interpreting
|
10 years ago |
Manuel Araoz
|
3de71f8558
|
refactors and fixes for script interpreter
|
10 years ago |
Manuel Araoz
|
f5b7f73d09
|
fixing tests for new script internals 2
|
10 years ago |
Manuel Araoz
|
016bc6e3ed
|
fixing tests for new script internals
|
10 years ago |
Manuel Araoz
|
c085f166b4
|
add sorting to Script#buildMutlisigOut()
|
10 years ago |
Manuel Araoz
|
ec464681fe
|
add sorting to Script#buildMutlisigOut()
|
10 years ago |
Manuel Araoz
|
63bc625c33
|
add Script#removeCodeSeparators tests
|
10 years ago |
Manuel Araoz
|
b61bd6f76a
|
add Script#isPushOnly()
|
10 years ago |
Manuel Araoz
|
ec00ccba4c
|
add script public key hash in tests
|
10 years ago |
Manuel Araoz
|
f231f8a054
|
fix a browser test 2
|
10 years ago |
Manuel Araoz
|
6c5198b743
|
fix a browser test
|
10 years ago |
Manuel Araoz
|
eaaab5c7d0
|
implement Script.buildScriptHashOut()
|
10 years ago |
Manuel Araoz
|
4bca5316ea
|
implement Script.buildDDataOut()
|
10 years ago |
Manuel Araoz
|
b87e687fd9
|
implement Script.buildPublicKeyHashOut()
|
10 years ago |
Manuel Araoz
|
4fae69807d
|
change isOpReturn to isDataOut
|
10 years ago |
Manuel Araoz
|
d05aa27bed
|
finish all tests
|
10 years ago |
Manuel Araoz
|
ef8f1eabd2
|
add script.isStandard()
|
10 years ago |
Manuel Araoz
|
883a7cae54
|
add unkown script test
|
10 years ago |
Manuel Araoz
|
c4cc6ba56d
|
fix tests with new script api
|
10 years ago |
Manuel Araoz
|
87c40193b9
|
add pubkey in pubkey out script types
|
10 years ago |
Manuel Araoz
|
901d55d129
|
fix classify tests
|
10 years ago |
Manuel Araoz
|
7d9151abc6
|
fix classify tests
|
10 years ago |
Manuel Araoz
|
9d6ff4dc44
|
add classify tests
|
10 years ago |
Manuel Araoz
|
293a3299d4
|
add classify tests
|
10 years ago |
Manuel Araoz
|
72b5dcc6af
|
add Script.isMultisigIn
|
10 years ago |
Manuel Araoz
|
96e1451d28
|
add script.isMultisigOut
|
10 years ago |
Manuel Araoz
|
4a6755d0d1
|
add Script#prepend()
|
10 years ago |