op-geth/swarm/network/kademlia
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
..
address.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
address_test.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
kaddb.go p2p, swarm/network/kademlia: use IsZero to check for zero time (#15603) 2017-12-04 11:07:10 +01:00
kademlia.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
kademlia_test.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00