IntersectMBO / IntersectMBO/ouroboros-consensus

Is the ignore-known-invalid-blocks case in ChainSel dead-code?

Open
#561 0 comments 0 reactions 0 assignees View on GitHub
technical debt
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

How could a block be known as invalid (second case shown here) if it isn't currently in the Volatile DB (first case shown here)?

https://github.com/input-output-hk/ouroboros-network/blob/03f935ec69b5ba814e15b055d8a7779a0d31fe52/ouroboros-consensus/src/Ouroboros/Consensus/Storage/ChainDB/Impl/ChainSel.hs#L294-L301

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.