Skip to content

peg-in witness invalid blocks disk at on start cause log spam/DoS  #424

Description

@instagibbs

FindMostWorkChain is used during import of blockchain to find if there's something in chainstate that has more height and isn't provably bad.

Due to our RPC-dependency(and the fact that a previously invalid block can become valid just by Bitcoin confirmations. This makes the block "Corruption possible". This means that FindMostWorkChain will select these blocks that have failed.

During ThreadImport, it goes in a loop trying to validate this block that is on disk, failing, and retrying as fast as possible forever, or until confirmations/RPC connection is re-attained.

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