quorum/cmd/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
..
config.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
config_test.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
db.go cmd/swarm: support exporting, importing chunk db (#14868) 2017-07-31 13:23:44 +02:00
hash.go Logger updates 3 (#3730) 2017-03-02 14:06:16 +01:00
list.go all: update license information 2017-04-14 10:29:00 +02:00
main.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
manifest.go buld: enable goconst linter (#15566) 2017-11-30 11:22:26 +01:00
run_test.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
upload.go cmd/swarm: fix error handling in 'swarm up' (#14557) 2017-06-06 09:39:10 +02:00
upload_test.go swarm/api: make api.NewManifest synchronous (#14880) 2017-07-31 15:58:19 +02:00