Commit Graph

463 Commits

Author SHA1 Message Date
ThomasV fa9ce51685 deprecate dumpprivkeys 2015-08-16 16:30:55 +02:00
ThomasV 02e81a3655 read command line arguments from stdin if '-' is passed 2015-08-16 16:11:52 +02:00
ThomasV 65c7dfafbc check alias in signrequest 2015-08-07 09:00:00 +02:00
ThomasV 5ddafa8b14 rm tlslite import 2015-08-04 19:29:43 +02:00
ThomasV 77b0e7be5e network: initial status should be 'unknown', distinct from 'connecting' 2015-07-30 11:32:16 +02:00
ThomasV 35923f1df0 add dns to imports 2015-07-29 18:37:00 +02:00
ThomasV e2185da094 sleep to let socket threads timeout 2015-07-18 14:03:52 +02:00
Matt Tanous dac89e212c Update electrum 2015-07-06 18:15:22 -06:00
ThomasV 145bf5cf0a rename decodetx and sendtx commands. merge mktx and payto commands. 2015-06-10 23:21:25 +02:00
ThomasV 2863d19579 command-line handler for trezor 2015-06-10 22:08:19 +02:00
ThomasV ddef165e18 updates for android 2015-06-09 23:18:32 +02:00
ThomasV fbc68d94d6 pop config variables from cmd line 2015-06-07 17:45:13 +02:00
ThomasV 4726d3a1fc minor fix: var name 2015-06-02 14:17:14 +02:00
ThomasV b5435a16e8 fix auto_connect name displayed in status 2015-06-02 11:41:41 +02:00
ThomasV 088d8e8415 show request status 2015-06-02 11:36:06 +02:00
ThomasV e4946cf26e setconfig: return False on error 2015-06-02 11:05:21 +02:00
ThomasV e5b6b05482 show auto-connect in daemon status 2015-06-01 11:05:23 +02:00
ThomasV ddd6a58cc7 commands: extract params and options from arguments 2015-05-31 22:42:34 +02:00
ThomasV c4d822b0cf add 'unsigned' option 2015-05-31 17:38:57 +02:00
ThomasV ee20910c65 fix signtransaction flags 2015-05-31 17:21:02 +02:00
ThomasV 0caa29784c separate param_descriptions and improve help messages 2015-05-31 10:03:53 +02:00
ThomasV cc610d352f merge signtxwithwallet and signtxwithkey 2015-05-31 09:28:47 +02:00
ThomasV aa7f056d02 minor fix: sys.argv length 2015-05-31 08:36:12 +02:00
ThomasV 9acc0e4ed0 minor formatting 2015-05-31 08:06:20 +02:00
ThomasV 92a158b910 proper handling of arg_types. add more options for listaddresses 2015-05-30 18:49:58 +02:00
ThomasV bf98b547e1 fix bug in cmd.params 2015-05-30 17:09:17 +02:00
ThomasV d2f3e3f349 fix cmdline listcontacts 2015-05-30 12:35:58 +02:00
ThomasV 701527df20 fix -P option 2015-05-30 06:56:45 +02:00
ThomasV 3ddbbc1008 Parse arguments with argparse.
Move parser to commands.py
2015-05-29 19:24:50 +02:00
Neil Booth 39fe24b4d3 Rename auto_cycle to auto_connect in config
User config is updated if appropriate.
Add tests behaviour is as expected.
Just the one rename-it reference to auto_cycle remains.
2015-05-25 16:18:52 +09:00
Neil Booth 01d8f79a75 Clean up pick_random_server() and filter_protocol() and their
call sites.

Remove unused imports and redundant random pick of server
2015-05-24 21:07:35 +09:00
ThomasV d40c12c949 check gui when loading plugins 2015-05-24 09:26:28 +02:00
ThomasV 8f98ea4aca make plugins available without the GUI 2015-05-23 10:38:19 +02:00
ThomasV c2a4252065 do not pass config to storage. request height from network_proxy if connected 2015-05-08 10:58:54 +02:00
ThomasV 15826e18b8 Merge pull request #1173 from kyuupichan/is_local
Determine is_local not based on cwd but on existence of setup-release.py
2015-04-30 06:58:57 +02:00
Neil Booth 13341dd4b5 Remove apparenlty dead import and __builtin__ assignment.
Googling reveals this code is likely a remnant of prior code
and no longer needed.  It appears to have no effect on my system.
2015-04-30 10:31:37 +09:00
Neil Booth d27d80eb28 Should have been setup-release.py 2015-04-30 08:29:15 +09:00
Neil Booth f732365821 Determine is_local not based on cwd but on existence of setup-release.py
The goal is to be able to run local instances from arbitrary directories.
It seems that the chances of having a setup-release.py in the same directory
as an installed electrum are extremely remote: not only is the name unusual,
but the file isn't installed anyway.
2015-04-30 08:23:57 +09:00
ThomasV 8f3add1e33 filter out -psn argument 2015-04-24 23:31:31 +02:00
ThomasV 41d498fda0 open payment request file passed as argument 2015-04-21 18:08:35 +02:00
ThomasV f9de19bd78 Merge pull request #1142 from ptrcarta/master
delete -psn arg on osx, fixes #1080
2015-04-20 12:10:50 +02:00
ThomasV 47f89f43b6 get rid of pyasn1 dependencies 2015-04-14 15:10:44 +02:00
ptrcarta f6b6bbbbae fixes osx bug where user couldn't change proxy or connect to network
by default osx passes a -psn arg when launching an app from command
line. this is a process serial number argument and py2app when used with
emulate_argv=True removes it.
commit d2097c15d9 removed this, thus
introducing the -psn arg on launch. this is misinterpreted by the arg
parser as a proxy setting, breaking networking.
2015-04-11 18:53:49 +02:00
ThomasV a3422d3fae generic multisig wallet constructor. fixes #1129 2015-04-03 11:27:57 +02:00
ThomasV 5f29017c9d pass config.path to daemon (exemptore). fixes #901 2015-04-02 12:12:18 +02:00
ThomasV 0200778ac1 require user to start daemon explicitly 2015-03-23 11:50:13 +01:00
ThomasV b1b1a85e80 require ca bundle 2015-03-19 13:42:45 +01:00
ThomasV c3cba78659 remove time.sleep() used for daemon threads 2015-03-13 23:10:54 +01:00
ThomasV 1d311b0a04 don't try to import socks anymore 2015-03-01 10:27:05 +01:00
ThomasV 77d010bcec store gui last wallet separately, to fix command line 2015-02-27 10:37:13 +01:00
ThomasV 80284d5516 updates for the old android GUI 2015-02-24 18:45:09 +01:00
ThomasV 1f58673915 add python mode for emacs 2015-02-21 12:24:40 +01:00
Andy Weidenbaum 80446aca9c s/defaut/default/ 2015-02-11 21:53:22 -08:00
ThomasV 19d7a81d70 restrict plugins to qt for now 2015-02-04 12:05:46 +01:00
ThomasV b6c1b22c35 use sys.exit 2015-02-03 12:29:04 +01:00
ThomasV 935a9a980d disable auo-connect is --server option is passed. fixes #992 2015-01-30 10:19:22 +01:00
ThomasV 56e80566f9 simplify packages insertion 2015-01-27 13:50:02 +01:00
Maran 2bf32880e8 Add dynamic package loading for Py2App osx binaries 2015-01-27 12:18:04 +01:00
ThomasV 3ef3bebeb3 print debug message with ca bundle status 2015-01-27 10:12:44 +01:00
ThomasV 4120678dff add google protobuf to packages 2015-01-27 10:01:40 +01:00
ThomasV 9d40fb2ea8 detect if we are in a pyinstaller bundle 2015-01-26 16:53:59 +01:00
ThomasV 16c72d286c try to import all python dependencies from the main script 2015-01-26 14:14:16 +01:00
ThomasV 576954555c fix: check_password for imported wallets 2015-01-23 00:18:58 +01:00
ThomasV 63c7a27d7e add InvalidPassword exception 2014-12-03 22:35:05 +01:00
ThomasV 72489da26d signtxwithkey: use prompt if privkey is not passed 2014-10-30 17:03:29 +01:00
ThomasV 581ed1ed26 separate signtxwithkey and signtxwithwallet, and simplify sign_transaction 2014-10-30 16:36:29 +01:00
ThomasV cfa965fdae set env to python2 2014-09-19 14:05:00 +02:00
ThomasV 484cd3983b init_plugins only for gui 2014-09-18 10:16:05 +02:00
ThomasV b782a1bb3f fix argument for check_seed 2014-09-15 14:42:41 +02:00
ThomasV bd6f21232d fix restore from mpk command line 2014-09-08 05:17:56 +02:00
ThomasV 65a155401b remove 2of3 option in cmd line 2014-09-02 16:01:41 +02:00
ThomasV e9f4ed0474 remove deprecated usb option 2014-09-02 15:36:34 +02:00
ThomasV 79588eb4da init plugins before gui. register wallet types in plugin constructor 2014-08-31 15:33:20 +02:00
ThomasV c7f667e2ed separate add_seed from create_master_keys 2014-08-29 14:11:59 +02:00
ThomasV 4d71707be8 add portuguese wordlist, and adapt wordlist parsing 2014-08-28 17:30:44 +02:00
ThomasV 4dcdcbc068 move mnemonic to separate class and use slush's wordlist. new commands: make_seed and check_seed 2014-08-28 15:37:42 +02:00
ThomasV f4b390a79f bip44 2014-08-21 18:24:47 +02:00
ThomasV 13a01b11d2 daemon messages 2014-08-18 13:40:08 +02:00
ThomasV 2c6608493f move sys.path addition before imp 2014-08-14 12:57:28 +02:00
ThomasV 58c817f81a close interfaces on shutdown 2014-07-29 12:13:21 +02:00
ThomasV 087490a197 spawn daemon using daemon.py 2014-07-28 23:42:14 +02:00
ThomasV 035ecbc7cd redo inter-thread communication using pipes 2014-07-27 17:13:46 +02:00
ThomasV 37ad7d8b0b gui should always use daemon if it is running 2014-07-25 16:44:22 +02:00
ThomasV af3fd62fd4 send server height and server lag with daemon 2014-07-25 16:32:19 +02:00
ThomasV 96070246b7 proper start and stop commands for daemon 2014-07-25 15:42:28 +02:00
ThomasV d60dc94e16 daemon status info 2014-07-25 15:12:39 +02:00
ThomasV 2120b1a573 command line: wait until daemon is connected 2014-07-25 13:30:27 +02:00
ThomasV 3e6f903da3 daemon: use Popen with close_fds=True 2014-07-25 11:13:49 +02:00
ThomasV 9ee0614edb make daemon usable with the GUI 2014-07-24 16:12:18 +02:00
ThomasV 1e91c0f254 fix #744 2014-06-30 18:32:00 +02:00
ThomasV f635c5110c try pyasn1-modules as well 2014-06-30 18:12:39 +02:00
pooler 4ffd117640 Fix usage summary 2014-06-30 14:59:57 +02:00
Chris Glass 8997c760a2 Do not use mutables as default values!
This blog article explains why (just an example, many other articles
discuss this ad nauseam):
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mutable-default-arguments/
2014-06-25 17:43:45 +02:00
ThomasV 0636ef8b32 compact serialized format for unsigned and partially signed transactions. 2014-06-21 21:06:09 +02:00
ThomasV 2b2a8d17df bundle dependencies in 'packages' dir. use qrcode instead of pyqrnative 2014-06-17 11:02:46 +02:00
ThomasV bf969c14ff option to start hidden. fixes #720 2014-06-11 19:21:01 +02:00
ThomasV 52d4437d50 fix bug #717 2014-06-11 13:47:32 +02:00
ThomasV fd2228feab replace import * 2014-06-05 16:29:23 +02:00
ThomasV 31226b8a34 add pbkdf2 dependency 2014-06-05 16:19:13 +02:00
bolkin 52ba16da3d fix console importprivkey error 2014-05-23 04:19:45 +00:00