Commit Graph

324 Commits

Author SHA1 Message Date
Maran 6938636ba2 Changed the way the portable flag uses without supplying a -w argument 2013-04-11 22:08:32 +02:00
thomasv d09d4e4055 call save_seed only in main script 2013-04-10 12:56:07 +02:00
thomasv f32f85fb78 better seed dialog + fix bug with restore 2013-04-10 11:53:13 +02:00
thomasv 98f7d36313 ask users to enter their seed on create 2013-04-09 18:08:14 +02:00
thomasv e89331d138 handle multiple accounts with separation 2013-04-06 18:44:31 +02:00
thomasv a5168cc09f more accurate computation of transaction fees. 2013-03-23 12:36:37 +01:00
thomasv 45c0880195 global switch use_local_modules 2013-03-15 13:00:59 +01:00
thomasv e3677eb0a0 simplification 2013-03-15 10:49:08 +01:00
ecdsa 1d3be5fb0b fix: number of arguments 2013-03-13 17:52:54 +01:00
thomasv 1f1693d29b bug fix: init_seed 2013-03-13 15:31:24 +01:00
thomasv a4f977190e do not call exit() in the interface module 2013-03-13 15:26:29 +01:00
ecdsa a1be16105b start verifier right after initialization 2013-03-12 23:53:56 +01:00
thomasv f0c81abafb always enable auto_cycle for android 2013-03-12 14:12:27 +01:00
thomasv b1a727ef49 updates fro android 2013-03-12 13:48:16 +01:00
ecdsa 837150132d optional wait parameter for interface 2013-03-10 10:24:42 +01:00
ecdsa 49a4c6c92a do not wait for interface when launching gui 2013-03-10 10:15:09 +01:00
ecdsa 22ce3def72 similar fix for text mode 2013-03-07 16:45:55 +01:00
ecdsa 3382354442 fix: restore wallet from master public key 2013-03-07 16:41:43 +01:00
ecdsa e16451556e make help() available in console 2013-03-04 17:36:49 +01:00
thomasv 190f733de2 restrict plugins to the gui 2013-03-03 16:01:47 +01:00
ecdsa 8f7f511d19 rename gui package 2013-03-02 18:10:22 +01:00
ThomasV 89a8f3ce11 import gui using any name 2013-03-02 18:03:29 +01:00
thomasv ada36b2554 plugin handler 2013-03-02 16:29:14 +01:00
thomasv a563091f30 separate core and gui in different modules 2013-03-02 12:26:21 +01:00
thomasv e84d087a64 accounts 2013-03-02 11:23:08 +01:00
thomasv c871a79582 use imp to detect and load the local electrum module 2013-03-02 10:22:45 +01:00
thomasv f72c8ee5d2 move is_valid from wallet class to bitcoin.py 2013-03-01 14:27:56 +01:00
thomasv f3cc234c87 missing arguments and types conversions 2013-03-01 14:08:51 +01:00
thomasv 454f67e89d fix command names: setconfig, setconfig 2013-03-01 13:40:04 +01:00
thomasv 19d104f023 register commands, check for their arguments 2013-03-01 13:33:11 +01:00
thomasv 4f5023e31b rename 'balance' command as 'getbalance', per bitcoind 2013-03-01 11:33:51 +01:00
thomasv 95dc97b39b rename 'addresses' command as 'listadresses'. use json syntax. 2013-03-01 11:21:10 +01:00
thomasv 3eb746db5c terminate after create or restore 2013-02-28 17:21:30 +01:00
thomasv ea96b79997 use json format 2013-02-27 18:11:45 +01:00
thomasv 75d2fbcd74 fix: deseed 2013-02-27 18:01:58 +01:00
thomasv 967abcb359 simplify dumpprivkeys 2013-02-27 10:36:52 +01:00
thomasv f4ac478369 more json formatting 2013-02-27 10:24:53 +01:00
thomasv 2e9c2c1f96 return python objects from commands, and display them as json 2013-02-26 17:57:48 +01:00
thomasv ea2d8f2491 move commands list to commands.py 2013-02-26 16:29:44 +01:00
thomasv 999adc80af move 'addresses' command 2013-02-26 16:11:19 +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 1f3f6b19e2 launch verifier before synchronizer 2013-02-25 22:21:07 +01:00
ThomasV f0eb5e1316 sendtx -> sendrawtransaction 2013-02-25 21:01:02 +01:00
thomasv 8225028dd1 change the deseed command, remove reseed 2013-02-25 10:49:31 +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 c4f7ce6bae remove signtx command (replaced by signrawtransaction). 2013-02-24 22:05:49 +01:00
thomasv 64ad3fc28c use serialized format in signtx 2013-02-24 21:31:11 +01:00
ThomasV 811d05a1c2 move methods into Transaction class 2013-02-23 17:18:22 +01:00
ThomasV 961b81ba4a rm unneeded address 2013-02-23 16:56:38 +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 2642fa0f7d fix listunspent, add method wallet.get_unspent_coins 2013-02-23 13:18:15 +01:00
thomasv 03e2160503 create separate class for deterministic key generation. add pubkeys to validateaddress 2013-02-23 11:35:46 +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
thomasv 8a8aeb4567 Merge branch 'master' of github.com:spesmilo/electrum 2013-02-22 14:26:22 +01:00
thomasv a1a5886e57 add listunspent 2013-02-22 14:26:18 +01:00
ThomasV 95f23ec1ea Merge pull request #149 from polymorphm/tiny-bugfix--history-balance
command ``history`` fail -- if not transactions
2013-02-22 04:45:27 -08:00
thomasv 40b397dc0f signrawtransaction: parse redeemScript 2013-02-22 13:40:42 +01:00
thomasv 299f30944f import ast at the beginning 2013-02-21 16:42:01 +01:00
thomasv 0863f09a06 add dumpprivkey command; finalize private_keys parameter for signrawtransaction 2013-02-21 16:26:26 +01:00
thomasv ea7718fc59 create Transaction class 2013-02-21 14:18:12 +01:00
Andrej A Antonov a498ed979b fixed bug: failed command ``history`` if ``wallet.get_tx_history()`` is empty 2013-02-21 14:44:53 +04:00
thomasv 972ba397d1 support for multisig functions 2013-02-20 13:10:32 +01:00
Maran 1b2a319f18 Added migration to APPDATA from LOCALAPPDATA for windows based Electrum installations 2013-02-18 23:44:47 +01:00
ThomasV 043d6addff init_seed method. save seed and master public key separately 2013-02-03 15:08:26 +01:00
ThomasV e0cf89a794 update help for importprivkey 2013-01-13 21:40:28 +01:00
ThomasV ec11dac3af restore from mpk (text) 2013-01-08 21:30:03 +01:00
thomasv 8b9d14e303 export seed in gui/restore from seed 2013-01-08 14:29:42 +01:00
slush cf5661046b Import WalletFactory instead of Wallet
WalletFactory and WalletBitkey classes
--usb parameter enables experimental support for bitkey protocol
2013-01-07 16:23:47 +00:00
ThomasV 088ed3d2dd fix: unencrypted seed 2013-01-06 15:57:01 +01:00
ThomasV 04322b7cc9 fix bug with undetected incorrect password that can damage wallet 2013-01-06 09:41:06 +01:00
ThomasV 279b85e3fe use the same syntax as bitcoind for key import 2013-01-05 21:28:12 +01:00
ThomasV 512a812872 try http if tcp fails. 2013-01-03 21:36:25 +01:00
thomasv 1f71e5e225 call set_language only if gui is used. 2013-01-02 16:12:00 +01:00
thomasv 66fa7b610b option to set gui language from command line 2013-01-02 16:03:54 +01:00
thomasv accbf7ea82 fix: exit if no password is provided when needed 2013-01-02 13:39:50 +01:00
thomasv 72b4ac97d0 use portable flag on android instead of explicit path for headers file. use urllib.retrieve() 2012-12-17 17:51:52 +01:00
thomasv 6bd57d4829 change headers path for android 2012-12-17 16:21:28 +01:00
thomasv bd96815eb3 command line option for portable wallets 2012-12-17 15:08:34 +01:00
thomasv 4e070bda57 new command: signtx (offline transaction signing) 2012-12-05 18:18:47 +01:00
thomasv c763445734 allow multiple-outputs transactions with mktx() 2012-12-05 16:41:39 +01:00
thomasv 108dfb6140 revert to daemon threads because some clients do not seem to close their sockets cleanly 2012-12-05 10:24:30 +01:00
ThomasV 36ef16cfb2 fix path for android 2012-12-01 17:56:31 +01:00
ThomasV c68bf5a1d7 print_error -> print_msg 2012-11-27 23:32:39 +01:00
ThomasV 9afbf21197 no daemon 2012-11-24 20:35:09 +01:00
ThomasV 0ad7f72d3d nodaemon 2012-11-24 20:35:09 +01:00
ThomasV a79cda99e5 return True in retore_wallet 2012-11-23 19:31:45 +01:00
ThomasV acbfa77af5 return True in network dialog, because None means offline 2012-11-23 19:25:35 +01:00
ThomasV d6edf45eb7 use adhoc print function 2012-11-23 18:48:56 +01:00
thomasv 6e0a62fada return parser object because it is needed to display help 2012-11-23 14:31:25 +01:00
thomasv 537d02977c fix balance display in flatfly's bug. restore the wallet.update() method 2012-11-22 13:10:01 +01:00
flatfly 1b85fa3125 Fix wallet path in deseed and reseed 2012-11-21 22:57:11 +01:00
ThomasV b6c494ce6a fix network dialog 2012-11-20 21:46:45 +01:00
ThomasV d2c91d9a0f simplify the create/restore procedure 2012-11-20 21:36:06 +01:00
ThomasV 9a9e7c1b7c simplification 2012-11-20 18:19:37 +01:00
ThomasV d55aa43cf6 add version to android path 2012-11-20 17:56:23 +01:00
ThomasV d8c49a2fef android: update create and recover dialogs 2012-11-20 17:21:57 +01:00
thomasv cf1f533613 allow offline creation/recovery within the gui 2012-11-20 15:30:46 +01:00
thomasv f7c3b2f067 pop all options that are None before passing them to SimpleConfig 2012-11-19 14:05:42 +01:00
ThomasV 2d13107897 make a regular gui module for android 2012-11-18 11:34:52 +01:00
thomasv 650a9b6074 do not include fee in the transaction amount shown in history. adapt history to the case where it was recovered from a pruning server 2012-11-16 14:39:31 +01:00
thomasv 91f8bb7d0b start synchronizer only after verifier is created 2012-11-05 13:12:22 +01:00
ThomasV 02eece2c4c fix CLI restore 2012-11-04 21:12:08 +01:00
ThomasV 39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +01:00
ThomasV 5bb441ce37 add mnemonic functions to module 2012-11-04 19:40:17 +01:00
ThomasV b20188a65d verbose option 2012-11-04 12:27:01 +01:00
ThomasV 99022f51bc fix: get_tx_value 2012-11-04 11:36:08 +01:00
thomasv 5e28ccd09d Improve text gui. Disable print_error when text gui is used. 2012-10-29 16:22:53 +01:00
ThomasV 7a73c2cb50 security fix: do not let user change seed 2012-10-28 09:19:07 +01:00
ThomasV fa870d83b9 add option to disable spv; just in case 2012-10-28 08:58:21 +01:00
ThomasV cfb3aa6a12 move 'peers.subscribe' and 'server.version' calls into the interface 2012-10-27 14:15:03 +02:00
ThomasV 1117741e59 new command: 'get' 2012-10-26 17:35:35 +02:00
thomasv ee4de40c37 use WalletVerifier.add() method to register transactions 2012-10-26 10:02:09 +02:00
thomasv e20e40829d start verifier thread only after the first wallet synchronization 2012-10-26 09:08:06 +02:00
ThomasV 063fef86aa set command: authorize by default, forbid only when dangerous 2012-10-26 07:05:22 +02:00
ThomasV 2a06a5b493 tie confirmation icons to payment verifier 2012-10-26 00:40:19 +02:00
thomasv 8b865983c6 make the Verifier class usable without a wallet instance 2012-10-25 16:03:16 +02:00
thomasv 0b76e16d04 allow multiple callbacks for a given name 2012-10-22 13:43:58 +02:00
thomasv 82531131ee interface: do not connect inside the constructor 2012-10-22 12:58:57 +02:00
thomasv 4fbd2ea66e use named callbacks with the interface 2012-10-22 11:34:21 +02:00
ThomasV 33eb749c6a interface for command line mode 2012-10-21 23:22:46 +02:00
ThomasV 2da0c0b77e big refactoring of the interface
addition of the wallet verifier class for SPV
2012-10-21 22:55:16 +02:00
thomasv a361a05b08 text gui 2012-10-20 10:30:29 +02:00
thomasv 5d01831090 text ui: first commit 2012-10-20 10:30:29 +02:00
ThomasV d0a6e244b1 new 'set' command for the CLI 2012-10-20 10:23:34 +02:00
thomasv c5f5e92d17 rename qt gui -> classic 2012-10-19 10:26:35 +02:00
ecdsa 52211180ed Merge pull request #42 from samueltardieu/find-wallet
make command-line [un]freeze/prioritize find the wallet object
2012-10-13 11:03:46 -07:00
ThomasV d92f1991a9 move prompt_password from wallet.py to main script 2012-10-12 01:50:54 +02:00
thomasv 5444f55e6b big refactoring: command line options and electrum.conf options override settings in wallet file. 2012-10-11 20:10:12 +02:00
thomasv 0d11aa75c4 encapsulation: that kind of exception handling should be done in the gui module 2012-10-11 13:43:04 +02:00
thomasv a27fba8685 use proxy with command line too 2012-10-09 16:29:53 +02:00
thomasv fd13d19cb8 fix proxy issues: override config with command line option, and use interface.proxy in gui 2012-10-09 15:48:06 +02:00
thomasv 880b08f337 remove remote wallet (broken, will be replaced) 2012-10-05 15:49:03 +02:00
Samuel Tardieu 7e7af3c272 make command-line [un]freeze/prioritize find the wallet object 2012-10-03 20:59:36 +02:00
thomasv ad3be71ed7 warning against redeem private key services 2012-10-02 13:15:10 +02:00
thomasv f3ff9b5cf6 make proxy an optional parameter 2012-10-01 18:14:50 +02:00
bkkcoins aaa56cebf2 Merge branch 'fix-offline-restore' into merged 2012-09-21 13:03:13 +07:00
bkkcoins 9c4023ba58 Revert "Fix for wallet restore when offline"
This reverts commit af750d9363.
2012-09-20 17:01:47 +07:00
bkkcoins a213655cde fix offline restore 2012-09-20 16:46:11 +07:00
bkkcoins af750d9363 Fix for wallet restore when offline 2012-09-20 15:30:08 +07:00
bkkcoins aa6f631f2e Added SOCKS support, with cmdline and SimpleConfig options 2012-09-19 17:37:20 +07:00
Samuel Tardieu aaa496fa60 Import SimpleConfig from electrum if installed 2012-09-07 11:40:06 +02:00
Maran a31733d065 Reworked the qt warning dialog 2012-08-30 19:57:32 +02:00
Maran 6da25727f8 Refactored user_dir to utils and replaced it in wallet and config 2012-08-30 18:00:08 +02:00
Maran fbf854bcb8 Added a set_key setter method that can also write out the changes to file 2012-08-30 17:52:03 +02:00
Maran 0d229383aa Write out the config file to <= 4.7 QT when QT > 4.7 can't be loaded. 2012-08-30 00:11:50 +02:00
Maran 3252b5ae4e Added SimpleConfig class to deal with simple config options added for fallback to other gui when missing deps 2012-08-30 00:03:38 +02:00
Maran 23d314462f Fix merge conflict with master 2012-08-29 22:54:44 +02:00