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. |
||
|---|---|---|
| .. | ||
| api | ||
| request | ||
| sync | ||
| canonical.go | ||
| committee_chain.go | ||
| committee_chain_test.go | ||
| head_tracker.go | ||
| range.go | ||
| test_helpers.go | ||