go-ethereum/eth/ethconfig
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
..
config.go eth/ethconfig: add HistoryMode (#31365) 2025-03-13 11:43:00 +01:00
gen_config.go eth/ethconfig: add HistoryMode (#31365) 2025-03-13 11:43:00 +01:00
historymode.go eth/ethconfig: add HistoryMode (#31365) 2025-03-13 11:43:00 +01:00
syncmode.go eth/downloader: move SyncMode to package eth/ethconfig (#30847) 2024-12-03 09:30:26 +01:00