Commit graph

450 commits

Author SHA1 Message Date
Kyle Drake
e7de3540d1 Merge pull request #44 from justcoin/tidy-scripts
Tidy up script.js
2014-03-01 15:26:24 -08:00
Kyle Drake
f4b819e1af Merge pull request #43 from justcoin/remove-event-emitter
Remove event emitter
2014-03-01 15:21:51 -08:00
Kyle Drake
9f74a13864 Merge pull request #42 from justcoin/remove-txdb
Remove txdb.js
2014-03-01 15:21:41 -08:00
Kyle Drake
b9de999434 Merge pull request #28 from bitcoinjs/hd-testnet-support
HD testnet support (#27) + unify network names
2014-03-01 15:21:08 -08:00
Wei Lu
3bed73da65 Remove pailier.js #33, @abrkn 2014-03-02 02:24:28 +08:00
Wei Lu
3dfc3cd0e8 Remove exit node class #32, @abrkn 2014-03-02 02:24:28 +08:00
Andreas Brekken
4a4e75d007 Simplify Script constructor. close #41 2014-03-01 19:19:27 +01:00
Andreas Brekken
354d31a297 Clean up script.js formatting. ref #41 2014-03-01 19:12:50 +01:00
Andreas Brekken
23ccb97439 Remove EventEmitter.js. close #37 2014-03-01 19:06:30 +01:00
Andreas Brekken
51ad071446 Remove txdb. close #39 2014-03-01 19:04:43 +01:00
Wei Lu
e3559660e3 Merge pull request #35 from justcoin/convert-cleanup
Cleanup convert.js and add base64 test
2014-03-02 02:03:48 +08:00
Wei Lu
a253046c1b Merge pull request #34 from justcoin/readme
Rewrite README
2014-03-02 01:21:04 +08:00
Andreas Brekken
74ec735e0b Rewrite README 2014-03-01 18:14:08 +01:00
Andreas Brekken
81b44ef269 Add RFC test vectors for convert.bytesToBase64 2014-03-01 18:08:52 +01:00
Andreas Brekken
80f46d32b4 Remove String.lpad and cleanup 2014-03-01 18:08:47 +01:00
Wei Lu
65a13cbf41 pull out hdwallet network specific values 2014-02-28 18:07:31 +08:00
Wei Lu
2e97828379 throws exception if specified network is unknown
also move network type tests to hdwallet
2014-02-28 17:59:01 +08:00
Wei Lu
02b3a2b564 HDWallet prod -> mainnet 2014-02-28 17:28:03 +08:00
Wei Lu
eaf84c4283 move address versions into network
Also change address type name:
address_types -> addressVersion
p2sh_types -> p2shVersion
prod -> mainnet
2014-02-28 16:58:14 +08:00
Wei Lu
293c864f4f HD wallet versions: Bitcoin -> prod, BitcoinTest -> testnet 2014-02-28 14:27:31 +08:00
Wei Lu
c352868080 key version check always always relies on the network property
[#27]
2014-02-28 14:08:34 +08:00
Wei Lu
cc0a042f2f squashed commits from #27 2014-02-28 12:05:48 +08:00
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