Commit Graph

113 Commits

Author SHA1 Message Date
Chris Glass 9baaaef746 Made use of fewer constants 2014-06-27 16:15:04 +02:00
Chris Glass 0ac02bf040 Made all bip32 primitives testnet compatible. 2014-06-27 15:44:43 +02:00
ThomasV 54973062bd restore from xprv 2014-06-25 16:45:55 +02:00
Chris Glass 413945435a Added private/public key tests
Including converting from a private key to a public key, and
deriving the primary address from a private key.
2014-06-25 08:27:45 +02:00
Chris Glass 73c33820db Moved bitcoin.py tests to their own file
This allows standard python testing tools to discover and run them.
2014-06-25 07:35:49 +02:00
ThomasV 31226b8a34 add pbkdf2 dependency 2014-06-05 16:19:13 +02:00
ThomasV 1045b537aa unit test for aes 2014-06-03 13:15:41 +02:00
ThomasV 30b608c6fb move tests to unittest format 2014-06-03 09:34:59 +02:00
ThomasV 650ef92c5f class MyVerifyingKey, with constructor to submit to python-ecdsa 2014-05-30 21:24:23 +02:00
ThomasV 501bb92584 Remove Bitcoin address from serialized encryption format. Enable encrypt commands, fix ser_to_point() and add some tests 2014-05-28 12:20:04 +02:00
Lucas Ryan a3d02525e2 in ecies encryption, mac headers+ciphertext instead of just ciphertext 2014-05-27 11:37:37 -07:00
Lucas Ryan 93f61f1717 replaced jackjack encryption with corrected ecies implementation 2014-05-27 10:55:51 -07:00
ThomasV c76da17262 utf8 encoding for seed encryption 2014-05-04 20:31:05 +02:00
ThomasV c9fc6275ab move private key methods from wallet to accounts 2014-05-04 19:43:15 +02:00
ThomasV 84052bcdb2 fix bug with has_seed 2014-04-30 15:44:46 +02:00
ThomasV 582fb76e9e new class: Imported_Wallet 2014-04-29 21:04:16 +02:00
ThomasV 23df7394df is_new_seed: encode utf8 2014-04-29 19:30:31 +02:00
ThomasV 41f9da1559 fix #655 2014-04-20 10:42:13 +02:00
Drak d082ed3cb5 Lower minimum tx fee in line with Bitcoin 0.9
Since Bitcoin Core 0.9 the minimum relay tx fee was lowered to `0.00001`.
2014-04-14 21:20:42 +01:00
ThomasV c24482c21a check seed in gui. fixes #622 2014-04-05 10:34:51 +02:00
ThomasV 9fccf9c287 helper functions for bip32 derivations 2014-04-01 19:10:13 +02:00
ThomasV 9663600d5d update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:16:15 +02:00
ThomasV 91ba04c4d7 update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:12:29 +02:00
ThomasV 328432f5f4 update bip32 derivations, using xpriv and xpub serialization format 2014-03-31 12:00:57 +02:00
ThomasV cef7bbf294 add get_public_key method to EC_KEY class 2014-03-04 16:33:25 +01:00
ThomasV da6f292dd5 encrypt/decrypt messages in gui 2014-03-03 10:39:10 +01:00
ThomasV fc9d2b6ee9 remove redundant function 2014-02-03 13:50:01 +01:00
ThomasV c90bc6aa26 bip39 2014-02-01 11:23:29 +01:00
ThomasV 631c967df9 new commands: encrypt and decrypt messages 2014-01-30 14:43:46 +01:00
ThomasV ae3cb372c8 add ECDSA asymmetric encryption 2014-01-30 11:42:55 +01:00
ThomasV 9218175301 enable bip32 2014-01-29 17:12:08 +01:00
William Yager 4e1d6da805 Cleaned up/commented BIP 0032 key derivation. 2014-01-04 15:24:38 -06:00
Juho Östman 27b08a8ea2 Allow password to have non-ASCII characters 2013-11-18 23:31:45 +02:00
Bryan Stitt 225d8b83a3 don't use bare except 2013-11-09 21:23:57 -08:00
Bryan Stitt f0eb0eccde replace BaseException with Exception 2013-11-09 20:21:02 -08:00
ThomasV 31aaae8ed2 seed v6 2013-10-26 16:40:05 +02:00
thomasv 37888fc6a5 upgrade message for ecdsa 2013-10-07 11:39:19 +02:00
ThomasV f14d055ad8 choose_tx_from account, and use deterministic signatures (issue #323) 2013-10-05 21:15:48 +02:00
thomasv b08bc514db sign/verify: do unicode conversion only for messages sent by the gui 2013-09-15 17:49:23 +02:00
thomasv 2c6534c1ba sign unicode messages 2013-09-15 17:33:27 +02:00
Fredrick 16902cc3ca Bugfix: Allow signing messages over 252 characters 2013-09-10 17:31:01 -04:00
thomasv 5514d3bd74 fix address_from_perivate_key 2013-09-09 14:12:37 +02:00
thomasv afac84e231 move transaction code and fix issue #280 2013-09-04 16:46:27 +02:00
ThomasV 0cef6c2454 fix bug with signatures 2013-08-17 23:01:16 +02:00
ThomasV 81b84fd5ef fixes for signrawtransaction 2013-08-17 18:40:59 +02:00
ThomasV 6bb8af5822 include master public key in bip32 metadata 2013-08-17 17:08:43 +02:00
ThomasV 799c6571f5 simplify: public_key_from_private_key 2013-08-17 11:09:19 +02:00
ThomasV 4869d05841 don't pass addresses to tx.sign(), pass keypairs instead 2013-08-17 10:56:23 +02:00
ThomasV e91e02f2ce simplify tx.sign() 2013-08-16 22:05:31 +02:00
ThomasV 70445da940 wallet.num_accounts and account_id method 2013-08-16 13:26:48 +02:00