Commit Graph

18 Commits

Author SHA1 Message Date
Ruben de Vries 3118ab1d0c updated the calcDifficulty test to make it clear with what we're testing 2014-04-08 16:08:16 +02:00
Ruben de Vries 9c6c300289 fixed calcDifficulty by making sure the MAX_TARGET is also locally available.
added tests for 2 difficulty calculations.
2014-04-08 10:26:36 +02:00
Manuel Araoz 2c331cb2ef some hashForSignature tests passing! :D 2014-04-03 15:55:54 -03:00
Manuel Araoz 6ac48b2809 uncomment some test cases! 2014-03-19 13:03:12 -03:00
Manuel Araoz 856225d377 fix for firefox 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 ab183c0e66 fixes ripe160 add some tests 2014-03-12 11:40:10 -03:00
Matias Alejo Garcia 6af1b1dab6 add broken test for sha256ripe160 2014-03-12 00:40:59 -03:00
Manuel Araoz a2e6e88569 fixing testdata inclusion in browser 2014-03-10 14:55:30 -03:00
Manuel Araoz 0477b75de4 fix util broken tests 2014-03-10 10:00:37 -03: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
Mike Belshe cda6d035b4 * Fix size bug in bitcore's getVarIntSize.
* Implement quadword for varIntBuf
* Add unit tests for util.varIntBuf and util.getVarIntSize
* Fix the browser/util numToVarInt equivalent as well
2014-03-06 22:01:22 -08:00
Manuel Araoz 05c5538162 script parser code added and tested 2014-03-06 17:23:00 -03:00
Manuel Araoz 066936d69b fix ripemd160 for browser and add tests 2014-02-27 20:02:11 -03:00
Manuel Araoz b4642e8924 all tests working in browser :D 2014-02-24 09:39:42 -03:00