Commit Graph

268 Commits

Author SHA1 Message Date
Ryan X. Charles
d52e8ac8ed remove multiple concats with one, more efficient, concat 2014-04-22 17:27:01 -03:00
Ryan X. Charles
d54fa570a2 default BIP32 to livenet 2014-04-22 12:25:05 -03:00
Ryan X. Charles
7f7d076c7f Merge remote-tracking branch 'olalonde/electrum' 2014-04-22 09:20:42 -03:00
olalonde
2644dbb2db Electrum.js: wrote some tests 2014-04-21 04:21:33 +08:00
olalonde
7466d916f1 Electrum.js specified what is supported for now 2014-04-21 03:53:54 +08:00
olalonde
c818b549c6 Added Electrum.js which allows Electrum style key derivation 2014-04-21 03:52:07 +08:00
Gordon Hall
9934b29eff update example, added log statements to status check in peer manager for showing how many good peers there are 2014-04-20 14:31:07 -04:00
Gordon Hall
def036b79f setup connection pool and auto handling of bad seeds 2014-04-20 14:04:52 -04:00
Gordon Hall
f877b3e563 some aesthetic changes 2014-04-19 15:32:20 -04:00
Gordon Hall
9cbab7f67e fix networks var in discoverPeers() to match what might be imported 2014-04-19 15:26:34 -04:00
Gordon Hall
e82867007e simplified example for peer discovery, added some debug output to discoverPeers(), made Peer reference the connection created from createConnection() 2014-04-19 15:12:44 -04:00
Gordon Hall
76247ff532 resolved merge conflicts 2014-04-19 12:13:24 -04:00
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.
2014-04-19 11:28:19 -03:00
Matias Alejo Garcia
5a1d572a8d add new constructor to Address (fromScriptPubKey) 2014-04-18 16:51:40 -03:00
Eric Martindale
0ae2fc73ab Merge branch 'master' of github.com:bitpay/bitcore into clean
Conflicts:
	examples/PeerManager.js
	examples/SendTx.js
	lib/Connection.js
	lib/PeerManager.js
2014-04-17 16:38:30 -04:00
Eric Martindale
433e40f390 Merge branch 'master' of github.com:bitpay/bitcore into clean 2014-04-16 14:36:17 -04:00
Eric Martindale
a2d616da5b Project reorganization. 2014-04-13 13:28:42 -07:00
Eric Martindale
f3b1c2d292 Cleanup main directory. 2014-04-13 13:14:27 -07:00