ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Storage.ChainDB.Impl.Args

Contents

Synopsis

Documentation

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 :: forall m blk. Monad m => ( RelativeMountPoint -> SomeHasFS m) -> DiskPolicy -> ChainDbArgs 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 :: forall 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 .