Commit graph

1478 commits

Author SHA1 Message Date
Wei Lu
09ee406106 Revert "Merge pull request #27 from xnova/master"
due to broken tests, moved the changes to branch hd-testnet-support

This reverts commit a4ba59e9ba, reversing
changes made to 36d3d6ebaa.
2014-02-28 11:52:19 +08:00
Wei Lu
a4ba59e9ba Merge pull request #27 from xnova/master
Additional testnet fixes with HDWallet

[WIP]
2014-02-28 11:44:13 +08:00
xnova
2ca02c47ce added testcases for new logic 2014-02-27 12:25:28 -05:00
xnova
0310a890ba didn't mean to remove getPub() 2014-02-27 03:48:20 -05:00
xnova
d447e69279 more ECKey version specification in HDWallet 2014-02-27 03:46:28 -05:00
xnova
ff70f661f7 HDWallet passes along network type when it creates the master private key 2014-02-27 01:18:56 -05:00
Wei Lu
36d3d6ebaa use options in wallet contructor & add tests
[#26]
2014-02-27 11:55:35 +08:00
Wei Lu
baaddc8930 Merge pull request #26 from xnova/master
Address some shortcomings with wallet.js
2014-02-27 11:19:03 +08:00
xnova
933474a973 added ability to specify child key derivation method to the Wallet constructor 2014-02-26 20:13:51 -05:00
xnova
49c2fc06b5 allow Wallet to work with testnet 2014-02-26 19:56:37 -05:00
Wei Lu
102e2b3d48 Wallet.generateAddress uses the new HD wallet method 2014-02-27 02:12:55 +08:00
Kyle Drake
d150b7acc6 Merge branch 'MichaelGooden/feature/testnet-support'
Conflicts:
	bitcoinjs-min.js
2014-02-26 09:21:21 -08:00
Michael Gooden
3b8d53b7d1
Update compiled file.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
2014-02-24 20:01:28 +02:00
Michael Gooden
b8215dea60
Add testnet support to Address and ECKey, more tests.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
2014-02-24 18:31:18 +02:00
Kyle Drake
6fe8d6fa93
remove and ignore bitcoinjs-min.js
Browserify compiles differently for different machines, and I'm super
uncomfortable not being able to audit minified code easily. So I'm removing and
ignoring this file, it should be compiled manually.
2014-02-23 19:10:24 -08:00
Kyle Drake
932b6bce70 Merge pull request #1 from MichaelGooden/hotfix/compressed-priv-keys
Fix parsing of base58 compressed private keys. Add base64 parse support.
2014-02-23 19:04:31 -08:00
Michael Gooden
b3e3f806cb
Fix parsing of base58 compressed private keys. Add base64 parse support.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
2014-02-20 18:01:21 +02:00
Kyle Drake
cb3653105a Merge vbuterin/master 2014-02-02 11:33:46 -08:00
Kyle Drake
fcf3fde089 Merge justcoin/master 2014-02-02 11:03:18 -08:00
Vitalik Buterin
c8732e5d38 Fixed ECKey constructor 2014-01-22 08:46:46 -05:00
Andreas Brekken
a68b0910af Fix wrong bitcoin address from priv key. 2014-01-22 16:29:09 +07:00
Andreas Brekken
4edbaee96a Fix wallet.js so it does not crash with HDWallet. 2014-01-16 16:06:58 +07:00
Andreas Brekken
e3cf19343d Replace BIP32key with HDWallet in index.js 2014-01-16 16:05:11 +07:00
Andreas Brekken
966d2ee90d Remove obsolete bip32.js 2014-01-16 14:03:34 +07:00
Andreas Brekken
5f9e2624f8 Rewrite HD Wallet (BIP0032) with all test vectors 2014-01-16 14:03:09 +07:00
Andreas Brekken
8ccb8ad70a Add toBase58, toWif to ECPubKey 2014-01-16 14:02:21 +07:00
Andreas Brekken
ecbb6f81ee Allow specifying whether to compress key in ECKey.toBytes 2014-01-16 14:01:57 +07:00
Andreas Brekken
6cc7a23bdd Begin work to properly cover the test vectors from bip32 docs 2014-01-11 16:31:48 +07:00
Andreas Brekken
1cb41fdaba Add BIP32_PRIME constant, 0x80000000 2014-01-11 16:31:09 +07:00
Andreas Brekken
56bb0a0c6d Improve naming of ECKey/ECPubKey formatters. close vbuterin/bitcoinjs-lib#13 2014-01-11 15:52:29 +07:00
Andreas Brekken
e08533ff7a Document serialization of BIP32key 2014-01-11 15:50:25 +07:00
Andreas Brekken
29ebd4edc5 Fix ECKey.verify 2014-01-11 14:26:12 +07:00
Andreas Brekken
00e9842bc7 Merge branch 'travis' 2014-01-11 14:00:39 +07:00
Andreas Brekken
ad91f8c948 Add travis 2014-01-11 13:58:14 +07:00
Andreas Brekken
f591cc0111 Reformat all tests for more modern mocha syntax (describe, it) 2014-01-11 13:57:43 +07:00
Andreas Brekken
61992462e3 Rewrite util.js for readability 2014-01-11 13:57:05 +07:00
Andreas Brekken
3ef468ec8b Remove call to non-existant method ECPubKey.setCompressed 2014-01-11 13:56:48 +07:00
Andreas Brekken
bc3136802c Minor formatting 2014-01-11 13:56:23 +07:00
Andreas Brekken
20aa4a0e8a Fix compressed check to avoid setting it to undefined 2014-01-11 13:55:53 +07:00
Andreas Brekken
bf6254d3e2 Trailing whitespace 2014-01-11 13:55:21 +07:00
Andreas Brekken
d6290ef5df Rename test files to match what they test 2014-01-11 13:54:23 +07:00
Vitalik Buterin
36ce412bcb Merge branch 'master' of github.com:vbuterin/bitcoinjs-lib 2014-01-10 15:18:09 -05:00
Vitalik Buterin
7919c8cfc5 Added auto-instantiators to classes 2014-01-10 15:17:53 -05:00
vbuterin
7b86428354 Merge pull request #8 from justcoin/master
Fixed multiple issues with basic usage of BIP32key and Transaction construction (node.js)
2014-01-10 03:54:40 -08:00
Andreas Brekken
4ffabf05af Fix bitcoinAddress to use getPub().key.export('bytes') 2014-01-10 17:16:08 +07:00
Andreas Brekken
c3fbd63c84 Fix bad Bitcoin.Crypto reference in ecdsa.js 2014-01-10 16:47:35 +07:00
Andreas Brekken
be7406d9a9 Add bitcoinAddress convenience func to BIP32key 2014-01-10 16:47:14 +07:00
Andreas Brekken
3e6796a660 Fix references to Bitcoin.BigInteger 2014-01-10 16:16:24 +07:00
Andreas Brekken
26ac76d42c Fix bad references to Bitcoin.Crypto 2014-01-10 16:10:39 +07:00
Andreas Brekken
d39567c589 Clean up formatting of BIP32key (jshint) 2014-01-10 16:09:59 +07:00