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

Ouroboros.Consensus.Storage.ChainDB.Impl.Args

Contents

Synopsis

Documentation

data ChainDbArgs f m blk Source #

Constructors

ChainDbArgs 

Fields

data ChainDbSpecificArgs f m blk Source #

Arguments specific to the ChainDB, not to the ImmutableDB, VolatileDB, or LedgerDB.

Constructors

ChainDbSpecificArgs 

Fields

newtype RelativeMountPoint Source #

A relative path for a MountPoint

The root is determined by context.

defaultArgs ∷ ∀ m blk. Monad m ⇒ (RelativeMountPointSomeHasFS m) → DiskPolicyChainDbArgs Defaults m blk Source #

Default arguments

See defaultArgs, defaultArgs, defaultArgs, and defaultSpecificArgs for a list of which fields are not given a default and must therefore be set explicitly.

Internal

fromChainDbArgs ∷ ∀ m blk f. MapHKD f ⇒ ChainDbArgs f m blk → (ImmutableDbArgs f m blk, VolatileDbArgs f m blk, LgrDbArgs f m blk, ChainDbSpecificArgs f m blk) Source #

Internal: split ChainDbArgs into ImmutableDbArgs, 'VolatileDbArgs, LgrDbArgs, and ChainDbSpecificArgs.