ouroboros-consensus:unstable-cardano-tools
Safe HaskellNone
LanguageHaskell2010

Cardano.Tools.DBAnalyser.Types

Synopsis

Documentation

defaultLSMDatabasePath ∷ FilePath Source #

The directory holding the working LSM database, used when the node configuration file does not set LedgerDB.Backend.LSM.DatabasePath.

defaultLSMExportPath ∷ FilePath Source #

The directory that --lsm-export exports snapshots into, when the node configuration file does not set LedgerDB.Backend.LSM.ExportPath.

selectLedgerDBBackend ∷ Maybe LedgerDBBackendFlags → Maybe LedgerDBBackend → Maybe LedgerDBBackend Source #

The backend to use, from the one the command line selects and the one the node configuration file selects. The command line wins, but --lsm against a configuration that also selects LSM overrides only what its switches set: the paths come from the configuration, and --lsm-export exports into the configured ExportPath when there is one. Against any other configuration, --lsm starts from the defaults.

data AnalysisName Source #

Instances

Instances details
Show AnalysisName Source # 
Instance details

Defined in Cardano.Tools.DBAnalyser.Types

data DBAnalyserConfig Source #

Constructors

DBAnalyserConfig 

Fields

data LSMFlags Source #

The switches that accompany --lsm. Each can only turn its setting on, so False leaves the setting as the node configuration file has it.

Constructors

LSMFlags 

Fields

data LSMOptions Source #

The settings of the LSM-trees backend.

Constructors

LSMOptions 

Fields

  • lsmDatabasePath ∷ FilePath

    The directory, relative to the LedgerDB filesystem root, holding the working LSM database.

  • lsmExportPath ∷ Maybe FilePath

    The directory, relative to the LedgerDB filesystem root, into which the LSM backend exports snapshots as it takes them. When Nothing, snapshots are not exported.

  • lsmNoDiskCache ∷ Bool

    Bypass the OS page cache for UTxO table reads/writes (instead of caching all). Intended for benchmarking.

data LedgerApplicationMode Source #

Whether to apply blocks to a ledger state via reapplication (eg skipping signature checksPlutus scripts) or full application/ (much slower).

Constructors

LedgerReapply 
LedgerApply 

data LedgerDBBackendFlags Source #

The LedgerDB backend as the command line selects it: --in-mem, or --lsm with its switches.

Constructors

InMemFlag 
LSMFlag LSMFlags 

data Limit Source #

Constructors

Limit Int 
Unlimited 

data ValidateBlocks Source #

The extent of the ChainDB on-disk files validation. This is completely unrelated to validation of the ledger rules.