erigon-pulse/swarm/network
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
..
kademlia cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
depo.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
forwarding.go all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
hive.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
messages.go swarm: fix megacheck warnings 2017-08-14 18:12:37 +03:00
protocol_test.go all: update license information 2016-11-09 02:51:34 +01:00
protocol.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
syncdb_test.go all: disable log message colors outside of geth 2017-02-27 15:33:12 +01:00
syncdb.go eth, les, swarm: fix go vet issues sufraced by log15 2017-02-23 12:16:45 +02:00
syncer.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00