Commit Graph

97 Commits

Author SHA1 Message Date
ThomasV cb2d5ff3d6 raise special exception for dangling links 2017-03-14 08:56:30 +01:00
ThomasV 6977ba603b Merge pull request #2236 from kyuupichan/master
Add support for BU's nolnet
2017-03-06 12:28:45 +01:00
ThomasV cb709d8f57 fix tooltip fee estimate 2017-03-06 09:00:56 +01:00
ThomasV 83e925c0cd fix default dyn fees 2017-03-04 11:19:26 +01:00
Neil Booth 8888a50549 Add support for BU's nolnet
Also update testnet servers
Add missing self. in print_error call
2017-03-04 11:01:32 +09:00
ThomasV 9dde9971da do not revert to static fee when dynamic fee estimates are missing 2017-03-02 11:10:28 +01:00
ThomasV d99855f060 use ctypes to access the zbar library 2017-02-17 20:56:38 +01:00
ThomasV a2e7fc32ef Add fee slider class with network callback. 2017-01-09 12:36:15 +01:00
ThomasV d042d6e970 initial testnet support (petrkr) 2017-01-07 16:58:59 +01:00
ThomasV 8680eae86f detect dangling links 2016-05-30 10:53:52 +02:00
ThomasV 34a3af7ca3 don't display an error if the config file does not exist. assume it is JSON 2016-04-12 19:56:47 +02:00
ThomasV 80b1b2716c kivy: open last wallet 2016-03-08 11:10:04 +01:00
ThomasV 73822e8ec2 fix: pass cwd with config_options 2016-02-24 16:57:58 +01:00
Neil Booth 5f28834bb2 Trezor: session timeout improvements
Move session timeout from wallet to config
Prevent timeouts whenever a device operation is in progress
Move timeout job from each plugin to device manager
2016-02-10 21:59:41 +09:00
ThomasV a04b510395 fix: don't chmod config file on android 2016-01-28 14:43:12 +01:00
Neil Booth 11d135b32d Better install wizard
Break out the workflow logic of the install wizard
into a base class.  This means reimplementing with
full support in a new GUI is now easy; you just provide
ways to request passwords, show messages etc.  The API
is fully documented in the base class.

There are a couple of minor outstanding issues, including that
the old messages shown when recovering a wallet are missing.
I will come back to that.  Ledger wallet might be broken.

Other improvements:

The install wizard code is now easy to follow and understand.
Hardware wallets can now be restored without any need for their
accompanying libraries.
Various bits of trustedcoin were broken and have been fixed.
Many plugin hooks can be removed.  I have only started on this.
2016-01-01 16:48:18 +09:00
ThomasV a735fbabe0 print config path in debug message 2015-09-10 11:01:58 +02:00
ThomasV 7becb28ec8 Merge pull request #1246 from kyuupichan/bug_fix
e20dfc unintentionally inverted portable condition
2015-05-25 13:28:42 +02:00
Neil Booth e63ac88c77 e20dfc unintentionally inverted portable condition
This wasn't noticed because the test was also broken.
2015-05-25 16:59:16 +09: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
ThomasV d5f6651237 follow up e20dfcd3eb 2015-05-25 08:47:25 +02:00
Neil Booth e20dfcd3eb Fix SimpleConfig
SimpleConfig claims to handle configuration options in priority
command line, user config, system config, which makes sense.
In fact it appears it used priority command line, system config,
user config.
Also, from the priority ordering, it would seem correct that a
value should be unmodifiable if and only if it's set on the command
line.  Previously anything in the system config would be unmodifiable.

This patch fixes these and cleans the code up a bit.  I noticed this
whilst attempting to unify the 'auto_cycle' setting.

Fixup tests accordingly.
2015-05-25 15:16:19 +09:00
ThomasV 233fd8ed77 revert 175bfae9e6. store last known height in wallet instead 2015-05-08 13:43:42 +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
Neil Booth 175bfae9e6 Move away from requiring network and blockchain objects to be able to request local height.
We store it in the config object instead of in the blockchain object.
The blockchain object now refers to its config, and calls refresh_height() to update it.
The network objects also refer to the config rather than the blockchain.

This is the first of many small steps to untangle the verifier from stored state and so
permit the history tab to work in offline mode.  The refactoring will simultaneously clean
up a lot of accumulated cruft.
2015-05-03 15:19:29 +09:00
ThomasV 881e15ae12 store config as json 2015-04-02 10:00:07 +02:00
ThomasV 935a9a980d disable auo-connect is --server option is passed. fixes #992 2015-01-30 10:19:22 +01:00
Chris Glass 99a31b0c6a Fixes previously introduced bug
The passed in command line options were saved to the user config.
2014-06-26 13:22:02 +02:00
Chris Glass 34f0a65c49 Added more tests for user config parsing. 2014-06-26 11:08:13 +02:00
Chris Glass ad3640d7a4 Added tests for the system config function. 2014-06-26 10:08:00 +02:00
Chris Glass 221fa5848f System config should never be None 2014-06-25 20:33:04 +02:00
Chris Glass 5eeae69425 Added more tests for edge cases. 2014-06-25 18:04:37 +02:00
Chris Glass fff3ed9b77 Added a lot of tests for SimpleConfig
Refactored the SImpleConfig class a lot to make sure the behavior is
always defined.
2014-06-25 17:34:51 +02:00
ThomasV c07c1c58ed access to global configuration using set_config and get_config 2014-06-17 12:03:41 +02:00
ThomasV e699ab6660 coin control: select UTXOs in menu 2014-06-05 21:55:11 +02:00
ThomasV 5a89734d6c do not raise an error if user config file is corrupted 2014-06-03 16:16:43 +02:00
Zomnut 712ef8c93b Fix for resetting options to default on program start when in portable mode. 2013-11-29 09:50:54 -05:00
Bryan Stitt 225d8b83a3 don't use bare except 2013-11-09 21:23:57 -08:00
ThomasV f340f08a6e fix for portable version: use its own directory 2013-11-05 23:02:51 +01:00
ThomasV c45fa4860f android interface update and minor fixes 2013-10-08 13:10:38 +02:00
ThomasV e82653f454 add locks to config and storage 2013-09-29 18:33:54 +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 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 19553a056d bip32 2013-08-07 22:54:21 +02:00
rdymac ff523790df typo
typo
2013-06-17 01:21:22 +02:00
ecdsa b2c23f9ac8 deprecate wallet.save() and 'eval' command 2013-05-02 10:54:48 +02:00
Maran 2973f5d2c3 more label sync wip 2013-03-10 21:23:04 +01:00
ThomasV 5aa18c4bb5 prevent the creation of incomplete wallets 2013-02-27 23:07:30 +01:00