Commit Graph

417 Commits

Author SHA1 Message Date
thomasv c8f93879b6 fix 2013-09-15 15:16:47 +02:00
thomasv 75f7050edc subscribe to imported address 2013-09-15 15:06:42 +02:00
thomasv 58ab37d056 send from domain in mktx (fix #294) 2013-09-15 14:51:46 +02:00
ThomasV 5a121526e4 fix 2013-09-13 22:13:17 +02:00
ThomasV 432fae996a fix 2013-09-13 06:43:22 +02:00
thomasv 6b6c508976 replace wallet.interface everywhere 2013-09-12 14:58:42 +02:00
ThomasV 907dca6eb9 simplify interface: use callbacks 2013-09-12 08:41:27 +02:00
thomasv 93c7aee2c8 cleanup: next_addresses 2013-09-11 17:42:32 +02:00
ThomasV 0099b2a560 make gtk gui re-work 2013-09-11 12:05:28 +02:00
thomasv 79645e9b37 fix: wallet.addresses 2013-09-10 19:41:56 +02:00
thomasv 828d8fd3ed fix: sign_message 2013-09-10 16:18:34 +02:00
thomasv 74735bd64e minor fixes 2013-09-10 16:13:30 +02:00
thomasv 620f9f68d4 minor fixes for wallet creation 2013-09-10 14:20:44 +02:00
thomasv 047e4b3478 move callbacks to the network class 2013-09-09 13:33:25 +02:00
ThomasV cd6832df2e set_label 2013-09-08 20:10:43 +02:00
ThomasV 328315f94b separate blockchain and network 2013-09-08 17:23:01 +02:00
thomasv 90767c4b47 fix 2013-09-04 19:37:56 +02:00
thomasv 21bff48630 perform check_new_tx inside add_transaction 2013-09-04 18:58:53 +02:00
thomasv 8ab6529298 fix: first_addresses 2013-09-04 17:46:13 +02:00
thomasv afac84e231 move transaction code and fix issue #280 2013-09-04 16:46:27 +02:00
thomasv 903e70566c wallet.make_unsigned_transaction() 2013-09-04 10:33:14 +02:00
ThomasV 6696e9643c fix restore from mpk 2013-09-03 18:35:46 +02:00
thomasv 3e14b7dd72 improved install wizard 2013-09-03 14:32:56 +02:00
thomasv 9b986f8cb6 restore: try old wallet first 2013-09-03 10:58:07 +02:00
thomasv 3ecd81c94a account names 2013-09-03 10:09:13 +02:00
thomasv a417816e69 disable 'new account' in old wallets 2013-09-03 09:52:55 +02:00
ThomasV 1650eefdd3 synchronizer: wait for interface 2013-09-02 20:52:14 +02:00
ThomasV a16b0f4630 don't use user_dir in storage 2013-09-02 20:17:04 +02:00
thomasv 8774f1a193 fix: synchronize generated duplicated addresses 2013-09-02 13:41:31 +02:00
ThomasV fe538cc310 fix get_private_key for old addresses 2013-09-02 10:41:50 +02:00
ThomasV e9b103b283 fix regressions in tx verifier 2013-09-02 08:50:39 +02:00
ThomasV 7b4046cf68 fee belongs in wallet storage 2013-09-01 23:09:27 +02:00
ThomasV 046ec58d24 start wallet threads from wallet class 2013-09-01 18:44:19 +02:00
ThomasV d99a381d83 separation between wallet storage and config 2013-09-01 15:26:52 +02:00
ThomasV b983d12929 restore old accounts from seed 2013-08-31 15:02:20 +02:00
ThomasV 10c805b3e7 restore bip32 accounts 2013-08-29 16:07:55 +02:00
ThomasV 9d00a072fe create new accounts through wallet.synchronize() 2013-08-29 15:08:03 +02:00
ThomasV fd902de28a delete unneeded test 2013-08-17 23:51:46 +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 e995f7abfd save account name as label 2013-08-17 11:46:19 +02:00
ThomasV 2abf1b93cb cleanup 2013-08-17 11:11:21 +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 0424d5eb85 update signrawtransaction 2013-08-17 09:53:46 +02:00
ThomasV 70445da940 wallet.num_accounts and account_id method 2013-08-16 13:26:48 +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 e6208e2747 fix create_new_account 2013-08-07 22:59:07 +02:00
ThomasV 1ff2f1b308 hex encode the output of account.get_pubkey() 2013-08-07 22:59:07 +02:00
ThomasV 58538ba825 encryption of bip32 master private keys 2013-08-07 22:59:07 +02:00
ThomasV a3de537d9b make wallet.get_private_keys more general 2013-08-07 22:59:07 +02:00
thomasv 6274cccb9f get_new_address -> get_address 2013-08-07 22:54:21 +02:00
ThomasV 19553a056d bip32 2013-08-07 22:54:21 +02:00
Maran 06bfb60308 Reworked notification flow and combined multiple transactions into one notification 2013-07-16 12:15:23 +02:00
Maran 468c76b66e Added notifications when receiving a new transaction 2013-07-16 12:15:23 +02:00
Maran e319f5e0ae Save contacts to the proper key in the wallet. fixes #234 2013-06-17 22:09:28 +02:00
ecdsa 3796fceb28 bugfix: referenced transactions 2013-06-01 19:26:07 +02:00
thomasv 4a60db9733 new methods: init_menubar and load_wallet 2013-06-01 11:59:54 +02:00
thomasv 5a015bc290 increase default fee to 0.0005 btc/kb 2013-05-10 14:36:38 +02:00
ecdsa c81d565665 add error message for import_key failure 2013-05-05 17:38:59 +02:00
ecdsa 0f661aa3a1 minor bugfix 2013-05-02 10:56:28 +02:00
ecdsa b2c23f9ac8 deprecate wallet.save() and 'eval' command 2013-05-02 10:54:48 +02:00
ecdsa 6be62e44de wallet.delete_contact method 2013-05-02 10:19:18 +02:00
ecdsa 8104a47a3e wallet.add_contact method 2013-05-02 10:10:22 +02:00
ecdsa 19d19d9a00 wallet set_fee method 2013-05-02 10:00:52 +02:00
ecdsa fe405c50d0 delete_imported_key method 2013-05-02 09:54:43 +02:00
ecdsa 97e849a248 move verify_message to wallet 2013-05-01 10:40:44 +02:00
ecdsa b4f353291a fix update_password: save use_encryption after seed 2013-04-29 10:30:29 +02:00
ecdsa c95c80163d distinction between unconfirmed and unverified transactions 2013-04-27 17:48:27 +02:00
thomasv 6585da69fe message about frozen funds 2013-04-12 14:29:11 +02:00
thomasv 98f7d36313 ask users to enter their seed on create 2013-04-09 18:08:14 +02:00
ecdsa cc8c7c780d fix: don't raise exception in get_address_index 2013-04-08 17:02:28 +02:00
ecdsa 6609624fe0 mktx: send change to one of the accounts involved in the tx 2013-04-08 16:18:40 +02:00
ecdsa a1f8454b14 fix mktx 2013-04-07 20:25:01 +02:00
thomasv e89331d138 handle multiple accounts with separation 2013-04-06 18:44:31 +02:00
thomasv ec901f54a4 keyboard shortcut to send all the coins in a wallet, with fee 2013-04-05 18:03:52 +02:00
ecdsa 84101a446b use ssl as default protocol 2013-04-05 06:01:18 +02:00
ecdsa a54c5e88c6 fix int rounding 2013-03-24 12:44:17 +01:00
ecdsa 01d43719a6 simplify loops 2013-03-24 12:20:13 +01:00
ecdsa 7c4fa714d2 set default fee to 200 uBTC 2013-03-24 11:31:43 +01:00
ecdsa fc7122008a implement MIN_RELAY_TX_FEE 2013-03-24 11:25:17 +01:00
ecdsa 678b00dbec prune unverified transactinos during upgrade 2013-03-24 09:52:36 +01:00
ecdsa 3ad453fafb rename fee to fee_per_kb 2013-03-24 09:24:45 +01:00
ecdsa 29b9ffac4a transaction lock 2013-03-24 07:34:28 +01:00
ecdsa 3dc9677822 remove receipt code 2013-03-23 19:17:11 +01:00
ecdsa cac030e2ee fix transaction order in history 2013-03-23 18:10:09 +01:00
thomasv a5168cc09f more accurate computation of transaction fees. 2013-03-23 12:36:37 +01:00
ecdsa 7e0d4a2851 fix is_change 2013-03-17 21:13:10 +01:00
ecdsa 8a720b1629 do the banner request in interface, not in wallet 2013-03-17 10:54:21 +01:00
Maran a6ae46631f Fix export master public key 2013-03-16 23:38:49 +01:00
ecdsa d6952228be define wallet.get_num_tx() 2013-03-16 18:17:50 +01:00
ecdsa fefb884794 fix wallet.is_change() method 2013-03-16 17:51:58 +01:00
thomasv 93b98e1176 move http aliases to separate plugin 2013-03-15 15:48:28 +01:00
thomasv 8c71c54487 add label to internal transactions 2013-03-14 13:08:50 +01:00
thomasv 3b80ef7c60 rely only on the verifier to get the height of transactions 2013-03-14 12:22:06 +01:00
ecdsa 11552c2f23 use an abstract class SequenceClass 2013-03-13 22:05:02 +01:00
thomasv c9a7c58323 print created address in terminal, as in previous versions 2013-03-13 15:33:50 +01:00
ecdsa 12d65f5e52 better synchronize method 2013-03-12 23:10:43 +01:00
ecdsa 5e7e002bd8 remove internal check that was too strong 2013-03-12 21:55:56 +01:00
ecdsa 0569cc283a fix exception 2013-03-12 20:59:37 +01:00
thomasv 10bfcb918b replace 'ElectrumKeyID' with more general 'KeyID' field in transactions 2013-03-12 17:54:26 +01:00
thomasv 8b08eb541a do not request banner twice 2013-03-12 17:34:06 +01:00
ecdsa 32db2aecc2 check if the wallet has a seed before signing transaction 2013-03-07 17:15:33 +01:00
ecdsa 3382354442 fix: restore wallet from master public key 2013-03-07 16:41:43 +01:00
ecdsa e06e511e39 revert own commit 2013-03-05 23:10:18 +01:00
ecdsa 811f1ee848 do not run synchronize on deseeded wallets 2013-03-05 14:57:30 +01:00
ecdsa df3187d9a9 fix 2013-03-04 10:49:46 +01:00
ecdsa 4019102264 rename sequence, fix bip32 2013-03-04 07:43:01 +01:00
ecdsa f97fe02e3a fix: tx outputs 2013-03-03 19:29:03 +01:00
thomasv 383a84161e fix 2013-03-03 16:49:42 +01:00
thomasv 190f733de2 restrict plugins to the gui 2013-03-03 16:01:47 +01:00
thomasv cd9f366735 move point of sale mode into plugins 2013-03-03 13:50:08 +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 8df60928ea mktx fix: add address for imported keys 2013-03-02 23:49:32 +01:00
ecdsa b95911e2d7 check if address is imported before index lookup 2013-03-02 23:35:43 +01:00
ecdsa 736e1253f2 add class BIP32Sequence 2013-03-02 23:31:40 +01:00
thomasv ada36b2554 plugin handler 2013-03-02 16:29:14 +01:00
thomasv d2aefb387b show the balance of each account 2013-03-02 14:20:21 +01:00
thomasv 08a9de688a fix: save master public key on wallet creation 2013-03-02 13:45:30 +01:00
thomasv 97e03cb738 replace wallet.all_addresses() with wallet.addresses(True) 2013-03-02 11:40:17 +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 5ed63be948 fix: seed, password 2013-02-27 16:15:56 +01:00
thomasv 253e0bc58e move method signrawtransaction to wallet class 2013-02-27 15:49:26 +01:00
thomasv d5ba4398ee update tx label in gui 2013-02-27 12:51:49 +01:00
thomasv e4dc3f3752 use history to determine if the wallet has been used 2013-02-27 10:13:03 +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 fd8687ce18 fix 2013-02-25 19:04:41 +01:00
thomasv 8f090e1d01 fix 2013-02-25 18:50:12 +01:00
thomasv 1bba3ffbd7 fix: addressbook 2013-02-25 18:17:02 +01:00
thomasv 41a2fa427f fix: send_tx 2013-02-25 18:15:14 +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 bd717897e0 fix: set tx_height when it is not None 2013-02-24 09:39:43 +01:00
thomasv 0c5f42cc29 fix history sorting function 2013-02-23 13:29:03 +01:00
thomasv 2642fa0f7d fix listunspent, add method wallet.get_unspent_coins 2013-02-23 13:18:15 +01:00
thomasv 780c5d01d5 fix get_tx_details 2013-02-23 12:11:32 +01:00
thomasv 9cfb73365b fix: use deserialized tx outputs in choose_tx_inputs 2013-02-23 12:07:46 +01:00
thomasv 03d36d91e2 remove unused method 2013-02-23 11:50:09 +01:00
thomasv 03e2160503 create separate class for deterministic key generation. add pubkeys to validateaddress 2013-02-23 11:35:46 +01:00
thomasv f0b255acba store transactions in serialized form 2013-02-22 19:22:22 +01:00
thomasv 67283f0b1b fix verify_message calls 2013-02-22 17:50:56 +01:00
thomasv 76439beec5 simplify get_private_key, use base58 2013-02-22 17:27:19 +01:00
thomasv 5d6496f1f9 move crypto from wallet class to bitcoin.py 2013-02-22 16:17:46 +01:00