1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/build
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
..
bot build/bot: create .ssh directory in ppa-build.sh (#24922) 2022-05-20 17:25:17 +02:00
deb/ethereum build/deb: add step for new Go bootstrap to debian rules (#31283) 2025-02-27 17:52:22 +01:00
tools all: remove deprecated protobuf dependencies (#30232) 2024-08-01 16:25:55 +02:00
checksums.txt build: upgrade -dlgo version to Go 1.24.2 (#31538) 2025-04-11 11:28:14 +02:00
ci-notes.md travis, build, internal: use own Go bundle for PPA builds (#20240) 2019-11-05 15:32:42 +02:00
ci.go cmd/geth, internal/era/eradl: add era1 downloader tool (#31823) 2025-05-15 22:53:26 +02:00
goimports.sh build: make build/goimports.sh more potable 2018-06-26 22:04:27 +09:00
nsis.envvarupdate.nsh build: fix windows installer build for NSIS v3.05 (#22821) 2021-05-05 12:19:51 +02:00
nsis.geth.nsi build: fix typo in comment (#28800) 2024-01-12 14:22:45 +01:00
nsis.install.nsh build: fix CLI params for windows LNK files (#21055) 2020-05-11 10:05:37 +03:00
nsis.pathupdate.nsh build: safe update of PATH on Windows (#3419) 2016-12-11 00:01:57 +01:00
nsis.simplefc.dll build: NSIS based Windows installer (#3240) 2016-11-08 22:55:39 +01:00
nsis.simplefc.source.zip build: NSIS based Windows installer (#3240) 2016-11-08 22:55:39 +01:00
nsis.uninstall.nsh build: safe update of PATH on Windows (#3419) 2016-12-11 00:01:57 +01:00
travis_keepalive.sh travis.yml: add race detector job for Swarm (#19148) 2019-02-22 14:20:21 +01:00
update-license.go build: fix string compare for SortFunc (#29595) 2024-04-21 11:14:13 +02:00