go-ethereum/beacon/blsync
Felföldi Zsolt 9f83e9e673
beacon/blsync: add checkpoint import/export file feature (#31469)
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.
2025-04-03 16:04:11 +02:00
..
block_sync.go beacon/types, beacon/blsync: update for electra (#31243) 2025-03-11 17:17:47 +01:00
block_sync_test.go beacon/blsync: better error information in test (#30336) 2024-08-23 12:29:02 +02:00
client.go beacon/blsync: add checkpoint import/export file feature (#31469) 2025-04-03 16:04:11 +02:00
engineclient.go beacon/types, beacon/blsync: update for electra (#31243) 2025-03-11 17:17:47 +01:00