ThomasV
a735fbabe0
print config path in debug message
9 years ago
Neil Booth
e63ac88c77
e20dfc unintentionally inverted portable condition
This wasn't noticed because the test was also broken.
10 years ago
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.
10 years ago
ThomasV
d5f6651237
follow up e20dfcd3eb
10 years ago
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.
10 years ago
ThomasV
233fd8ed77
revert 175bfae9e6
. store last known height in wallet instead
10 years ago
ThomasV
c2a4252065
do not pass config to storage. request height from network_proxy if connected
10 years ago
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.
10 years ago
ThomasV
881e15ae12
store config as json
10 years ago
ThomasV
935a9a980d
disable auo-connect is --server option is passed. fixes #992
10 years ago
Chris Glass
99a31b0c6a
Fixes previously introduced bug
The passed in command line options were saved to the user config.
11 years ago
Chris Glass
34f0a65c49
Added more tests for user config parsing.
11 years ago
Chris Glass
ad3640d7a4
Added tests for the system config function.
11 years ago
Chris Glass
221fa5848f
System config should never be None
11 years ago
Chris Glass
5eeae69425
Added more tests for edge cases.
11 years ago
Chris Glass
fff3ed9b77
Added a lot of tests for SimpleConfig
Refactored the SImpleConfig class a lot to make sure the behavior is
always defined.
11 years ago
ThomasV
c07c1c58ed
access to global configuration using set_config and get_config
11 years ago
ThomasV
e699ab6660
coin control: select UTXOs in menu
11 years ago
ThomasV
5a89734d6c
do not raise an error if user config file is corrupted
11 years ago
Zomnut
712ef8c93b
Fix for resetting options to default on program start when in portable mode.
11 years ago
Bryan Stitt
225d8b83a3
don't use bare except
11 years ago
ThomasV
f340f08a6e
fix for portable version: use its own directory
11 years ago
ThomasV
c45fa4860f
android interface update and minor fixes
11 years ago
ThomasV
e82653f454
add locks to config and storage
11 years ago
thomasv
48efc62b2d
simplify directories: electrum_dir
11 years ago
ThomasV
1ba3008b49
minor fixes
11 years ago
ThomasV
d99a381d83
separation between wallet storage and config
11 years ago
ThomasV
b983d12929
restore old accounts from seed
11 years ago
ThomasV
19553a056d
bip32
12 years ago
ThomasV
f4207d7e4c
bip32
12 years ago
ThomasV
db501aa976
bip32
12 years ago
rdymac
ff523790df
typo
typo
12 years ago
ecdsa
b2c23f9ac8
deprecate wallet.save() and 'eval' command
12 years ago
Maran
2973f5d2c3
more label sync wip
12 years ago
Maran
a2510bc26d
more label sync wip
12 years ago
ThomasV
5aa18c4bb5
prevent the creation of incomplete wallets
12 years ago
ThomasV
c7edba0990
currency conversions (bkkcoins)
12 years ago
thomasv
bd96815eb3
command line option for portable wallets
12 years ago
thomasv
50064d20fd
Revert "added TypeError category to existing exception"
This reverts commit 86da219fb9
.
12 years ago
thomasv
ae1f1ee8ea
indentation
12 years ago
thomasv
8f7ca499d9
fix indentation error
12 years ago
Jimbo77
74ed5acf7d
added docstring for is_modifiable()
12 years ago
Jimbo77
c4955ebddd
wrote basic SimpleConfig docstring
12 years ago
Jimbo77
86da219fb9
added TypeError category to existing exception
12 years ago
Jimbo77
4a85b9db62
wrote docstring for get()
12 years ago
Jimbo77
0c29027f96
created docstring for read_user_config()
12 years ago
Jimbo77
71a4bb0198
created docstring for read_system_config()
12 years ago
Jimbo77
49ac4d73e3
changed a couple exceptions to describe import errors
12 years ago
ThomasV
2d13107897
make a regular gui module for android
12 years ago
thomasv
41cd3484c8
remove format conversion; unneeded since new protocol
12 years ago