Commit Graph

721 Commits

Author SHA1 Message Date
Ryan X. Charles a179251152 split Key node tests into separate file 2014-04-22 19:13:35 -03:00
Ryan X. Charles 05d86b6453 split up Key into Key.browser and Key.node 2014-04-22 19:13:35 -03:00
Ryan X. Charles abc799f453 split up Point into separate node and browser versions 2014-04-22 19:13:35 -03:00
Ryan X. Charles 46fe8ea800 Merge pull request #278 from ryanxcharles/feature/default-bip32-livenet
default BIP32 to livenet
2014-04-22 12:36:46 -03:00
Ryan X. Charles 8a3f2b6b9b Merge pull request #279 from maraoz/feature/update-bundler
Feature/update bundler
2014-04-22 12:36:34 -03:00
Manuel Araoz 6e306c4cb1 bundler changes for customizer 2014-04-22 12:26:57 -03:00
Manuel Araoz aadc01e5a1 fix async dep 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 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
Ryan X. Charles 3267925ebf Merge remote-tracking branch 'gordonwritescode/feature/peer-discovery' 2014-04-20 19:50:34 -03:00
Ryan X. Charles e4e45c5245 add Electrum to browser build and tests 2014-04-20 17:49:43 -03:00
olalonde 8e30c05e3e Electrum: removed dead code 2014-04-21 04:29:23 +08: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
Ryan X. Charles 0235324bed update version to 0.1.12
Major updates since last version:
* SOCKS5 support
* Move classes to ./lib
* Message signing/verification
* Many minor updates
2014-04-20 10:25:01 -03:00
Gordon Hall 8b17591661 fix example 2014-04-19 16:46:00 -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
Gordon Hall ba8542de62 add support for peer discovery to PeerManager and example of usage to examples/ 2014-04-19 11:33:26 -04:00
Ryan X. Charles 0b00200d8d Merge pull request #270 from ryanxcharles/feature/sign-message
WIP: add support for signing/verifying messages
2014-04-19 12:21:02 -03:00
Gordon Hall 6e8589e9b3 add extend dependency, use to extend defaults with config in PeerManager instead of overwiting all 2014-04-19 10:44:55 -04:00
Ryan X. Charles 55061776ac add Message to browser build and tests 2014-04-19 11:41:00 -03: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
Ryan X. Charles a0841638ee Merge pull request #268 from matiu/feature/addresss-fromscriptpubkey
add new constructor to Address (fromScriptPubKey)
2014-04-18 17:42:49 -03:00
Matias Alejo Garcia 5a1d572a8d add new constructor to Address (fromScriptPubKey) 2014-04-18 16:51:40 -03:00
Eric Martindale 9771d8138d Fix browser bundling with new architecture. 2014-04-17 18:05:43 -04: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
Ryan X. Charles 9f278cf848 fix "config" vs "options" vs "opts" bug 2014-04-17 15:17:33 -03:00
Ryan X. Charles 2f6c5ac181 Merge remote-tracking branch 'maraoz/refactor/PeerManager'
Conflicts:
	Connection.js
	PeerManager.js
2014-04-17 15:15:24 -03:00
Ryan X. Charles 026ebe38aa update tor example to have better error messages 2014-04-17 15:07:41 -03:00
Ryan X. Charles a1ef9c5220 make Connection test only run in node
...since it doesn't make sense for the browser
2014-04-17 15:07:19 -03:00
Ryan X. Charles da7fede2c0 Merge remote-tracking branch 'gordonwritescode/feature/tor' 2014-04-17 14:47:58 -03:00
Manuel Araoz fc1dcbd9d0 fix and improve SendTx example 2014-04-17 12:38:03 -03:00
Manuel Araoz 84ec7bae4c fix PeerManager example 2014-04-17 11:28:15 -03:00
Manuel Araoz d5153850ad make PeerManager and Connection instances configurable 2014-04-17 11:28:15 -03:00
Ryan X. Charles ec918558fe Merge remote-tracking branch 'cimm/fix-p2p-example-in-readme'
Conflicts:
	README.md
2014-04-17 10:43:37 -03:00
Ryan X. Charles 18d20fdda7 Merge pull request #262 from matiu/patch-1
Update TransactionBuilder name
2014-04-17 10:36:47 -03:00
Matias Alejo Garcia 2a7eba9f6b Update TransactionBuilder name 2014-04-17 09:56:58 -03:00
Simon Schoeters bc8a554536 Fix undefined `Unspent` variable in the P2P transaction readme example 2014-04-17 14:53:14 +02:00
Ryan X. Charles 9ec3af712a Merge pull request #259 from ryanxcharles/bug/fix-key-tests-for-browser
fix key tests for browser
2014-04-16 21:39:11 -03:00
Ryan X. Charles a749dc9d97 fix key tests for browser
Some tests that were intended for node only were running the browser. This
update removes those tests from the browser.
2014-04-16 21:37:46 -03:00
Eric Martindale 433e40f390 Merge branch 'master' of github.com:bitpay/bitcore into clean 2014-04-16 14:36:17 -04:00
Eric Martindale 198b811290 Add missing util/index.js 2014-04-16 14:35:07 -04:00
Ryan X. Charles 382730b6f1 Merge pull request #258 from matiu/bug/transactionBuilderSerialization
remove inputMap from serialization
2014-04-16 12:35:19 -03:00