Commit Graph

249 Commits

Author SHA1 Message Date
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
ThomasV 177c43acbe fix is_complete in tx.sign() 2013-08-16 12:52:39 +02:00
ThomasV c019428b02 fix for non-p2sh addresses 2013-08-16 12:27:26 +02:00
ThomasV 419c778fa3 fix tx signing 2013-08-16 12:17:29 +02:00
ThomasV 7dc69bbc56 create_accounts for 2of3 2013-08-15 17:23:55 +02:00
ThomasV c9a473c225 2of3 accounts 2013-08-15 15:27:03 +02:00
ThomasV 19553a056d bip32 2013-08-07 22:54:21 +02:00
thomasv 9ce90932ba update BIP32 to its final spec 2013-07-19 16:17:11 +02:00
Marku 253d1d50c3 fix BIP32Sequence::get_pubkey not using mpk parameter 2013-06-02 19:26:45 -03:00
thomasv e89331d138 handle multiple accounts with separation 2013-04-06 18:44:31 +02:00
ecdsa fc7122008a implement MIN_RELAY_TX_FEE 2013-03-24 11:25:17 +01:00
thomasv a5168cc09f more accurate computation of transaction fees. 2013-03-23 12:36:37 +01:00
ecdsa f0671a9ada fix tx.get_value() 2013-03-16 22:04:28 +01:00
ecdsa f07591eb5b Revert "fix tx.get_value bug with pruned transactions"
This reverts commit 8a74be39de.
2013-03-16 21:38:10 +01:00
ecdsa 8a74be39de fix tx.get_value bug with pruned transactions 2013-03-16 21:22:03 +01:00
ecdsa b955c9ffa1 more bip32 related fixes 2013-03-13 18:51:05 +01:00
ecdsa 2f31ca779d fix bip32 get_private_key 2013-03-13 18:20:05 +01:00
ecdsa c19e0f0b3f bip32 fixes 2013-03-13 18:03:41 +01:00
ecdsa 1d3be5fb0b fix: number of arguments 2013-03-13 17:52:54 +01:00
thomasv 10bfcb918b replace 'ElectrumKeyID' with more general 'KeyID' field in transactions 2013-03-12 17:54:26 +01:00
thomasv c9302bcd56 add 2 of 3 sequences 2013-03-11 19:04:46 +01:00
ecdsa 4019102264 rename sequence, fix bip32 2013-03-04 07:43:01 +01:00
thomasv 0f22b5e566 fix: missing parameter 2013-03-03 11:00:27 +01:00
thomasv 5846f725d6 simplify Sequence class 2013-03-03 10:56:48 +01:00
thomasv 60cefeafca method get_private_keys for sequence 2013-03-03 10:43:08 +01:00
thomasv 27b8b21f9e mangle (for_change, index) everywhere 2013-03-03 10:24:30 +01:00
ecdsa 736e1253f2 add class BIP32Sequence 2013-03-02 23:31:40 +01:00
thomasv e84d087a64 accounts 2013-03-02 11:23:08 +01:00
thomasv f72c8ee5d2 move is_valid from wallet class to bitcoin.py 2013-03-01 14:27:56 +01:00
thomasv 95dc97b39b rename 'addresses' command as 'listadresses'. use json syntax. 2013-03-01 11:21:10 +01:00
thomasv ea96b79997 use json format 2013-02-27 18:11:45 +01:00
thomasv 9afe0d8aaf fix: input_info missing in transaction 2013-02-26 18:18:36 +01:00
thomasv 2e9c2c1f96 return python objects from commands, and display them as json 2013-02-26 17:57:48 +01:00
thomasv 96d459ab88 use dumpprivkeys to efficiently dump private keys 2013-02-26 16:03:04 +01:00
thomasv 42a10164ea make most commands available in the console 2013-02-26 13:56:48 +01:00
thomasv 4916aefe98 documentation for offline wallets, release notes 2013-02-25 10:14:20 +01:00
thomasv 8b8e2fd67b rename inpust_info -> input_info 2013-02-25 09:34:47 +01:00
ThomasV b8a71ff00c offline wallets sign transactions using KeyID 2013-02-25 09:05:45 +01:00
thomasv 64ad3fc28c use serialized format in signtx 2013-02-24 21:31:11 +01:00
thomasv 5da3cab24b move seed generation function to bitcoin.py 2013-02-24 10:16:14 +01:00
ThomasV a0455725bd fix is_complete: count number of valid signatures 2013-02-23 17:36:32 +01:00
ThomasV 8cf97fdb52 minor fix 2013-02-23 17:20:22 +01:00
ThomasV 811d05a1c2 move methods into Transaction class 2013-02-23 17:18:22 +01:00
ThomasV 641177404d remove p2sh test; not needed anymore 2013-02-23 16:42:48 +01:00
thomasv 04a5739979 simplification: tx_for_sig 2013-02-23 15:15:16 +01:00
thomasv bd8dbbf79b check if multisig transaction is complete, add is_complete to json output 2013-02-23 15:11:41 +01:00
thomasv a56220f050 multisig: raise exception if no signature can be added 2013-02-23 14:42:31 +01:00
thomasv 03e2160503 create separate class for deterministic key generation. add pubkeys to validateaddress 2013-02-23 11:35:46 +01:00
thomasv 94fbad2965 remove debugging messages 2013-02-23 10:00:33 +01:00
thomasv f0b255acba store transactions in serialized form 2013-02-22 19:22:22 +01:00
thomasv 5d6496f1f9 move crypto from wallet class to bitcoin.py 2013-02-22 16:17:46 +01:00
thomasv 40b397dc0f signrawtransaction: parse redeemScript 2013-02-22 13:40:42 +01:00
thomasv c400583443 bugfix: for_sig != -1 2013-02-21 16:51:02 +01:00
thomasv 0863f09a06 add dumpprivkey command; finalize private_keys parameter for signrawtransaction 2013-02-21 16:26:26 +01:00
thomasv aa166dd9f0 fix p2sh test 2013-02-21 15:36:38 +01:00
thomasv f4df5ed9c7 fix the p2sh test 2013-02-21 15:35:20 +01:00
thomasv ea7718fc59 create Transaction class 2013-02-21 14:18:12 +01:00
thomasv 972ba397d1 support for multisig functions 2013-02-20 13:10:32 +01:00
thomasv e1504ba80b basic functions and tests for multisig transactions and bip 32 2013-01-30 20:13:31 +01:00
thomasv e7e169888d support for compressed keys 2013-01-05 11:50:49 +01:00
ThomasV faa002f53c fix: below or equal in var_int encoding 2012-10-26 22:51:33 +02:00
ThomasV 4038c0273f fix: var_int encoding 2012-10-26 22:49:06 +02:00
ThomasV b018e0ae53 simple payment verification: check targets, use block headers file. 2012-10-24 21:45:45 +02:00
thomasv 5717b43661 separate bitcoin related functions from wallet.py 2012-10-19 14:55:01 +02:00