Braydon Fuller
|
7e23109f9b
|
Added more tests around script.isPublicKeyHashIn
|
10 years ago |
Braydon Fuller
|
770e0e3a7f
|
Full public key validation isn't necessary.
|
10 years ago |
Braydon Fuller
|
febbcc6a6e
|
Check pubkeyBuf before pubkeyBuf.length
|
10 years ago |
Braydon Fuller
|
e5e783fbf9
|
Optimized performance of script.isPublicKeyHashIn()
|
10 years ago |
Gregg Zigler
|
77645c7f03
|
remove skipped tests since equalivant boolean tests already exist
|
10 years ago |
Gregg Zigler
|
183ffab02b
|
match bitcore style standards, rename arg, set default to true
|
10 years ago |
Gregg Zigler
|
a4b8c06a2d
|
get-signature-count needed to measure txs with many inputs or outputs
|
10 years ago |
Braydon Fuller
|
7723dd302a
|
Added test case for an empty OP_RETURN for script.getData() Fixes #1237
|
10 years ago |
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
|
fe17f20a97
|
remove console.log
|
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
|
2cccf20c9d
|
improve docs to show signatures type
|
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
|
e0b1ca0e10
|
move some script logic from Address to Script
|
10 years ago |
Manuel Araoz
|
3619c7c9e2
|
fix problematic cases
|
10 years ago |
Manuel Araoz
|
62ea45a524
|
refactor Address<->Script relation
|
10 years ago |
eordano
|
575993967c
|
Standardize optional parameters to Closure syntax
|
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 |
Manuel Araoz
|
c664f211d2
|
add BufferReader.readVarLengthBuffer
|
10 years ago |
Esteban Ordano
|
03f794b4a3
|
Add shorthand method toHex to Script
|
10 years ago |
Esteban Ordano
|
26e688ae06
|
Add .toScriptHashOut() to scripts
- Also sort gulpfile dependencies
|
10 years ago |
Yemel Jardi
|
d369154162
|
Script: remember network when creating from address or pubkey
|
10 years ago |
Braydon Fuller
|
ff4a6f549d
|
Fixed bugs in IE11
|
10 years ago |
Yemel Jardi
|
9deec5e1c2
|
Use defaultNetwork in Script.toAddress
|
10 years ago |
Esteban Ordano
|
f74c7f3929
|
Simplify script to address method
|
10 years ago |
Esteban Ordano
|
ffca4cfb6f
|
Fixes Script test case for coverage and style
|
10 years ago |
Esteban Ordano
|
c1a1571535
|
Fix JSDoc for script
|
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 |
Esteban Ordano
|
de4413745d
|
Fix missing disambiguation
|
10 years ago |
Manuel Araoz
|
3dd86446e0
|
add Interpreter docs and refactor a bit
|
10 years ago |
Esteban Ordano
|
5f5cf15241
|
Add capability to instantiate an Address from public keys and a threshold
|
10 years ago |
Esteban Ordano
|
ce94626908
|
Move: Script and Interpreter into subfolder
|
10 years ago |
Esteban Ordano
|
ed9a9f6da9
|
Fix wrong jsdocs
|
10 years ago |
Manuel Araoz
|
3eba0bc546
|
address review comments
|
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 |
Esteban Ordano
|
de4d2884c7
|
Modify Transaction to use Multisig
* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`
Greatly simplifying the internal transaction object
|
10 years ago |
Esteban Ordano
|
1535805f1c
|
Add PublicKeyHashInput class
|
10 years ago |
Braydon Fuller
|
b13c4fb0c9
|
Added inspect prototype G5
|
10 years ago |
Manuel Araoz
|
d3b761fc7c
|
Opcode('*').toNumber() -> Opcode.*
|
10 years ago |
Manuel Araoz
|
53f6a31e73
|
refactor script
|
10 years ago |
Manuel Araoz
|
f5b7f73d09
|
fixing tests for new script internals 2
|
10 years ago |