• zelig's avatar
    refactor config (transitional). Details: · 63157c79
    zelig authored
    - 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
    63157c79
Name
Last commit
Last update
ethchain Loading commit data...
ethdb Loading commit data...
ethlog Loading commit data...
ethminer Loading commit data...
ethpub Loading commit data...
ethrpc Loading commit data...
ethutil Loading commit data...
ethwire Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
ethereum.go Loading commit data...
nat.go Loading commit data...
natpmp.go Loading commit data...
natupnp.go Loading commit data...
peer.go Loading commit data...