Yemel Jardi
ea22f1361f
Add validation of required arguments for future use
2014-08-11 17:57:28 -03:00
Yemel Jardi
ac525f226c
Add BIP21 implementation
2014-08-11 17:57:28 -03:00
Manuel Araoz
e44b2480aa
add AuthMessage and fix browser tests
2014-08-04 15:52:56 -03:00
Ryan X. Charles
016c729d24
remove NetworkMonitor from main bundle
...
...since it is not useful in the browser, and needlessly adds to the filesize.
2014-07-25 14:15:57 -07:00
Manuel Araoz
f1d7662a70
fix browser tests
2014-07-24 17:44:57 -03:00
Matias Alejo Garcia
733835dc7c
removes unused / obsolete class "Sign.js"
2014-07-23 18:11:27 -03: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
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
af6d0a5d02
remove cryptojs dependency
...
...and all vendor bundle files.
2014-07-10 16:22:42 -07: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
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
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
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
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
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
Ryan X. Charles
c038abc8e7
rename BIP32 -> HierarchicalKey, deprecate BIP32
...
Sounds better.
2014-05-11 13:09:57 -04:00
olalonde
b26dd77911
Armory: added to bitcore.js, build.js and browser example
2014-05-08 07:54:11 +08: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
7f348ca0bd
Move BigNumber to internal
...
...no longer relies on Manuel's repo hostig a version of "bignum" that actually
contained bignumber.js. This moves bignumber.js internally and removes bignum
from the browser build process. Also adds a bitcore.Bignum that links to the
right thing. In node, browser.Bignum is require('bignum'). And in the browser,
bitcore.Bignum is is now Bignumber.js (same as before ... except bignumber.js
is now inside bitcore).
2014-04-28 18:00:59 -04:00
Ryan X. Charles
350f6ae998
Key should make sure new privkey is less than N
...
...this involves adding a Curve class, and significant refactoring to make this
possible in a clean way.
2014-04-23 21:15:55 -03:00
Ryan X. Charles
ba692aaa20
add new SecureRandom class that does the right thing
...
Generating random numbers properly depends on the platform. The new
getRandomBuffer method does the right thing on the right platform. It will
sometimes fail due to insufficient entropy. The getPseudoRandomBuffer class is
also provided that will never fail, but it is not cryptographically secure and
should not be used for keys.
2014-04-22 22:18:59 -03:00
Manuel Araoz
6e306c4cb1
bundler changes for customizer
2014-04-22 12:26:57 -03:00
Manuel Araoz
ebafcb94a3
changing browser builder
2014-04-22 12:26:57 -03:00
Ryan X. Charles
e4e45c5245
add Electrum to browser build and tests
2014-04-20 17:49:43 -03:00
Ryan X. Charles
55061776ac
add Message to browser build and tests
2014-04-19 11:41:00 -03:00
Eric Martindale
9771d8138d
Fix browser bundling with new architecture.
2014-04-17 18:05:43 -04:00
Manuel Araoz
3cbcbd54cb
fix Buffers.skip in the browser
2014-04-10 18:52:13 -03:00
Ryan X. Charles
45fb78296a
Merge pull request #225 from unusualbob/bug/browserbuildwindows
...
Fix exec syntax in browser/build.js, fixes error on windows
2014-04-08 16:20:52 -03:00
unknown
d8c8288ce4
Change to @olalonde suggestion for compatibility on both *nix and windows
2014-04-08 10:48:06 -04:00
unknown
880efdc22f
Fix exec syntax in browser/build.js, fixes error on windows
2014-04-08 03:54:35 -04:00
Ryan X. Charles
93050e3e92
Merge branch 'feature/TransactionBuilder'
2014-03-30 21:02:22 -04:00
Matias Alejo Garcia
26b7f89f39
update examples and readme
2014-03-28 23:39:12 -03:00
Ryan X. Charles
a0daef56d9
Merge pull request #165 from ryanxcharles/feature/bip32
...
BIP 32 (hierarchical deterministic wallets)
2014-03-28 18:54:58 -04:00
Ryan X. Charles
f6aa01c445
add basic tests for all functions in Point
2014-03-28 18:07:23 -04:00
Manuel Araoz
18630bb2b1
fix browser tests
2014-03-26 12:00:03 -03:00
Ryan X. Charles
ba59d97a73
make things work in the browser by fixing sha512
...
...had to use jsSHA package to do SHA512 in the browser. Unfortunately it is
quite slow compared to node.
2014-03-22 16:16:58 -07:00
Matias Alejo Garcia
684be77268
small fixes in block, adapt to browser bignum. remove legacy code
2014-03-21 16:39:38 -03:00
Manuel Araoz
e8013cfed0
fix dir
2014-03-14 10:38:50 -03:00
Manuel Araoz
eb90bc152b
base dir
2014-03-14 10:38:49 -03:00
Manuel Araoz
5e0ae915f2
muting testdata for stdout
2014-03-14 10:38:49 -03:00
Manuel Araoz
f9d4c66c0f
remove extra prints
2014-03-14 10:38:49 -03:00