Commit graph

290 commits

Author SHA1 Message Date
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
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