Commit Graph

406 Commits

Author SHA1 Message Date
ThomasV 102bc204d5 hooks and workflow for 2of3 wallets 2014-04-06 21:38:53 +02:00
ThomasV 5a43b633d6 update bip32 accounts and wallet 2014-04-01 11:25:12 +02:00
ThomasV 7dd296273f move daemon spawning code into NetworkProxy class 2014-03-16 12:00:08 +01:00
ThomasV 8395bfe67f disable bip32 option before release 2014-03-15 11:10:06 +01:00
ThomasV 0c786be46f remove print statement 2014-03-11 08:37:58 +01:00
ThomasV 489413d358 move start_daemon code to main script 2014-03-11 08:33:58 +01:00
ThomasV e6bbf22003 add server to daemon print statement 2014-03-11 07:18:50 +01:00
ThomasV 6e30894af6 daemon; initial commit 2014-03-10 16:16:27 +01:00
ThomasV 271dfeb245 eval arg passed to setconfig, to avoid storing boolean as string 2014-03-03 12:29:10 +01:00
ThomasV 2070672ac7 improve help messages for options 2014-03-02 19:23:54 +01:00
ThomasV a5629539e4 add timeout to daemon, update getaddressbalance 2014-03-02 10:31:34 +01:00
ThomasV e955ee69a8 restore from master public key (qt and command line) 2014-02-28 15:43:06 +01:00
ThomasV 9ddd9c7c65 start network daemon automatically when needed 2014-02-28 14:33:56 +01:00
ThomasV 638526712b rebrand this branch as 1.9.8 2014-02-27 10:21:41 +01:00
ThomasV 70bace9b1e use separata class for old wallets; decide with WalletFactory 2014-02-03 06:26:03 +01:00
ThomasV 7c6bc72cb4 daemon 2014-01-27 10:37:39 +01:00
ThomasV d4fbe85d7d json rpc daemon 2014-01-27 10:37:39 +01:00
xHire eb6d383da7 Fix generating encrypted wallet from command line 2014-01-10 21:10:48 +01:00
thomasv 2a9c62c9b8 replace exit with sys.exit 2013-12-13 17:53:13 +01:00
thomasv f045490597 During wallet creation, do not write seed on disk before it is encrypted 2013-12-13 17:30:34 +01:00
ThomasV 6975642227 fix #492 2013-12-13 06:29:51 +01:00
shunyata 419bdc54f3 Remove an obsolete parameter.
This was straight-up crashing before. Need more automated tests, I think. :/
2013-12-12 17:23:40 -05:00
Bryan Stitt 4174924f45 flake8 cleanup of ./electrum 2013-11-12 19:19:32 -08:00
ThomasV c89223ded9 revert WyseNynja's commit (breaks things) 2013-11-12 23:55:15 +01:00
Bryan Stitt 91061752cf stop using eval 2013-11-11 22:03:20 -08:00
ThomasV 588f8fd110 wallet: call create_accounts in save_seed 2013-11-11 17:41:46 +01:00
Bryan Stitt 6cd4ed486a fix more bare excepts 2013-11-10 12:30:57 -08:00
ThomasV ff647c79fd Merge pull request #374 from nolith/master
allow to connect to one server only
2013-11-10 02:55:33 -08:00
Bryan Stitt f0eb0eccde replace BaseException with Exception 2013-11-09 20:21:02 -08:00
Andy Weidenbaum ef1c2c7760 concealed flag for restore sequence 2013-11-08 03:31:18 -08:00
Alessio Caiazza 423ed77305 allow to connect to one server only
This changeset allow to disable block headers retrieval from multiple
servers.
2013-11-06 18:02:37 +01:00
ThomasV f340f08a6e fix for portable version: use its own directory 2013-11-05 23:02:51 +01:00
ThomasV b1472ba1a7 fix regression: offline mode 2013-11-05 18:55:53 +01:00
ThomasV 536c898b59 restore from master public key with seed v4 2013-11-03 14:14:35 +01:00
ThomasV 4f3497027d fix deseed 2013-11-01 12:40:53 +01:00
thomasv b9eb909554 fixes: get_seed 2013-10-31 15:27:15 +01:00
ThomasV 31aaae8ed2 seed v6 2013-10-26 16:40:05 +02:00
ThomasV 8b1c6fba68 remove -b option for listaddresses (fix issue #343) 2013-10-24 09:45:41 +02:00
ThomasV d50ad3c301 send connection msg to stderr 2013-10-18 12:25:57 +02:00
ThomasV a0d9a5efe4 set verbosity after options 2013-10-08 13:10:13 +02:00
Zomnut d9c595fca8 Fix for the built-in raw_input not redirectin properly without readlin loaded on Unix systems (http://bugs.python.org/issue1927) 2013-10-07 16:12:35 -04:00
thomasv b00175d00d update android interface 2013-10-07 20:11:41 +02:00
thomasv 1741d1cbd0 move readline 2013-10-07 19:53:42 +02:00
ThomasV 66f224eab4 update a few scripts 2013-10-06 12:28:45 +02:00
Zomnut bd59f6a835 Fix redirect error
Python bug (http://bugs.python.org/issue1927) causes raw_input to be redirected improperly between stdin/stderr on Unix systems if readline is not initialised first.
2013-10-04 11:35:28 -04:00
ThomasV 1be0ea1494 remove check_windows_wallet_migration 2013-10-03 14:00:57 +02:00
ThomasV b4cef1b981 print connected to message synchronously 2013-10-03 13:56:31 +02:00
ThomasV 6f2471b69b getpubkeys command 2013-10-03 13:31:59 +02:00
ThomasV 2f66cdf908 new flag for commands: requires_wallet 2013-10-03 12:53:48 +02:00
ThomasV ecfe5e2590 common wallet.restore() method for GUIs 2013-09-28 13:45:49 +02:00
ThomasV 2c0814f0d3 simplify gui names 2013-09-24 10:06:03 +02:00
rofl0r 4226e9cc45 update help text for --server with available protocols
closes #303
2013-09-22 20:37:52 +02:00
rofl0r 56ebc02cad advertise new text gui in the help screen 2013-09-19 23:57:04 +02:00
rofl0r bcca6e25ab make it possible to create wallet non-interactively
add a --password option,
respect --server,--fee,--gap as passed on the command line,
and do not ask for them if they were specified.

so if all of them are passed, there are no interactive questions
asked and one can create wallets automatically via scripts.

closes #308

additionally it fixes the bug that the default fee and gap limit
were not stored in the new wallet, if entered manually.

additionally it fixes the bug that the wallet path was not displayed
correctly if a custom wallet path was used.
2013-09-19 17:38:00 +02:00
rofl0r fd1458aa23 restore 'electrum help command' usage 2013-09-18 20:22:30 +02:00
rofl0r 7d1c6c7980 fix help text when invoked with --help
the built-in optparser help text did not show the available commands

closes #304
2013-09-18 18:21:33 +00:00
ThomasV 01349f6528 fix restore threads 2013-09-16 06:14:23 +02:00
thomasv 7fb406cc05 fallback to classic for old preferences 2013-09-15 13:52:58 +02:00
thomasv b75f8d795a new command: getrawtransaction 2013-09-15 11:19:48 +02:00
thomasv ee08b2bfa6 don't show gap limit in GUI 2013-09-12 16:08:17 +02:00
thomasv e9340db409 fix create and restore (command line) 2013-09-11 17:05:50 +02:00
thomasv 047e4b3478 move callbacks to the network class 2013-09-09 13:33:25 +02:00
ThomasV 328315f94b separate blockchain and network 2013-09-08 17:23:01 +02:00
thomasv 48efc62b2d simplify directories: electrum_dir 2013-09-02 15:05:33 +02:00
ThomasV 1ba3008b49 minor fixes 2013-09-01 23:25:28 +02:00
ThomasV 046ec58d24 start wallet threads from wallet class 2013-09-01 18:44:19 +02:00
ThomasV d47892b690 separate blockchain verifier from transaction verifier 2013-09-01 18:16:15 +02:00
ThomasV d99a381d83 separation between wallet storage and config 2013-09-01 15:26:52 +02:00
ThomasV 1637197419 separate gui init() and load_wallet() 2013-08-30 10:11:10 +02:00
ThomasV 084ed6776b structural change: wrap wallet instanciation inside the gui class 2013-08-22 12:39:41 +02:00
nelisky 1b0db8414b implementing paytomany (untested)
Just like mktx/payto, this is only submitting the tx created in mksendmanytx
2013-08-18 02:09:25 +02:00
nelisky bf173e1c45 implementing mksendmanytx
A simple argument parsing change from mktx to allow passing multiple recipients
2013-08-18 02:07:59 +02:00
ThomasV 81b84fd5ef fixes for signrawtransaction 2013-08-17 18:40:59 +02:00
thomasv f64c59f66f fix: set auto-cycle to None only during wallet creation 2013-08-01 16:39:45 +02:00
ecdsa b2c23f9ac8 deprecate wallet.save() and 'eval' command 2013-05-02 10:54:48 +02:00
ecdsa 86fd728a47 move network dialog in a new class; simplify interface.get_servers 2013-04-28 13:47:19 +02:00
ThomasV 4ecb8f897e Merge pull request #206 from JulianTosh/TuxHelpMods
Slightly modifying help output for clarity
2013-04-23 04:55:53 -07:00
Julian Tosh 63f33b64d0 Slightly modifying help output for clarity 2013-04-22 12:19:13 -07:00
ecdsa de21e2297e os path join 2013-04-20 18:21:51 +02:00
thomasv 921d60468c better help text for offline restore 2013-04-16 15:19:41 +02:00
thomasv 8fcd782ff4 offline restore 2013-04-16 15:17:32 +02:00
ecdsa 076b949039 fix create and restore from command line 2013-04-14 19:32:25 +02:00
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