Commit graph

279 commits

Author SHA1 Message Date
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
vbuterin
eceee254d2 Merge pull request #6 from caedesvvv/master
Bugfixes and tests for bip32
2013-12-12 10:43:00 -08:00
Pablo Martin
f9cbcbeb2b missing BIP32_PRIME definition in bip32 tests. 2013-12-12 17:46:39 +01: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
740a0fcb7d test vectors for bip32. 2013-12-12 11:14:27 +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
vbuterin
c019e41b7b Merge pull request #2 from shesek/master
Support Numbers in formatValue
2013-11-24 06:37:09 -08: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
a2ccfc66a0 compiled 2013-11-20 13:01:04 -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
vub
f53a4e3ffa Added sign with keys method to transaction and did lots of small cleanups 2013-10-21 14:00:31 -04:00
vub
917822541c Fixed serialization bug 2013-10-15 01:24:13 -04:00
vub
7bfd72c8c4 Replaced bigints with plain integers for transaction values 2013-10-14 07:41:21 -04:00
vub
c20dee5908 bytesToString bugfix 2013-10-11 13:19:44 -04:00
vub
4d9130c937 Added last commit to compile 2013-10-10 03:46:31 -04:00
vub
5377f0746f Hex private keys now work with Bitcoin.Key 2013-10-10 03:46:09 -04:00
vub
3d3421ce17 Removed browser-native option (gave me a bad result) 2013-10-08 15:28:48 -04:00
vub
65296f31f5 Fixed base64 encoding bug 2013-10-08 15:27:16 -04:00
vub
b8023389fd Reversed txhash 2013-10-08 13:41:20 -04:00
vub
7684c3f705 Let ECKeys be constructed from ECKeys 2013-10-08 07:52:48 -04:00
vub
117ecd1e29 Fixed bytesToNum bug 2013-10-08 07:44:03 -04:00
vub
8fb725f796 Made TransactionOut take numbers as input 2013-10-08 07:38:22 -04:00
vub
b41a4ecb91 Fixed address object creation bug 2013-10-08 07:13:05 -04:00
vub
2bfa783be2 Added hash flipping to serialization and deserialization 2013-10-08 07:05:21 -04:00
vub
50f6333b0e Changed i -> index in Transaction.prototype.sign 2013-10-08 06:48:31 -04:00
vub
038f8d5d99 Removed direct references to Bitcoin 2013-10-08 06:45:13 -04:00