ouroboros-consensus-0.21.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Storage.ChainDB.Impl.Args

Synopsis

Documentation

data ChainDbArgs f m blk Source #

Constructors

ChainDbArgs 

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.

completeChainDbArgs Source #

Arguments

∷ ∀ m blk. (ConsensusProtocol (BlockProtocol blk), IOLike m) 
ResourceRegistry m 
TopLevelConfig blk 
ExtLedgerState blk

Initial ledger

ChunkInfo 
→ (blk → Bool)

Check integrity

→ (RelativeMountPointSomeHasFS m)

Immutable FS, see NodeDatabasePaths

→ (RelativeMountPointSomeHasFS m)

Volatile FS, see NodeDatabasePaths

Incomplete ChainDbArgs m blk

A set of incomplete arguments, possibly modified wrt defaultArgs

Complete ChainDbArgs m blk 

defaultArgs ∷ ∀ m blk. Monad m ⇒ Incomplete ChainDbArgs 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.

updateTracerTracer m (TraceEvent blk) → ChainDbArgs f m blk → ChainDbArgs f m blk Source #