go-ethereum/beacon/types
Felföldi Zsolt 256d4b099c
beacon/light: request finality update explicitly when necessary (#29567)
This PR adds an extra mechanism to sync.HeadSync that tries to retrieve the latest finality update from every server each time it sends an optimistic update in a new epoch (unless we already have a validated finality update attested in the same epoch). 

Note that this is not necessary and does not happen if the new finality update is delivered before the optimistic update. The spec only mandates light_client_finality_update events when a new epoch is finalized. If the chain does not finalize for a while then we might need an explicit request that returns a finality proof that proves the same finality epoch from the latest attested epoch.
2024-04-23 13:31:32 +02:00
..
testdata beacon/blsync: support for deneb fork (#29180) 2024-03-20 19:22:44 +01:00
beacon_block_test.go beacon/blsync: support for deneb fork (#29180) 2024-03-20 19:22:44 +01:00
beacon_block.go beacon/blsync: support for deneb fork (#29180) 2024-03-20 19:22:44 +01:00
committee.go beacon/types: auto-generate SyncCommittee marshaling methods (#27296) 2023-05-19 17:05:50 +03:00
config.go beacon/types: enforce fork order based on known forks list (#29380) 2024-04-04 16:30:27 +02:00
exec_header.go all: fix mismatched names in comments (#29348) 2024-03-26 21:01:28 +01:00
exec_payload.go beacon/light: request finality update explicitly when necessary (#29567) 2024-04-23 13:31:32 +02:00
gen_header_json.go beacon/types: add beacon chain data types (#27292) 2023-05-17 17:39:33 +03:00
gen_syncaggregate_json.go beacon/types: auto-generate SyncCommittee marshaling methods (#27296) 2023-05-19 17:05:50 +03:00
header.go beacon/blsync: support for deneb fork (#29180) 2024-03-20 19:22:44 +01:00
light_sync.go beacon/light: request finality update explicitly when necessary (#29567) 2024-04-23 13:31:32 +02:00