go-ethereum/cmd
Felix Lange 3ceec0ea9b
cmd/geth, internal/era/eradl: add era1 downloader tool (#31823)
This adds a geth subcommand for downloading era1 files and placing them into
the correct location. The tool can be used even while geth is already running
on the datadir. Downloads are checked against a hard-coded list of checksums
for mainnet and sepolia.

```
./geth download-era --server $SERVER --block 333333
./geth download-era --server $SERVER --block 333333-444444
./geth download-era --server $SERVER --epoch 0-10
./geth download-era --server $SERVER --all
```

The implementation reuses the file downloader we already had for
fetching build tools. I've done some refactoring on it to make sure it
can support the new use case, and there are some changes to the build
here as well.
2025-05-15 22:53:26 +02:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00
blsync beacon/blsync: add checkpoint import/export file feature (#31469) 2025-04-03 16:04:11 +02:00
clef all: fix typos in docs and comments (#31548) 2025-04-02 13:52:40 -06:00
devp2p cmd/devp2p: test for non-existent block request (#31506) 2025-05-02 08:31:50 -06:00
era cmd: use package filepath over path for file system operations (#29227) 2024-03-12 10:00:34 +01:00
ethkey cmd: fix some typos in readmes (#29405) 2024-04-11 14:06:49 +03:00
evm core: fail execution if system call fails to execute (#31639) 2025-04-19 13:42:54 +02:00
geth cmd/geth, internal/era/eradl: add era1 downloader tool (#31823) 2025-05-15 22:53:26 +02:00
rlpdump build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
utils cmd/utils: always record preimages in dev mode (#31821) 2025-05-15 15:32:20 +08:00
workload core: initialize history pruning in BlockChain (#31636) 2025-04-15 14:32:46 +02:00