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

Ouroboros.Consensus.Storage.LedgerDB.V1

Description

Many functions here are very similar to the ones in Ouroboros.Consensus.Storage.LedgerDB.V2. When we delete V1, this module will be gone.

Documentation

mkInitDb ∷ ∀ m blk. (LedgerSupportsProtocol blk, IOLike m, HasHardForkHistory blk, LedgerSupportsLedgerDB blk) ⇒ Complete LedgerDbArgs m blk → Complete LedgerDbFlavorArgs m → ResolveBlock m blk → SnapshotManagerV1 m blk → GetVolatileSuffix m blk → InitDB (DbChangelog' blk, ResourceKey m, BackingStore' m blk) m blk Source #