256d4b099c
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. |
||
---|---|---|
.. | ||
testdata | ||
beacon_block.go | ||
beacon_block_test.go | ||
committee.go | ||
config.go | ||
exec_header.go | ||
exec_payload.go | ||
gen_header_json.go | ||
gen_syncaggregate_json.go | ||
header.go | ||
light_sync.go |