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
Ryan X. Charles
dbcf270826
use SecureRandom in Key in the browser
...to make sure random numbers are generated securely
11 years ago
Ryan X. Charles
75d2d0d390
fix issues with ConnectionTor example and Connection class
11 years ago
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.
11 years ago
Matias Alejo Garcia
906378aac4
rm spaces
11 years ago
Matias Alejo Garcia
9951b55a4f
signature sorting in .sign and .merge in transaction builder
11 years ago
Matias Alejo Garcia
56d81bc0df
remove unused code from Script. Update it to do not use scriptSig placeholders
11 years ago
Ryan X. Charles
f82fa5007a
move *.browser and *.node to browser/* and node/*
...this should leave the lib folder a little bit less cluttered.
11 years ago
Ryan X. Charles
05d86b6453
split up Key into Key.browser and Key.node
11 years ago
Ryan X. Charles
abc799f453
split up Point into separate node and browser versions
11 years ago
Ryan X. Charles
86bb67b76d
remove unnecessary bignum conversion
11 years ago
Ryan X. Charles
6a4387e768
allow creating blank BIP32 by passing in null
11 years ago
Ryan X. Charles
d52e8ac8ed
remove multiple concats with one, more efficient, concat
11 years ago
Ryan X. Charles
d54fa570a2
default BIP32 to livenet
11 years ago
olalonde
2644dbb2db
Electrum.js: wrote some tests
11 years ago
olalonde
7466d916f1
Electrum.js specified what is supported for now
11 years ago
olalonde
c818b549c6
Added Electrum.js which allows Electrum style key derivation
11 years ago
Gordon Hall
9934b29eff
update example, added log statements to status check in peer manager for showing how many good peers there are
11 years ago
Gordon Hall
def036b79f
setup connection pool and auto handling of bad seeds
11 years ago
Gordon Hall
f877b3e563
some aesthetic changes
11 years ago
Gordon Hall
9cbab7f67e
fix networks var in discoverPeers() to match what might be imported
11 years ago
Gordon Hall
e82867007e
simplified example for peer discovery, added some debug output to discoverPeers(), made Peer reference the connection created from createConnection()
11 years ago
Ryan X. Charles
659dc10f96
add support for signing/verifying messages
This adds a new Message class with static methods for signing and verifying a
message the same way as bitcoind. (In a nutshell, messages a prepended with
"Bitcoin Signed Message:" before being hashed and signed).
There is one important piece missing ... verifying a signature with an address,
and not a public key. I have not yet implemented this because the cryptography
interface of bitcore does not allow me to derive the public key from a
signature. This will need to be added before verifying from an address is
possible.
11 years ago
Matias Alejo Garcia
5a1d572a8d
add new constructor to Address (fromScriptPubKey)
11 years ago
Eric Martindale
a2d616da5b
Project reorganization.
11 years ago
Eric Martindale
f3b1c2d292
Cleanup main directory.
11 years ago