plugeth/swarm/storage
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
..
chunker_test.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
chunker.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
common_test.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
database.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
dbstore_test.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
dbstore.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
dpa_test.go all: fix ineffectual assignments and remove uses of crypto.Sha3 2017-01-09 16:24:42 +01:00
dpa.go swarm: fix megacheck warnings 2017-08-14 18:12:37 +03:00
localstore.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
memstore_test.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
memstore.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
netstore.go cmd/swarm: add config file (#15548) 2017-12-11 22:56:06 +01:00
pyramid.go build: enable unconvert linter (#15456) 2017-11-10 19:06:45 +02:00
swarmhasher.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00
types.go swarm/storage: pyramid chunker re-write (#14382) 2017-09-21 22:22:51 +02:00