bsc/swarm
holisticode 32516c768e cmd/swarm: add config file (#15548)
This commit adds a TOML configuration option to swarm. It reuses
the TOML configuration structure used in geth with swarm
customized items.

The commit:

* Adds a "dumpconfig" command to the swarm executable which
  allows printing the (default) configuration to stdout, which
  then can be redirected to a file in order to customize it.
* Adds a "--config <file>" option to the swarm executable which will
  allow to load a configuration file in TOML format from the
  specified location in order to initialize the Swarm node The
  override priorities are like follows: environment variables
  override command line arguments override config file override
  default config.
2017-12-11 22:56:06 +01:00
..
api cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
dev cmd/swarm: Exit if --ethapi is set 2017-06-30 10:16:03 +01:00
fuse build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
network cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
services/swap cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
storage cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
testutil all: update license information 2017-04-14 10:29:00 +02:00
swarm.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00