1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/cmd/utils
Felix Lange 1ca2da81e6
eth/ethconfig: add HistoryMode (#31365)
Here I am adding a config option and geth flag (`--history.chain`) for
configuring history pruning. There are two options available:

- `--history.chain all` is the default and will keep all history like
before.
- `--history.chain postmerge` will configure the history cutoff point to
the merge block.

The option doesn't actually do anything right now, but we need it as a
precursor for other history pruning changes.
2025-03-13 11:43:00 +01:00
..
cmd.go cmd: ctrl-c to halt the whole import process (#31360) 2025-03-12 12:20:40 +01:00
diskusage.go all: add build tags for wasip1 (#31090) 2025-01-30 16:58:53 +01: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: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
flags.go eth/ethconfig: add HistoryMode (#31365) 2025-03-13 11:43:00 +01:00
flags_legacy.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00
flags_test.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
history_test.go build: replace tenv linter with usetesting (#31172) 2025-02-21 13:36:18 +01:00
prompt.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00