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
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
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
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
Andreas Brekken
49513684a2
Remove unused imports from BIP32key
2014-01-10 16:08:27 +07:00
Andreas Brekken
4b59827135
Declare statics on BIP32key, not its prototype
2014-01-10 16:05:53 +07:00
Andreas Brekken
9cfeb1abcd
Trailing whitespace
2014-01-10 16:03:02 +07:00
Vitalik Buterin
ff3679a3fe
Added 'wif' as an export format
2014-01-08 18:51:33 -05:00
Vitalik Buterin
1f33b7a291
fixed getBitcoinAddress
2014-01-08 18:41:36 -05:00
Vitalik Buterin
f58543b81a
Made return work
2014-01-08 18:31:03 -05:00
Vitalik Buterin
7b19ba5811
Added pubkey import and bin export
2014-01-08 17:13:26 -05:00
Vitalik Buterin
6edea532ba
merge
2014-01-04 13:28:27 -05:00
Vitalik Buterin
30e8b572d6
Added deterministic signing and added a public key class. Note that getPub should now be replaced with getPub().export('bytes')
2014-01-04 13:26:03 -05:00
Vitalik Buterin
02a8db111b
Added version to getBitcoinAddress
2014-01-02 20:33:23 -05:00
vbuterin
2a16cd9391
Merge pull request #4 from shesek/fix-compressed-signature
...
Fix signing with compressed keys
2013-12-12 10:43:15 -08:00
Pablo Martin
14803d0538
fix check for public key when making a private derivation.
2013-12-12 17:25:29 +01:00
Pablo Martin
26e5914be2
fix in pubkey deserialization code.
2013-12-12 17:19:31 +01:00
Pablo Martin
9fd46c22fe
missing modulo operation.
2013-12-12 11:13:35 +01:00
vub
4abcdbd7af
Created mkSendToOutputs method
2013-12-02 21:10:14 -05:00
vub
b3e7caada7
Removed useless functions from util
2013-12-01 22:27:13 -05:00
vub
0ef704574d
Merge branch 'master' of github.com:vbuterin/bitcoinjs-lib
2013-12-01 22:24:51 -05:00
vub
1780f4a98f
Updated deterministic wallet; theoretically works now if properly combined with server
2013-12-01 21:52:07 -05:00
Nadav Ivgi
0a075573ed
Fix signing with compressed keys
...
calcPubkeyRecoveryParam always assumed a non-compressed key, and was comparing
the address generated from a non-compressed public key against the original
address generated from the compressed public key.
This commit fixes it by passing the entire pubkey object, and configuring the
generated address to use the same compressed setting as the original one.
2013-11-28 21:04:32 +02:00
Nadav Ivgi
df88e93849
Support Numbers in formatValue
2013-11-24 05:25:08 +02:00
vub
397de49089
Made it process multisig addresses correctly
2013-11-20 16:43:14 -05:00
vub
93e50e9433
Started work on wallet, and added hex serialization
2013-11-20 13:00:49 -05:00
vub
5e2a9f0c26
Added BIP32 support
2013-11-18 23:47:56 -05:00
vub
aa22b9d89e
Added a new way of adding an output to a transaction
2013-11-02 06:51:27 -04:00
vub
a34bc9e2ea
Many small improvements
2013-11-02 06:20:09 -04:00
vub
45ec63d2f1
Whoops...
2013-10-21 15:33:35 -04:00
vub
335d0dcd96
bugfix
2013-10-21 15:27:50 -04:00
vub
274112005f
Beefed up TransactionIn constructor
2013-10-21 14:07:38 -04:00