ouroboros-consensus-0.18.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 
CheckInFuture m blk 
TopLevelConfig blk 
ExtLedgerState blk

Initial ledger

ChunkInfo 
→ (blk → Bool)

Check integrity

→ (RelativeMountPointSomeHasFS m) 
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 #