go-ethereum/cmd/geth
Sina Mahmoodi 0559a9a61e
cmd/geth: exit when freezer has legacy receipts (#24943)
In #24028 we flagged a warning when finding legacy receipts in the freezer. This PR nudges users a bit more strongly by preventing geth from starting in this case until receipts have been migrated.

It also adds a flag --ignore-legacy-receipts which when present allows geth to start normally.
2022-05-26 09:22:10 +02:00
..
testdata cmd/geth: update vulnerabilities.json testdata (#24856) 2022-05-16 13:41:36 +02:00
accountcmd_test.go all: replace non-trivial uses of package ioutil with os (#24886) 2022-05-17 14:27:04 +02:00
accountcmd.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
chaincmd.go cmd/geth: fix init genesis for dev (#24693) 2022-05-04 16:14:14 +02:00
config.go cmd/geth: exit when freezer has legacy receipts (#24943) 2022-05-26 09:22:10 +02:00
consolecmd_test.go params: set ropsten TTD for TheMerge (#24876) 2022-05-16 07:32:56 +03:00
consolecmd.go cmd: group network and db path flags together (#24698) 2022-05-03 08:46:17 +02:00
dao_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
dbcmd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
genesis_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
les_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
main.go cmd/geth: exit when freezer has legacy receipts (#24943) 2022-05-26 09:22:10 +02:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
snapshot.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
usage.go cmd/geth: exit when freezer has legacy receipts (#24943) 2022-05-26 09:22:10 +02:00
version_check_test.go all: replace non-trivial uses of package ioutil with os (#24886) 2022-05-17 14:27:04 +02:00
version_check.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00