You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When optimistic sync is enabled, Teku should ensure it is not subscribed to any gossip except the block gossip topic. Other topics require the block to be fully validated so we are unable to forward gossip while optimistically syncing and would risk being downscored if we stayed subscribed.
On the initial startup, teku only enables gossip once the head block is close enough to the current slot to avoid this same problem because we haven't yet processed blocks. This check needs to be changed to use the optimistic head to enable gossip, but then only subscribe to the block channel until our head block is verified.
The text was updated successfully, but these errors were encountered:
ajsutton
changed the title
[Merge] Use optimistic head to decide when to enable gossip
[Merge] Only subscribe to block gossip during optimistic sync
Jan 17, 2022
Description
When optimistic sync is enabled, Teku should ensure it is not subscribed to any gossip except the block gossip topic. Other topics require the block to be fully validated so we are unable to forward gossip while optimistically syncing and would risk being downscored if we stayed subscribed.
On the initial startup, teku only enables gossip once the head block is close enough to the current slot to avoid this same problem because we haven't yet processed blocks. This check needs to be changed to use the optimistic head to enable gossip, but then only subscribe to the block channel until our head block is verified.
The text was updated successfully, but these errors were encountered: