IntersectMBO / IntersectMBO/ouroboros-network
Test what happens when blocks don't match their headers
Open
block-fetch
testing
- Dominant language
- Haskell
- Stars
- 296
- Forks
- 104
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 4
Description
The block fetch logic uses `blockMatchesHeader :: hdr -> blk -> Bool` to check whether a downloaded block matches its header.
We should simulate that this function returns `False` for some blocks, see what happens, and what effect it has on the consensus layer (that initiated the block fetch logic).
Contributor guide
Assessment
This issue has not been assessed yet.