Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data DBTruncaterConfig Source #
data TruncateAfter Source #
Where to truncate the ImmutableDB.
TruncateAfterSlot SlotNo | Truncate after the given slot number, deleting all blocks with a higher slot number. |
TruncateAfterBlock BlockNo | Truncate after the given block number (such that the new tip has this block number). |
Instances
Show TruncateAfter Source # | |
Defined in Cardano.Tools.DBTruncater.Types showsPrec ∷ Int → TruncateAfter → ShowS # show ∷ TruncateAfter → String # showList ∷ [TruncateAfter] → ShowS # | |
Eq TruncateAfter Source # | |
Defined in Cardano.Tools.DBTruncater.Types (==) ∷ TruncateAfter → TruncateAfter → Bool # (/=) ∷ TruncateAfter → TruncateAfter → Bool # |