Commit Graph

823 Commits

Author SHA1 Message Date
lms
b2cd391bf0 build browser/bundle.js in prepublish step 2014-05-08 11:30:11 +02:00
Ryan X. Charles
982548f3e3 Merge pull request #320 from olalonde/armory
Armory style key derivation from (chain code, public key)
2014-05-07 20:52:19 -04:00
olalonde
0c6a0c61d3 Armory: removed unused buffertools dependency 2014-05-08 08:46:09 +08:00
olalonde
e06e556ca3 Eckey: renamed multiply to multiplyUncompressed for consistency 2014-05-08 08:10:07 +08:00
olalonde
7d33078736 Eckey: removed garbage comments 2014-05-08 07:54:12 +08:00
olalonde
59ee476b96 Armory: use native multiplication in node and javascript implementation in browser 2014-05-08 07:54:12 +08:00
olalonde
b5c1a7d387 Eckey: implemented point multiplication 2014-05-08 07:54:12 +08:00
olalonde
af942f9b06 Armory: added tests 2014-05-08 07:54:12 +08:00
olalonde
7800128b9b Armory: from master public key 2014-05-08 07:54:11 +08:00
olalonde
708b59eb3e Armory: fixed bug.. extra lines considered as real input 2014-05-08 07:54:11 +08:00
olalonde
b26dd77911 Armory: added to bitcore.js, build.js and browser example 2014-05-08 07:54:11 +08:00
olalonde
f647af50b7 Fixed browser exception caused by lib/Curve.js 2014-05-08 07:54:11 +08:00
olalonde
da71cdf62d Armory: added descriptive log in examples/Armory.js 2014-05-08 07:54:11 +08:00
olalonde
fa211f98bb Armory: cleaned up example 2014-05-08 07:54:11 +08:00
olalonde
468ebddc1e Implemented Armory initializing from seed 2014-05-08 07:54:11 +08:00
olalonde
0e1948b8f3 Implemented Armory style key derivation from chain code and public key (WIP) 2014-05-08 07:54:11 +08:00
olalonde
e2655f553d Added EC Point multiplication to browser/Point.js 2014-05-08 07:54:11 +08:00
Ryan X. Charles
5f064cddec Merge pull request #330 from olalonde/fix/329
Use browser field in package.json instead of process.verions tests
2014-05-07 15:30:36 -04:00
olalonde
78ae388553 Replace process.versions tests by browserify's package.json browser field. Fixes #329 2014-05-07 14:14:10 +08:00
Ryan X. Charles
52f7185add Merge pull request #328 from maraoz/add/contributing
add contributing.md
2014-05-06 14:36:12 -04:00
Manuel Araoz
ad8b7618e7 add contributing.mdwq 2014-05-06 15:27:40 -03:00
Manuel Aráoz
69d66d073e Merge pull request #323 from cimm/remove_unused_script_multisig_example
Script is not used in this example
2014-05-06 09:23:41 -03:00
Simon Schoeters
8c8e41bf29 Script is not used in this example 2014-05-06 12:06:15 +02:00
Ryan X. Charles
527c49a11d remove unused chai dependency 2014-05-05 11:04:24 -04:00
Ryan X. Charles
b7d41ab246 Merge pull request #321 from ryanxcharles/feature/remove-eval
Remove eval
2014-05-05 11:00:49 -04:00
Ryan X. Charles
d3a4cfa333 remove eval
eval is unsafe, and the way it was being used in Script and Script interpreter
was not a good enough reason. This commit removes both uses of eval, then
replaces all uses of OP_XXX with Opcode.map.OP_XXX since there's no reason for
those constants to be global.
2014-05-05 10:43:24 -04:00
Ryan X. Charles
0e04026d87 Merge pull request #314 from matiu/feature/docs02
Feature/docs02
2014-05-05 01:01:20 -04:00
Matias Alejo Garcia
536db27da3 add docs to Address class 2014-05-03 16:52:39 -03:00
Ryan X. Charles
566b74863a Merge pull request #313 from JahPowerBit/master
[#312] remove test from ignore in bower.json
2014-05-02 16:05:48 -04:00
JahPowerBit
19e5aaecca [#312] remove test from ignore in bower.json 2014-05-02 16:26:26 +01:00
Ryan X. Charles
d190067fe6 up to version 0.1.18
Critical bug fix - generating k was insecure:

https://github.com/bitpay/bitcore/pull/309
2014-05-02 08:52:32 -04:00
Ryan X. Charles
ad3446168a Merge pull request #310 from ryanxcharles/feature/signature-sanity-tests
Signature and Private Key sanity tests
2014-05-01 17:32:14 -04:00
Ryan X. Charles
46271de06e add some basic sanity tests for signatures and key generation
Signing a message with ECDSA involves using a random number, and this means
that two signatures should never be the same. This commit adds some basic tests
to Key.signSync and Message.sign to make sure this is the case. Also, a new
bitcore.Key should never have the same private key twice. This commit also adds
a basic test to make sure that is the case.
2014-05-01 12:27:55 -04:00
Matias Alejo Garcia
f0155a5297 docs in Txbuilder 2014-05-01 11:53:52 -03:00
Ryan X. Charles
1f49286b2a Merge pull request #309 from ryanxcharles/bug/signing
iterate array correctly so that random number is actually used in signing
2014-05-01 10:51:25 -04:00
Ryan X. Charles
b1f34d4015 iterate array correctly so that random number is actually used in signing 2014-05-01 10:09:33 -04:00
Ryan X. Charles
d413b5f43a up version to 0.1.17 2014-04-29 18:50:15 -04:00
Ryan X. Charles
cf641d093e Merge pull request #307 from matiu/feature/bower
add bower json
2014-04-29 18:37:18 -04:00
Matias Alejo Garcia
4bad5f6e71 add bower json 2014-04-29 19:33:12 -03:00
Manuel Aráoz
3b396fb360 Merge pull request #306 from ryanxcharles/bug/base58-bignum
fix bignum issue
2014-04-29 19:12:40 -03:00
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
Ryan X. Charles
c7218ea2fc Merge pull request #305 from maraoz/refactor/improve-BIP32
Refactor/improve bip32 and add test
2014-04-29 15:00:39 -04:00
Manuel Araoz
e9fa7e36ce remove alert 2014-04-29 14:45:08 -03:00
Manuel Araoz
ac719345e8 add tests for BIP32 2014-04-29 14:37:37 -03:00
Ryan X. Charles
5d2ac520bd Merge pull request #304 from maraoz/ignore/docs-folder
ignore doc folder
2014-04-29 11:44:06 -04:00
Ryan X. Charles
92271bceeb Merge pull request #299 from maraoz/feature/address-forKey
add Address.forKey convenience method
2014-04-29 11:43:47 -04:00
Manuel Araoz
6cf690afcc improve BIP32 error message 2014-04-29 12:43:29 -03:00
Manuel Araoz
d42f8065d4 ignore doc folder 2014-04-29 12:31:35 -03:00
Manuel Araoz
ce00b77de0 name change forKey -> fromKey 2014-04-29 11:49:42 -03:00
Manuel Araoz
a1a844c1e6 add Address.forKey convenience method and example vanity address generator 2014-04-29 11:49:42 -03:00