File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,14 @@ data LedgerDB m l blk = LedgerDB
252
252
, getPrevApplied :: STM m (Set (RealPoint blk ))
253
253
-- ^ Get the references to blocks that have previously been applied.
254
254
, garbageCollect :: SlotNo -> m ()
255
- -- ^ Garbage collect references to old blocks that have been previously
256
- -- applied and committed.
255
+ -- ^ Garbage collect references to old state that is older than the given
256
+ -- slot.
257
+ --
258
+ -- Concretely, this affects:
259
+ --
260
+ -- * Ledger states (and potentially underlying handles for on-disk storage).
261
+ --
262
+ -- * The set of previously applied points.
257
263
, tryTakeSnapshot ::
258
264
l ~ ExtLedgerState blk =>
259
265
Maybe (Time , Time ) ->
You can’t perform that action at this time.
0 commit comments