IntersectMBO / IntersectMBO/ouroboros-network

Test what happens when blocks don't match their headers

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.