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
This will reject blocks in pubsub validation if they're either:
Too far into the future (5 blocks beyond the expected head).
Too far into the past (before finality).
Specifically:
We were previously rejecting future blocks in the sync logic, but not in pubsub itself.
We never used to check if a block was too old.
Motivation: Blocks that are too new/too old can cause us to perform quite a bit of unnecessary work.
We should carefully consider that second check as we may need to tweak it (e.g., to handle network issues?). We may want to base this check on the latest synced head, not the expected epoch.
The text was updated successfully, but these errors were encountered:
@diwufeiwen 大佬,这个是不是就是你之前说的,直接协议里面验证后来的区块,直接否定掉?
关联:
The text was updated successfully, but these errors were encountered: