IntersectMBO / IntersectMBO/ouroboros-consensus

Introduce incremental ticking

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

Description

In input-output-hk/ouroboros-network#2590 we suggested the concept of incremental ticking. We didn't end up needing it for input-output-hk/ouroboros-network#2590, but it might still be useful in other contexts than block forging. I.e., the Mempool and chain selection.

If the mempool ticks the ledger state to the slot of the virtual block it is producing, that expensive computation might be repeated when we do chain selection or block production. So we'd have to shared the cached result between Mempool and ChainDB.

A more useful example is chain selection: if we toggle between two forks multiple times that happen to cross the expensive computation boundary, we'd compute it multiple times.

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.