lotus/chain/consensus/filcns
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
..
filecoin.go feat: sync: validate (early) that blocks fall within range (#10691) 2023-04-22 10:15:31 -07:00
FVMLiftoff.txt feat: move banner, embed, and run at v8 upgrade only 2022-06-22 12:41:14 -07:00
mine.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
upgrades.go feat: vm: switch to the new exec trace format (#10372) 2023-03-01 16:02:18 -08:00
weight.go Address simple linter issues 2022-11-24 16:32:27 +00:00