plugeth/cmd/utils
rjl493456442 3da42f85d9
all: clean up the configs for pruner and snapshotter (#22396)
This PR cleans up the configurations for pruner and snapshotter by passing a config struct.

And also, this PR disables the snapshot background generation if the chain is opened in "read-only" mode. The read-only mode is necessary in some cases. For example, we have a list of commands to open the etheruem node in "read-only" mode, like export-chain. In these cases, the snapshot background generation is non expected and should be banned explicitly.
2022-09-23 20:20:36 +02:00
..
cmd.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
diskusage_openbsd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage_windows.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
export_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
flags_legacy.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
prompt_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
prompt.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00