Files
lotus/chain
Steven Allen 784214ae05 feat: sync: validate (early) that blocks fall within range (#10691)
This will reject blocks in pubsub validation if they're either:

1. Too far into the future (5 blocks beyond the expected head).
2. Too far into the past (before finality with respect to our current
   head).

Specifically:

1. We were previously rejecting future blocks in the sync logic, but not
   in pubsub itself.
2. 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.
2023-04-22 10:15:31 -07:00
..
2023-01-04 20:10:21 +08:00
2022-11-24 16:32:27 +00:00
2023-04-21 20:03:13 +00:00
2022-08-29 16:25:30 +02:00
2022-11-09 11:38:16 +02:00
2023-03-30 18:11:44 +03:00
2022-06-14 17:00:51 +02:00
2022-08-29 16:25:30 +02:00
2022-08-25 14:20:41 -04:00
2020-10-28 20:22:07 +01:00
2022-08-29 16:25:30 +02:00