Manuel Araoz
a018a23b6b
fix bug in recognizing p2sh input scripts
2015-04-30 03:24:15 -03:00
Manuel Araoz
bbd48f868d
remove comment
2015-04-29 19:47:35 -03:00
Manuel Araoz
db6234b500
remove duplicate code, increase coverage
2015-04-29 19:45:41 -03:00
Manuel Araoz
d556a0c33d
fix regressions
2015-04-29 18:55:42 -03:00
Manuel Araoz
dfc075e5d1
fix block parsing problem
2015-04-29 17:29:33 -03:00
Manuel Araoz
270413a655
add simpler test that fails
2015-04-29 15:54:41 -03:00
Manuel Araoz
ee6f8d35ef
increase script test coverage
2015-04-22 14:32:10 -03:00
Kirill Fomichev
116024a7cb
fix Script.isPublicKeyHashOut
2015-03-29 20:55:13 +03:00
Manuel Araoz
ef7eafbb0c
increase test coverage and fix some bugs
2015-03-18 18:58:41 -03:00
Manuel Araoz
3619c7c9e2
fix problematic cases
2015-03-18 17:40:26 -03:00
Manuel Araoz
a9328d76ff
add extra test
2015-03-18 17:22:32 -03:00
Manuel Araoz
62ea45a524
refactor Address<->Script relation
2015-03-18 16:54:16 -03:00
Manuel Aráoz
e2ff93b714
Merge pull request #1083 from eordano/feature/multisigchecks
...
Transaction: Check that threshold is less than amount of signatures
2015-02-18 12:01:58 -03:00
eordano
1a5780e35e
Script/Address: Add check for valid number of threshold needed
2015-02-18 11:53:22 -03:00
eordano
0bbde0c9de
Script: Update max length for standard opreturn to 80
2015-02-18 10:46:47 -03:00
Esteban Ordano
73a973359b
Fix invocations to binary operations called on numbers
2015-02-05 17:28:45 -03:00
Esteban Ordano
03f794b4a3
Add shorthand method toHex to Script
2015-02-03 17:35:44 -03:00
Esteban Ordano
cfecfa2d8d
Merge pull request #904 from braydonf/bug/safari-address
...
Fixed bugs in Safari and IE. Closes #837 and #784
2015-01-07 09:27:07 -05:00
Braydon Fuller
bce28cd227
Fixed bug in IE11 that would cause MAX_MONEY verification test to fail.
2015-01-06 12:00:28 -05:00
Yemel Jardi
d369154162
Script: remember network when creating from address or pubkey
2015-01-06 10:28:48 -03:00
Yemel Jardi
9deec5e1c2
Use defaultNetwork in Script.toAddress
2015-01-02 15:38:28 -03:00
Esteban Ordano
ffca4cfb6f
Fixes Script test case for coverage and style
2014-12-30 15:34:30 -03:00
Esteban Ordano
d688222769
Add toAddress(network) functionality to scripts
2014-12-30 15:23:09 -03:00
Esteban Ordano
dc92bdd474
Add getData functionality to script
2014-12-30 14:30:36 -03:00
Manuel Araoz
fb57a60666
fix all tests
2014-12-19 18:53:21 -03:00
Manuel Araoz
6c518f1f45
refactoring interpreter
2014-12-19 18:28:52 -03:00
Manuel Araoz
370f69df88
refactor BN and ECDSA
2014-12-19 17:23:53 -03:00
Esteban Ordano
99db72ba90
Add `uncheckedAddInput` function
...
* For internal usage: for example, testing Script.Interpreter
2014-12-19 10:30:20 -03:00
Esteban Ordano
e5631b1a69
Modify transaction interface
...
* Add checks when serializing
* Add default _estimateSize to generic inputs
* Fix multisig size estimation
* Change _addOutput to addOutput
* Add addInput and using that internally
* Split `getFee` out from `_updateChangeOutput`
2014-12-18 14:09:44 -03:00
Manuel Araoz
3d7b0c7474
standardize test files
2014-12-17 19:11:20 -03:00
Manuel Araoz
3dd86446e0
add Interpreter docs and refactor a bit
2014-12-17 17:25:00 -03:00