aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-23 19:55:38 +0800
committerzelig <viktor.tron@gmail.com>2014-06-23 19:55:38 +0800
commit63157c798d613f1ca638597515bb89768e2c1aad (patch)
tree2b52d456c5a5fc0a821fa7a3cf766f23ea6b4acb /ethereum.go
parentb9e8a3e02493d5bbf23cfcab259e66f6ae166612 (diff)
downloaddexon-63157c798d613f1ca638597515bb89768e2c1aad.tar.gz
dexon-63157c798d613f1ca638597515bb89768e2c1aad.tar.zst
dexon-63157c798d613f1ca638597515bb89768e2c1aad.zip
refactor config (transitional). Details:
- ReadConfig initialiser sets up global ethutil.Config via config file passed from wrappers - does not write out adhoc default (not meant to) but creates empty config file if it does not exist so that globalconf does not complain if persists a flag - default datadir and default config file set together with other flag defaults in wrappers - default assetpath set together with other command line flags defaults in gui wrapper (not in ethutil.Config or ui/ui_lib) - add EnvPrefix, to handle environment variable options too via globalconf - this is still transitional: global Config should just be a wrapper around globalconfig config handler and should be moved to go-ethereum - actual eth stack config should not be global instead config handled properly with explicit dependency injectioninto eth stack component instances
Diffstat (limited to 'ethereum.go')
0 files changed, 0 insertions, 0 deletions