ouroboros-consensus-0.1.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Storage.ChainDB.Init

Description

Intended for qualified import

import Ouroboros.Consensus.Storage.ChainDB.Init (InitChainDB)
import qualified Ouroboros.Consensus.Storage.ChainDB.Init as InitChainDB
Synopsis

Documentation

data InitChainDB m blk Source #

Restricted interface to the ChainDB used on node initialization

Constructors

InitChainDB 

Fields

Instances

Instances details
Functor m ⇒ Isomorphic (InitChainDB m) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary

Methods

projectNoHardForks blk ⇒ InitChainDB m (HardForkBlock '[blk]) → InitChainDB m blk Source #

injectNoHardForks blk ⇒ InitChainDB m blk → InitChainDB m (HardForkBlock '[blk]) Source #

fromFull ∷ (IsLedger (LedgerState blk), IOLike m) ⇒ ChainDB m blk → InitChainDB m blk Source #

mapFunctor m ⇒ (blk' → blk) → (LedgerState blk → LedgerState blk') → InitChainDB m blk → InitChainDB m blk' Source #