Skip to content

Test what happens when blocks don't match their headers #470

Open
@mrBliss

Description

@mrBliss

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    block-fetchIssues related to block fetch component.testing

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions