IntersectMBO / IntersectMBO/ouroboros-consensus
Chain DB: use addBlock queue as BlockCache
Open
🏎️ performance
- Dominant language
- Haskell
- Stars
- 67
- Forks
- 43
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 43
Description
In input-output-hk/ouroboros-network#1709, we introduced a queue for `ChainDb.addBlock`. We can use the blocks in this queue to populate [`BlockCache`](https://github.com/input-output-hk/ouroboros-network/blob/5a5523cd7c9e864b92072fd2e756c54704382588/ouroboros-consensus/src/Ouroboros/Consensus/Storage/ChainDB/Impl/BlockCache.hs)
This might get more complicated with input-output-hk/ouroboros-consensus#709.
Contributor guide
Assessment
This issue has not been assessed yet.