op-geth/cmd/utils
jwasinger 7227c9ef07
cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135)
`geth dumpgenesis` currently does not respect the content of the data directory. Instead, it outputs the genesis block created by command-line flags. This PR fixes it to read the genesis from the database, if the database already exists.


Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-09-26 13:55:18 +02:00
..
cmd.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
diskusage.go all: more linters (#24783) 2022-06-13 16:24:45 +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
export_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
flags.go cmd/geth: make dumpgenesis load genesis datadir if it exists (#25135) 2022-09-26 13:55:18 +02:00
flags_legacy.go cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
prompt.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
prompt_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00