Matias Alejo Garcia
c9694c5768
rm console.log
2014-05-26 12:40:07 -03:00
Matias Alejo Garcia
e60e389e43
add more strict checking, plus tests
2014-05-25 23:46:20 -03:00
Ruben de Vries
4860b8f3c7
updated naming for getMultiSigInfo
2014-04-25 15:02:19 +02:00
Ruben de Vries
e301a14657
added Script.getMultiSigInfo as easy helper to return information about a multisig script
2014-04-25 14:58:44 +02:00
Matias Alejo Garcia
9951b55a4f
signature sorting in .sign and .merge in transaction builder
2014-04-22 21:09:22 -03:00
Matias Alejo Garcia
56d81bc0df
remove unused code from Script. Update it to do not use scriptSig placeholders
2014-04-22 21:09:22 -03:00
Matias Alejo Garcia
56bed9b3f2
fix noSorting, add testcase against bitcoind output
2014-04-04 10:37:32 -03:00
Matias Alejo Garcia
8ff1464b2c
add test imported from treasure
2014-04-04 09:44:16 -03:00
Ryan X. Charles
4319a20676
add test of correct parsing of valid script
...
Even of OP_PUSHDATA1 says to push 117 bytes, if there are only 75 bytes
following, this should still be pushed to the stack.
2014-03-24 20:27:51 -04:00
Manuel Araoz
a2e6e88569
fixing testdata inclusion in browser
2014-03-10 14:55:30 -03:00
Ryan X. Charles
cb00efb092
Merge remote-tracking branch 'maraoz/feature/add-bitcoin-core-tests'
...
Conflicts:
Script.js
ScriptInterpreter.js
...fixed conflicts in Script.js and ScriptInterpreter.js. Many tests are broken
right now, but that's because we're now including more test data in the tests.
These need to be fixed.
2014-03-09 12:07:11 -04:00
Ryan X. Charles
c19fb7a3ce
Merge remote-tracking branch 'matiu/feature/support-soop-browser'
...
Conflicts:
Script.js
ScriptInterpreter.js
Transaction.js
test/testdata.js
...conflicts resolved by taking Manuel's changes, and then manually including
Matias's changes on those same files. The conflicts resulted from differences
in indentation, which is because Matias' changes unindendented all the code
that had been but is not now inside a function.
2014-03-08 19:30:21 -05:00
Matias Alejo Garcia
089fbab719
support soop with browser all test passing
2014-03-08 18:42:08 -03:00
Manuel Araoz
1d72154c54
separate getStringContent and getHumanReadable
2014-03-07 18:04:23 -03:00
Manuel Araoz
dc56cb8d45
fixed Script parse tests for all scripts (valid and invalid)
2014-03-07 15:41:27 -03:00
Manuel Araoz
e83590f528
fix Script parsing for some cases, setup ScriptInterpreter tests
2014-03-07 14:43:29 -03:00
Manuel Araoz
05c5538162
script parser code added and tested
2014-03-06 17:23:00 -03:00
Matias Alejo Garcia
c0c325dabd
all classes working with soop and test passing
2014-03-05 16:11:16 -03:00
Manuel Araoz
40ee699453
working on Transaction verification and Script tests
2014-03-05 09:56:42 -03:00
Manuel Araoz
b4642e8924
all tests working in browser :D
2014-02-24 09:39:42 -03:00
Manuel Araoz
f6549bc570
script test fix
2014-02-06 16:25:46 -03:00
Manuel Araoz
262a5d7189
Added some tests for Script
2014-02-06 16:21:15 -03:00
Manuel Araoz
e295e33800
starting with Transaction class
2014-02-06 12:57:47 -03:00