IntersectMBO / IntersectMBO/ouroboros-consensus

Chain DB: use addBlock queue as BlockCache

Open
#708 2 comments 0 reactions 0 assignees View on GitHub
🏎️ 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

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.