IntersectMBO / ouroboros-consensus

Implementation of a Consensus Layer for the Ouroboros family of protocols
https://ouroboros-consensus.cardano.intersectmbo.org
Apache License 2.0
31 stars 22 forks source link

Inventorize ouroboros-consensus symbols used by clients #296

Open bartfrenk opened 1 year ago

bartfrenk commented 1 year ago

In the effort of defining a more formal interface for the ouroboros-consensus package it it useful to understand which symbols are actually used by users of the package. This issue is a meta-issue to keep track of which for which users this has been inventorized.

dnadales commented 1 year ago

See several occurences of as Consensus in cardano-node, eg:

import qualified Ouroboros.Consensus.Byron.Ledger as Consensus
import qualified Ouroboros.Consensus.Cardano.Block as Consensus
import qualified Ouroboros.Consensus.Cardano.ByronHFC as Consensus (ByronBlockHFC)
import           Ouroboros.Consensus.HardFork.Combinator as Consensus (EraIndex (..), eraIndexSucc,
                   eraIndexZero)
import qualified Ouroboros.Consensus.Protocol.Praos as Consensus
import qualified Ouroboros.Consensus.Protocol.TPraos as Consensus
import qualified Ouroboros.Consensus.Shelley.HFEras as Consensus
import qualified Ouroboros.Consensus.Shelley.ShelleyHFC as Consensus

from module Cardano.Api.Modes.

dnadales commented 1 year ago

It's wise to do this after UTxO-HD is merged, otherwise, we'll have a yet bigger changeset to merge.