Manuel Araoz
230420fb00
fix test code for Transaction. Test skipped because they still fail
2014-03-21 12:13:23 -07:00
Manuel Araoz
ba92a6b1df
refactor and fixes for Transaction, ScriptInterpreter, and Key
2014-03-21 12:13:23 -07:00
Manuel Araoz
b227341c12
some Transaction tests fixed (canonical signatures)
2014-03-21 12:13:23 -07:00
Manuel Araoz
ddb3e6de70
invalid script test passing!
2014-03-19 12:26:36 -03:00
Manuel Araoz
03d200bad7
some invalid script tests working
2014-03-19 12:26:36 -03:00
Manuel Araoz
9ef8b78182
refactor int conversion, encoding, and utils
2014-03-19 12:26:36 -03:00
Manuel Araoz
5505491e8d
fix negative number arithmetic!
2014-03-19 12:26:36 -03:00
Manuel Araoz
19e15f91ca
size tests working!!! :D
2014-03-19 12:26:36 -03:00
Matias Alejo Garcia
5a1b513b24
add isCanonicalSignature check to script interpreter and tests
2014-03-17 16:57:23 -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
Manuel Araoz
3284bfcb2f
remove console.logs
2014-03-07 18:09:06 -03:00
Manuel Araoz
9a64cb0ea1
fix format in ScriptInterpreter
2014-03-07 18:08:24 -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
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
1c9b89f4f3
reverted some unwanted changes
2014-02-18 17:58:16 -03:00
Manuel Araoz
e0233f02dd
fix Buffer.concat use
2014-02-18 16:03:44 -03:00
Manuel Araoz
4da3285930
fix toHex use
2014-02-18 16:03:44 -03:00
Manuel Araoz
966b8988e1
fix reverse buffertools use
2014-02-18 16:03:44 -03:00
Manuel Araoz
d96181898a
fixed concat references
2014-02-18 16:03:44 -03:00
Manuel Araoz
0096238004
migrating buffertools compare method and test
2014-02-18 16:03:43 -03:00
Matias Alejo Garcia
f35c03544b
replace tabs with 2 spaces using "expand"
2014-01-16 06:21:35 -03:00
Stephen Pair
f9e86a5e83
rework logging, remove some unused code
2013-10-31 12:40:06 -04:00
Jeff Garzik
3a29b6e0dd
ScriptInterpreter: convert verifyFull() to use callbacks
2013-08-21 08:42:31 -04:00
Jeff Garzik
b6f05a3111
Script, ScriptInterpreter: Verify P2SH scripts and signatures
2013-08-21 08:29:06 -04:00
Jeff Garzik
248ef22326
Block, Script, ScriptInterpreter: capitalize deps for new libcoin names
...
Gets them compiling again.
2013-07-17 23:28:42 -04:00
Stephen Pair
ebddafcaa7
some more stuff...not complete yet
2013-07-09 17:45:21 -04:00
Stephen Pair
56a20ef25d
bunch of interim (broken) stuff
2013-07-09 14:45:52 -04:00