Move Block in State Checks to Downloaders #2307
Labels
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
NU-5
Network Upgrade: NU5 specific tasks
Move the "block is in the state" checks to the downloaders:
BlockVerifier
We probably want to keep the "block in state" check in the checkpoint verifier. There can be a delay between the downloader sending blocks, and the checkpoint verifier receiving them, due to buffers and service readiness. And I'm pretty sure the checkpoint verifier can panic on duplicate blocks.
This is part of a split of #1820
The text was updated successfully, but these errors were encountered: