Ryan X. Charles
80ccaa8396
rename "rand" to more explanatory "getRandomSeed"
11 years ago
Ryan X. Charles
117eaa4288
remove underscore dependency to decrease bundle size
11 years ago
Gabe
8e96d1439d
check if seed is greater than 512 bits
11 years ago
Ryan X. Charles
af9fdff3a9
use SJCL AES to get ECIES working in the browser
11 years ago
Ryan X. Charles
e963ff3c45
add ECIES support in node - not browser
11 years ago
Rich Morgan
eab5c2896e
Fix to check for zero s value in sign function
If r OR s are zero then recalculate both r and s until they are both non-zero values.
11 years ago
Matias Alejo Garcia
e60e389e43
add more strict checking, plus tests
11 years ago
Matias Alejo Garcia
349143ba02
change log in checkStatus to .debug
11 years ago
Matias Alejo Garcia
56e7739a46
reverse changes in address
11 years ago
Matias Alejo Garcia
be02d41ac2
fix isMultiSig
11 years ago
Matias Alejo Garcia
ddd1476a39
fix buffer
11 years ago
Matias Alejo Garcia
691fec5342
fix .fromScriptPubKey parsing in some strange Txs
11 years ago
Gordon Hall
92e89d307e
fix #346
11 years ago
Ryan X. Charles
c038abc8e7
rename BIP32 -> HierarchicalKey, deprecate BIP32
Sounds better.
11 years ago
Rich Apodaca
8489b50c32
Fixed TransactionBuilder docs
11 years ago
Matias Alejo Garcia
bd91d17f57
fix snippet
11 years ago
olalonde
0c6a0c61d3
Armory: removed unused buffertools dependency
11 years ago
olalonde
e06e556ca3
Eckey: renamed multiply to multiplyUncompressed for consistency
11 years ago
olalonde
59ee476b96
Armory: use native multiplication in node and javascript implementation in browser
11 years ago
olalonde
b5c1a7d387
Eckey: implemented point multiplication
11 years ago
olalonde
af942f9b06
Armory: added tests
11 years ago
olalonde
7800128b9b
Armory: from master public key
11 years ago
olalonde
708b59eb3e
Armory: fixed bug.. extra lines considered as real input
11 years ago
olalonde
f647af50b7
Fixed browser exception caused by lib/Curve.js
11 years ago
olalonde
fa211f98bb
Armory: cleaned up example
11 years ago
olalonde
468ebddc1e
Implemented Armory initializing from seed
11 years ago
olalonde
e2655f553d
Added EC Point multiplication to browser/Point.js
11 years ago
olalonde
78ae388553
Replace process.versions tests by browserify's package.json browser field. Fixes #329
11 years ago
Ryan X. Charles
527c49a11d
remove unused chai dependency
11 years ago
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.
11 years ago
Matias Alejo Garcia
536db27da3
add docs to Address class
11 years ago
Matias Alejo Garcia
f0155a5297
docs in Txbuilder
11 years ago
Ryan X. Charles
b1f34d4015
iterate array correctly so that random number is actually used in signing
11 years ago
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.
11 years ago
Manuel Araoz
e9fa7e36ce
remove alert
11 years ago
Manuel Araoz
ac719345e8
add tests for BIP32
11 years ago
Manuel Araoz
6cf690afcc
improve BIP32 error message
11 years ago
Manuel Araoz
ce00b77de0
name change forKey -> fromKey
11 years ago
Manuel Araoz
a1a844c1e6
add Address.forKey convenience method and example vanity address generator
11 years ago
Matias Alejo Garcia
ec2299362c
docco documentation
11 years ago
Matias Alejo Garcia
00c639d350
fix firefox test
11 years ago
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).
11 years ago
Gordon Hall
bf1b4bdcc7
replace extend with underscore and use it's version of extend from within PeerManager
11 years ago
Ryan X. Charles
c7b33eca9a
update key signing to use new SecureRandom
...and throw an error if you try to use the old, non-secure random number
generator.
11 years ago
Ruben de Vries
4860b8f3c7
updated naming for getMultiSigInfo
11 years ago
Ruben de Vries
e301a14657
added Script.getMultiSigInfo as easy helper to return information about a multisig script
11 years ago
Ryan X. Charles
10d164b292
add require('bignum') in key
11 years ago
Matias Alejo Garcia
64b5623d54
removes buffertools dependencies in browsers Key.js
11 years ago
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.
11 years ago
Matias Alejo Garcia
a83309eede
rm log
11 years ago