bitcore/test
Ryan X. Charles 405ea0bf6f fix bignum issue
In the browser, sometimes the config for bignum wasn't being set up if (somehow
... still not sure how this is possible) you use bitcore without using
require('bitcore'). This would by pass the code that set the config for bignum.
Solution is to put the config for bignum in bignum itself (in the browser).

This fixes, in particular, an issue with base58 where it was depending on
bignum having the proper config.

Also I add the base58 tests to run in the browser which they weren't
previously.

And finally I add a small test for Bignum in the browser that makes sure the
config is set properly.
2014-04-29 17:59:24 -04:00
..
data remove unused code from Script. Update it to do not use scriptSig placeholders 2014-04-22 21:09:22 -03:00
adapter.js fixing testdata inclusion in browser 2014-03-10 14:55:30 -03:00
index-testling.html add Message to browser build and tests 2014-04-19 11:41:00 -03:00
index.html fix bignum issue 2014-04-29 17:59:24 -04:00
mocha.opts Bitcoin address tests, from bitcoin/bitcoin.git 2013-07-09 16:02:59 -04:00
mute.js add new example 2014-03-12 15:22:56 -03:00
test.Address.js name change forKey -> fromKey 2014-04-29 11:49:42 -03:00
test.BIP32.js add tests for BIP32 2014-04-29 14:37:37 -03:00
test.Base58.js fix bignum issue 2014-04-29 17:59:24 -04:00
test.Bignum.browser.js fix bignum issue 2014-04-29 17:59:24 -04:00
test.Block.js fix firefox compatibility issue with buffertools#compare 2014-03-21 18:52:49 -03:00
test.Bloom.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.Connection.js make Connection test only run in node 2014-04-17 15:07:19 -03:00
test.Curve.js Move BigNumber to internal 2014-04-28 18:00:59 -04:00
test.Electrum.js remove unnecessary "change" console.log from Electrum test 2014-04-22 22:41:57 -03:00
test.EncodedData.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.Key.js Move BigNumber to internal 2014-04-28 18:00:59 -04:00
test.Key.node.js split Key node tests into separate file 2014-04-22 19:13:35 -03:00
test.Message.js add support for signing/verifying messages 2014-04-19 11:28:19 -03:00
test.Opcode.js random transaction and script generation 2014-03-25 14:37:23 -03:00
test.Peer.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.PeerManager.js add test for config extending properly 2014-04-28 12:33:34 -04:00
test.Point.js Move BigNumber to internal 2014-04-28 18:00:59 -04:00
test.PrivateKey.js add test for .isValid() function 2014-04-10 12:30:57 -03:00
test.RpcClient.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.SIN.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.SINKey.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.Script.js updated naming for getMultiSigInfo 2014-04-25 15:02:19 +02:00
test.ScriptInterpreter.js fix test code for Transaction. Test skipped because they still fail 2014-03-21 12:13:23 -07:00
test.SecureRandom.js add new SecureRandom class that does the right thing 2014-04-22 22:18:59 -03:00
test.Transaction.js add normalized hash for Txs 2014-04-10 23:30:04 -03:00
test.TransactionBuilder.js signature sorting in .sign and .merge in transaction builder 2014-04-22 21:09:22 -03:00
test.VersionedData.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.Wallet.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.WalletKey.js remove PeerManager exception, no necesary anymore 2014-03-12 00:11:12 -03:00
test.basic.js network refactors 2014-04-07 18:31:17 -03:00
test.examples.js add BIP32 example to examples tests 2014-04-02 12:05:11 -04:00
test.main.js support soop with browser all test passing 2014-03-08 18:42:08 -03:00
test.misc.js Move BigNumber to internal 2014-04-28 18:00:59 -04:00
test.random.js skip statistically failing tests 2014-04-23 15:55:35 -03:00
test.sighash.js fixed 23 Transaction tests!!! :D 2014-04-04 17:33:36 -03:00
test.util.js updated the calcDifficulty test to make it clear with what we're testing 2014-04-08 16:08:16 +02:00
testdata.js adding new data file from bitcoin core 2014-04-04 14:39:06 -03:00