Commit Graph

39 Commits

Author SHA1 Message Date
Manuel Araoz
18b2d190de change vendor.js to vendor-bundle.js 2014-03-11 15:29:06 -03:00
Manuel Araoz
76cf42506c refactoring browser code 2014-03-11 12:32:38 -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
dc56cb8d45 fixed Script parse tests for all scripts (valid and invalid) 2014-03-07 15:41:27 -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
Matias Alejo Garcia
c05181e412 fix error in versioned data 2014-03-05 17:37:16 -03:00
Matias Alejo Garcia
6d9a396d89 fix error in versioned data 2014-03-05 17:36:52 -03:00
Matias Alejo Garcia
c0c325dabd all classes working with soop and test passing 2014-03-05 16:11:16 -03:00
Matias Alejo Garcia
be4a228aee prevent requiring bitcoinjs-lib each time 2014-02-27 23:10:35 -03:00
Manuel Araoz
066936d69b fix ripemd160 for browser and add tests 2014-02-27 20:02:11 -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
bf0010b8ac fix buffertool's fill calls 2014-02-18 16:03:44 -03:00
Manuel Araoz
cdf53d1fc5 migrating to buffertools best practices 2014-02-18 16:03:43 -03:00
Manuel Araoz
10a23cdd88 remove strict 2014-02-18 12:19:46 -03:00
Manuel Araoz
4496ed369a fix Transaction for node 2014-02-18 11:39:47 -03:00
Manuel Araoz
0d5573dc16 Script class working in browser! 2014-02-06 15:49:22 -03:00
Manuel Araoz
0a6ddaffa3 EncodedData working in the browser 2014-02-05 18:15:10 -03:00
Matias Alejo Garcia
f35c03544b replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Ryan X. Charles
71cd92d225 fix truncation error in parseValue 2013-12-18 20:08:52 -05:00
Stephen Pair
709b2903c1 remove dead code 2013-10-31 12:55:30 -04:00
Stephen Pair
467f0779f7 Merge branch 'master' of https://github.com/gasteve/node-libcoin
Conflicts:
	util/util.js
2013-10-31 12:44:22 -04:00
Stephen Pair
f9e86a5e83 rework logging, remove some unused code 2013-10-31 12:40:06 -04:00
Jeff Garzik
da5719249f util/util: helper parseValue() converts bitcoin decimals into bigint 2013-09-14 22:59:29 -04:00
Jeff Garzik
b38863e4db util/util: remove buf64(), both incorrect and unnecessary 2013-09-13 15:32:35 -04:00
Stephen Pair
1fe60316a8 add encodedData.isValid() 2013-08-24 00:42:31 -04:00
Jeff Garzik
32859a8da8 Transaction: prefer to directly use a Buffer, where possible 2013-08-16 01:45:55 -04:00
Jeff Garzik
e10afb7358 util: add varInt encoding helper 2013-08-16 00:56:29 -04:00
Jeff Garzik
5fdd7ded14 util/EncFile: wallet file format gains a trailing HMAC checksum
Standard security practice of encrypt-then-MAC.
2013-08-14 20:47:25 -04:00
Jeff Garzik
45f201c4da Add new modules: WalletKey (a key, as found in a Wallet) and time utils 2013-08-08 18:44:46 -04:00
Jeff Garzik
88664d2c8c Move varint, varstr parsing to BinaryParser for wider sharing of code. 2013-08-02 13:54:53 -04:00
Jeff Garzik
928c9a4518 EncFile: zlib not used 2013-08-01 15:21:04 -04:00
Jeff Garzik
90c5e84291 Add EncFile module, for encrypted wallet files 2013-08-01 14:28:26 -04:00
Stephen Pair
a642114fb5 refactoring of Address 2013-07-10 13:03:05 -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