Skip to content

Add descendants of invalid blocks (they are strictly invalid too) #23

Description

@deadmanoz

Currently only directly invalid blocks are included in this dataset, with descendants of invalid blocks being held out.

Strictly, such blocks are also invalid by their ancestry, so they should be included. Specifically, Bitcoin Core treats these as invalid, returning bad-prevblk for a new header whose parent is already marked invalid.

I think we need to expand the remit of classification so that they indeed are included, but thought to pause before I pulled the trigger on this. I guess this is just another mode of failure, albeit one that is completely externally contextual as opposed to some failure in block template construction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions