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

Ouroboros.Consensus.Storage.ChainDB.Impl.Args

Synopsis

Documentation

data ChainDbArgs (f ∷ TypeType) (m ∷ TypeType) blk Source #

Constructors

ChainDbArgs 

data ChainDbSpecificArgs (f ∷ TypeType) (m ∷ TypeType) 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 ∷ TypeType) blk. (ConsensusProtocol (BlockProtocol blk), IOLike m) 
ResourceRegistry m 
TopLevelConfig blk 
ExtLedgerState blk ValuesMK

Initial ledger

ChunkInfo 
→ (blk → Bool)

Check integrity

→ (RelativeMountPointSomeHasFS m)

Immutable FS, see NodeDatabasePaths

→ (RelativeMountPointSomeHasFS m)

Volatile FS, see NodeDatabasePaths

Complete LedgerDbFlavorArgs m 
Incomplete ChainDbArgs m blk

A set of incomplete arguments, possibly modified wrt defaultArgs

Complete ChainDbArgs m blk 

defaultArgs ∷ ∀ (m ∷ TypeType) 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.

enableLedgerEvents ∷ ∀ (m ∷ TypeType) blk. Complete ChainDbArgs m blk → Complete ChainDbArgs m blk Source #

ensureValidateAll ∷ ∀ (f ∷ TypeType) (m ∷ TypeType) blk. ChainDbArgs f m blk → ChainDbArgs f m blk Source #

updateQueryBatchSize ∷ ∀ (f ∷ TypeType) (m ∷ TypeType) blk. QueryBatchSizeChainDbArgs f m blk → ChainDbArgs f m blk Source #

updateSnapshotPolicyArgs ∷ ∀ (f ∷ TypeType) (m ∷ TypeType) blk. SnapshotPolicyArgsChainDbArgs f m blk → ChainDbArgs f m blk Source #

updateTracer ∷ ∀ (m ∷ TypeType) blk (f ∷ TypeType). Tracer m (TraceEvent blk) → ChainDbArgs f m blk → ChainDbArgs f m blk Source #