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

Ouroboros.Consensus.Storage.LedgerDB.V1.Args

Synopsis

Documentation

data BackingStoreArgs (f ∷ TypeType) (m ∷ TypeType) Source #

data FlushFrequency Source #

The number of blocks in the immutable part of the chain that we have to see before we flush the ledger tables to disk. See onDiskShouldFlush.

Constructors

DefaultFlushFrequency

A default value, which is determined by a specific SnapshotPolicy. See defaultSnapshotPolicy as an example.

RequestedFlushFrequency Word64

A requested value: the number of diffs in the immutable part of the chain required before flushing.

DisableFlushing

To disable flushing, to be used in tests

Instances

Instances details
Generic FlushFrequency Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.V1.Args

Associated Types

type Rep FlushFrequency 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.V1.Args

type Rep FlushFrequency = D1 ('MetaData "FlushFrequency" "Ouroboros.Consensus.Storage.LedgerDB.V1.Args" "ouroboros-consensus-0.26.0.0-inplace" 'False) (C1 ('MetaCons "DefaultFlushFrequency" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "RequestedFlushFrequency" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)) :+: C1 ('MetaCons "DisableFlushing" 'PrefixI 'False) (U1TypeType)))
Show FlushFrequency Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.V1.Args

Eq FlushFrequency Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.V1.Args

type Rep FlushFrequency Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.V1.Args

type Rep FlushFrequency = D1 ('MetaData "FlushFrequency" "Ouroboros.Consensus.Storage.LedgerDB.V1.Args" "ouroboros-consensus-0.26.0.0-inplace" 'False) (C1 ('MetaCons "DefaultFlushFrequency" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "RequestedFlushFrequency" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)) :+: C1 ('MetaCons "DisableFlushing" 'PrefixI 'False) (U1TypeType)))

data LedgerDbFlavorArgs (f ∷ TypeType) (m ∷ TypeType) Source #