Commit Graph

121 Commits

Author SHA1 Message Date
Christopher Jeffrey 4e606c7ed2 paypro: move root certs to non-browser. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey 29b067ab73 paypro: add createTrusted to browser build script. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey 493f90f428 paypro: chmod +x generate-trusted.sh. 2014-07-21 14:54:38 -07:00
Christopher Jeffrey ee61422361 paypro: script to generate trusted.js from node.js root certs. 2014-07-21 14:54:38 -07:00
Ryan X. Charles b1722484a9 v0.1.32 2014-07-18 12:18:49 -07:00
Ryan X. Charles 3bed2e0da2 v0.1.31 2014-07-17 16:53:05 -07:00
Ryan X. Charles 0c8f7d4d21 move bitcore-dev.js -> bundle.js
To make it easier to test the master branch of bitcore with other apps,
especially Copay.
2014-07-17 16:30:47 -07:00
Ryan X. Charles 2c136d4dcc remove obsolete Curve class (G and n now accessible from Point) 2014-07-17 13:14:49 -07:00
Ryan X. Charles b8b500e109 up version to 0.1.30 2014-07-16 17:07:54 -07:00
Ryan X. Charles 2db98e1982 0.1.29: make bundle backwards-compatible with 0.1.25
npm doesn't play well with the symlink bitcore-latest.js. Instead, put the
latest main bundle in bundle.js (which is what it used to be called) so
packages like Copay can use the latest bundle just like how they used to.
2014-07-16 14:57:04 -07:00
Ryan X. Charles 77ff084413 update bitcore-latest.js 2014-07-16 11:39:13 -07:00
Ryan X. Charles 500037acd3 bump version to 0.1.28 2014-07-16 11:39:13 -07:00
Ryan X. Charles fc942c2ac5 remove network stuff from main build
The network classes Connection, Peer and PeerManager are not useful from the
browser, so I have removed them from the main browser bundle by default.  This
saves several tens of kilobytes from the browser bundle (since not only are
these files not included, but their dependencies are not included either).
2014-07-14 20:53:22 -07:00
Ryan X. Charles 572035fdd5 add some test vectors for secp256k1 2014-07-11 14:47:48 -07:00
Ryan X. Charles af1d754bd8 make bignum interface backwards compatible
- fix cmp, mul, div, add, mod, sub functions to take numbers and strings
- fix Point class to use common folder correctly
2014-07-10 18:14:13 -07:00
Ryan X. Charles af6d0a5d02 remove cryptojs dependency
...and all vendor bundle files.
2014-07-10 16:22:42 -07:00
Ryan X. Charles 0b33869665 add 0.1.27 browser bundle and point latest to it 2014-07-10 16:12:18 -07:00
Manuel Araoz 0e2df698cd fix SIN and add tests 2014-07-10 17:17:24 -03:00
Manuel Araoz 87b818badf remove soop exports 2014-07-10 16:08:42 -03:00
Manuel Araoz cd7eae8359 remove soop inheritance system 2014-07-10 11:46:44 -03:00
Ryan X. Charles c93419a750 up version to 0.1.26 2014-07-07 20:55:21 -07:00
Ryan X. Charles 153cb7ad50 add "real" 0.1.24 and 0.1.25, and...
In this commit I have added the 'official' versions 0.1.24 and 0.1.25 to the
repo, and also created a new bitcore-dev.js that is not included in the repo.
bitcoin-dev.js is what we will use for development. When we define a new
version, we create a new bitcore-x.x.x.js file, and point bitcore-latest.js to
that. Note that the bitcore-x.x.x.js files should always be the "main" bundle,
which does not include BIP39 or BIP70, or other large packages.
2014-07-07 19:50:57 -07:00
Ryan X. Charles 4e3b258f07 Merge remote-tracking branch 'maraoz/feature/bundle-name'
Conflicts:
	browser/bitcore-0.1.24.js
2014-07-07 19:00:26 -07:00
Ryan X. Charles 41a687cd36 up version to 0.1.25 2014-07-07 09:51:21 -07:00
Manuel Araoz 9ac8682fb0 minify browser version 2014-07-04 15:21:42 -03:00
Manuel Araoz fcde4e84ad add new bundles and symbolic link 2014-07-04 15:15:35 -03:00
Manuel Araoz 7b3c074900 change bundle name 2014-07-04 15:08:45 -03:00
Ryan X. Charles 0722ce46d7 comment typo 2014-07-02 11:51:15 -07:00
Ryan X. Charles 0bea06f785 add BIP70 protobuf features in new PayPro lib file
...and add to the "main" bundle, but not the "all" bundle, since it adds
hundreds of kilobytes to the bundle.
2014-07-02 11:39:21 -07:00
Ryan X. Charles ca67786a77 ran js-beautify on all bitcore source
js-beautify -s 2 -r *.js

...did not run on bundles, only on source.
2014-06-23 10:57:02 -07:00
Ryan X. Charles ad5e83f9ff Merge branch 'bip39'
Conflicts:
	browser/bundle.js
2014-06-20 19:35:24 -07:00
Ryan X. Charles 266759ff60 Merge remote-tracking branch 'devrandom/bip39'
Conflicts:
	test/index.html
2014-06-20 19:34:21 -07:00
Ryan X. Charles 4a59418c82 add concept of "main" bundle and remove BIP39
Some features of bitcore will be too large to be included in the browser bundle
by default. Since BIP39 pretty much requires the giant list of words to be
used, I am excluding it by default. The ability to exclude some features by
default will become useful with some particularly large features to come,
particularly BIP70.
2014-06-20 19:31:01 -07:00
Ryan X. Charles 54c8e04738 remove unbuilding c code, and ...
* Remove c code that didn't compile on my machine
* Replace with sjcl code
* Minor modifications to mnemonic interface more bitcoreish
2014-06-20 19:09:21 -07:00
Ryan X. Charles 83aada8648 Merge pull request #379 from ryanxcharles/feature/address-throw-error
throw error when using invalid length hash in Address constructor
2014-06-13 08:17:18 -07:00
Ryan X. Charles c94d278958 up version to 0.1.24 2014-06-12 15:09:09 -07:00
Manuel Araoz 0d670ff979 suggestions by ryan 2014-06-12 16:54:59 -03:00
Manuel Araoz b402bbfa6c fixing copay problems 2014-06-12 16:28:00 -03:00
Manuel Araoz 5c11ac3e87 malloc -> calloc, to fix linux version 2014-06-12 13:56:29 -03:00
Manuel Araoz d313ed037e trying to fix 2014-06-12 12:29:51 -03:00
Manuel Araoz a2b8bb0f51 even weirder fix 2014-06-12 12:29:51 -03:00
Ryan X. Charles c2e5a14eed throw error when using invalid length hash in Address
I have often made the error of using a public key rather than the hash of the
public key when creating an address, leading to invalid addresses. I'm sure I'm
not the only one. This commit follows the principle of "fail early, fail often"
and simply throws an error if you try to insert something other than 20 bytes
long when creating an address, which would be the case when using a public key.
This way that common mistake should be reduced.
2014-06-11 18:13:39 -07:00
Devrandom 79d50e92d4 BIP39 in browser 2014-06-08 12:43:05 -07:00
Ryan X. Charles 338158ca46 fix sjcl issue on npm install
...by including sjcl locally
2014-06-06 11:49:58 -07:00
Ryan X. Charles c488268a3c update version to 0.1.22 2014-06-06 08:37:42 -07:00
Ryan X. Charles 80ccaa8396 rename "rand" to more explanatory "getRandomSeed" 2014-06-05 16:41:47 -07:00
Ryan X. Charles 117eaa4288 remove underscore dependency to decrease bundle size 2014-06-04 18:43:00 -07:00
Ryan X. Charles a242112e66 replace jssha with sjcl - remove jssha dependency 2014-06-04 18:13:32 -07:00
Ryan X. Charles af9fdff3a9 use SJCL AES to get ECIES working in the browser 2014-06-03 19:03:50 -07:00
Ryan X. Charles e963ff3c45 add ECIES support in node - not browser 2014-06-02 20:15:58 -07:00