forked from forks/go-ethereum
This PR adds a new `--beacon.checkpoint.file` config flag to geth and blsync which specifies a checkpoint import/export file. If a file with an existing checkpoint is specified, it is used for initialization instead of the hardcoded one (except when `--beacon.checkpoint` is also specified simultaneously). Whenever the client encounters a new valid finality update with a suitable finalized beacon block root at an epoch boundary, it saves the block root in hex format to the checkpoint file. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| diskusage.go | ||
| diskusage_openbsd.go | ||
| diskusage_windows.go | ||
| export_test.go | ||
| flags.go | ||
| flags_legacy.go | ||
| flags_test.go | ||
| history_test.go | ||
| prompt.go | ||