Manuel Araoz
18b2d190de
change vendor.js to vendor-bundle.js
2014-03-11 15:29:06 -03:00
Manuel Araoz
069f67e924
fix Key tests
2014-03-11 15:21:24 -03:00
Manuel Araoz
76cf42506c
refactoring browser code
2014-03-11 12:32:38 -03:00
Ryan X. Charles
272378f43a
Merge pull request #133 from maraoz/feature/idiomatic-Address
...
Idiomatic address use
2014-03-11 10:37:10 -04:00
Manuel Araoz
13b1431c56
change default way of validating Addresses
2014-03-11 11:27:29 -03:00
Manuel Araoz
ad34fd191d
starting Address idiom changes
2014-03-11 10:21:26 -03:00
Ryan X. Charles
73ceb2e04e
Merge pull request #129 from ryanxcharles/feature/require-on-use
...
Require on use
2014-03-10 17:52:07 -04:00
Ryan X. Charles
8e430df82c
fix address example by using bitcore.Address
2014-03-10 17:50:52 -04:00
Ryan X. Charles
acd42bf459
remove comment
2014-03-10 17:07:13 -04:00
Ryan X. Charles
82d9f44b6b
remove unnecessary "buffer" from browserify.js
2014-03-10 17:06:11 -04:00
Ryan X. Charles
5b67d91f35
fix the loading for Key.js
...
Now, like all other modules loaded in the bitcore object, Key is only required
when it is actually used. All tests pass in node and the browser.
2014-03-10 17:04:23 -04:00
Ryan X. Charles
8a41414114
add caching feature for bitcore.X requires
...
Normally when one loads the bitcore object, all classes are loaded into memory,
even if they are not used. This comment updates this so that the classes are
only required when they are actually used, preserving memory and making bitcore
as small and light for each project. This code is only relevant for node, since
the browser will have the ability to compile only the selected components.
Also, the Key class does not yet work with this, but everything else does.
2014-03-10 16:47:52 -04:00
Ryan X. Charles
20a433c192
Merge pull request #128 from maraoz/bug/remove-testdata-from-bundle
...
Bug/remove testdata from bundle
2014-03-10 14:29:26 -04:00
Manuel Araoz
4167827937
merge master changes
2014-03-10 15:00:25 -03:00
Manuel Araoz
79e8701316
fix gruntfile
2014-03-10 14:55:30 -03:00
Manuel Araoz
d7529a8281
trying to fix node tests now
2014-03-10 14:55:30 -03:00
Manuel Araoz
a2e6e88569
fixing testdata inclusion in browser
2014-03-10 14:55:30 -03:00
Ryan X. Charles
8f3ae30612
Merge pull request #127 from ryanxcharles/bug/fix-node-tests
...
fix mocha tests
2014-03-10 13:51:10 -04:00
Ryan X. Charles
ba7de86ee4
expose ./Connection so it works in the browser
2014-03-10 13:28:28 -04:00
Ryan X. Charles
7f9891bc92
fix mocha tests
...
Node tests were erroring out on this. Need to have "./Connection"
2014-03-10 13:10:52 -04:00
Ryan X. Charles
1b3e703fd0
Merge pull request #124 from maraoz/bug/skip-broken-tests
...
Bug/skip broken tests
2014-03-10 09:34:34 -04:00
Manuel Araoz
0477b75de4
fix util broken tests
2014-03-10 10:00:37 -03:00
Manuel Araoz
88b85c02fd
skip broken tests
2014-03-10 09:58:35 -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
c2705813b3
add grunt browserify package so "npm install" works
2014-03-08 21:52:47 -05:00
Ryan X. Charles
52c12aa5f4
fix package.json reference to bitpay soop
...
...the soop library is located at bitpay/soop, not bitpay/node-soop.
2014-03-08 21:38:53 -05:00
Ryan X. Charles
967ec01778
Merge pull request #120 from matiu/feature/support-soop-browser
...
Feature/support soop browser
2014-03-08 21:36:56 -05:00
Ryan X. Charles
0adbc55e82
make browser tests work by including testdata
...
...testdata was not being loaded correctly by the new browserify.js file, and
thus not all the tests were working. I have fixed this by including "testdata"
as one of the modules that is compiled by the browserify.js script.
2014-03-08 21:34:21 -05: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
f494b47b18
update dependencies
2014-03-08 20:34:40 -03:00
Matias Alejo Garcia
66d3a0e822
update soop repository
2014-03-08 19:00:26 -03:00
Matias Alejo Garcia
089fbab719
support soop with browser all test passing
2014-03-08 18:42:08 -03: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
512d9d39ee
small fix
2014-03-07 18:06:54 -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
Ryan X. Charles
1a9c062760
Merge pull request #117 from mbelshe/master
...
* Fix size bug in bitcore's getVarIntSize.
2014-03-07 08:17:08 -06: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
Ryan X. Charles
75a29d695d
Merge pull request #107 from dthorpe/master
...
Specify OpenSSL lib path so that bitcore references to OpenSSL will link...
2014-03-06 17:05:23 -06:00
Ryan X. Charles
08372972c6
Merge pull request #116 from maraoz/feature/add-bitcoin-core-tests
...
Feature/add bitcoin core tests
2014-03-06 16:28:11 -06: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
a1ebf75717
migrate examples to soop
2014-03-05 16:18:44 -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
fa1e323d39
add soop dependency. remove bitcore
2014-03-05 15:01:43 -03:00
Manuel Araoz
40ee699453
working on Transaction verification and Script tests
2014-03-05 09:56:42 -03:00
Manuel Araoz
ade6f36c34
basic Transaction test working
2014-03-05 09:56:42 -03:00