Ryan X. Charles
272378f43a
Merge pull request #133 from maraoz/feature/idiomatic-Address
Idiomatic address use
11 years ago
Manuel Araoz
13b1431c56
change default way of validating Addresses
11 years ago
Manuel Araoz
ad34fd191d
starting Address idiom changes
11 years ago
Ryan X. Charles
73ceb2e04e
Merge pull request #129 from ryanxcharles/feature/require-on-use
Require on use
11 years ago
Ryan X. Charles
8e430df82c
fix address example by using bitcore.Address
11 years ago
Ryan X. Charles
acd42bf459
remove comment
11 years ago
Ryan X. Charles
82d9f44b6b
remove unnecessary "buffer" from browserify.js
11 years ago
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.
11 years ago
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.
11 years ago
Ryan X. Charles
20a433c192
Merge pull request #128 from maraoz/bug/remove-testdata-from-bundle
Bug/remove testdata from bundle
11 years ago
Manuel Araoz
4167827937
merge master changes
11 years ago
Manuel Araoz
79e8701316
fix gruntfile
11 years ago
Manuel Araoz
d7529a8281
trying to fix node tests now
11 years ago
Manuel Araoz
a2e6e88569
fixing testdata inclusion in browser
11 years ago
Ryan X. Charles
8f3ae30612
Merge pull request #127 from ryanxcharles/bug/fix-node-tests
fix mocha tests
11 years ago
Ryan X. Charles
ba7de86ee4
expose ./Connection so it works in the browser
11 years ago
Ryan X. Charles
7f9891bc92
fix mocha tests
Node tests were erroring out on this. Need to have "./Connection"
11 years ago
Ryan X. Charles
1b3e703fd0
Merge pull request #124 from maraoz/bug/skip-broken-tests
Bug/skip broken tests
11 years ago
Manuel Araoz
0477b75de4
fix util broken tests
11 years ago
Manuel Araoz
88b85c02fd
skip broken tests
11 years ago
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.
11 years ago
Ryan X. Charles
c2705813b3
add grunt browserify package so "npm install" works
11 years ago
Ryan X. Charles
52c12aa5f4
fix package.json reference to bitpay soop
...the soop library is located at bitpay/soop, not bitpay/node-soop.
11 years ago
Ryan X. Charles
967ec01778
Merge pull request #120 from matiu/feature/support-soop-browser
Feature/support soop browser
11 years ago
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.
11 years ago
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.
11 years ago
Matias Alejo Garcia
f494b47b18
update dependencies
11 years ago
Matias Alejo Garcia
66d3a0e822
update soop repository
11 years ago
Matias Alejo Garcia
089fbab719
support soop with browser all test passing
11 years ago
Manuel Araoz
3284bfcb2f
remove console.logs
11 years ago
Manuel Araoz
9a64cb0ea1
fix format in ScriptInterpreter
11 years ago
Manuel Araoz
512d9d39ee
small fix
11 years ago
Manuel Araoz
1d72154c54
separate getStringContent and getHumanReadable
11 years ago
Manuel Araoz
dc56cb8d45
fixed Script parse tests for all scripts (valid and invalid)
11 years ago
Manuel Araoz
e83590f528
fix Script parsing for some cases, setup ScriptInterpreter tests
11 years ago
Ryan X. Charles
1a9c062760
Merge pull request #117 from mbelshe/master
* Fix size bug in bitcore's getVarIntSize.
11 years ago
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
11 years ago
Ryan X. Charles
75a29d695d
Merge pull request #107 from dthorpe/master
Specify OpenSSL lib path so that bitcore references to OpenSSL will link...
11 years ago
Ryan X. Charles
08372972c6
Merge pull request #116 from maraoz/feature/add-bitcoin-core-tests
Feature/add bitcoin core tests
11 years ago
Manuel Araoz
05c5538162
script parser code added and tested
11 years ago
Matias Alejo Garcia
c05181e412
fix error in versioned data
11 years ago
Matias Alejo Garcia
6d9a396d89
fix error in versioned data
11 years ago
Matias Alejo Garcia
a1ebf75717
migrate examples to soop
11 years ago
Matias Alejo Garcia
c0c325dabd
all classes working with soop and test passing
11 years ago
Matias Alejo Garcia
fa1e323d39
add soop dependency. remove bitcore
11 years ago
Manuel Araoz
40ee699453
working on Transaction verification and Script tests
11 years ago
Manuel Araoz
ade6f36c34
basic Transaction test working
11 years ago
Manuel Araoz
6755b84fbf
Transaction new tests not working
11 years ago
Manuel Araoz
d77cc28f7a
added references to bitcoin/bitcoin tests
11 years ago
Manuel Araoz
d2b74c2f7c
added decode test
11 years ago