Skip to content

Commit 13da4e1

Browse files
committed
simulation: removed outdated comments
1 parent cfb8e1d commit 13da4e1

File tree

1 file changed

+0
-3
lines changed
  • simulation/src/LeiosProtocol/Short

1 file changed

+0
-3
lines changed

simulation/src/LeiosProtocol/Short/Node.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ data LeiosNodeState m = LeiosNodeState
121121
, ledgerStateVar :: !(TVar m (Map (HeaderHash RankingBlock) LedgerState))
122122
, ibsNeededForEBVar :: !(TVar m (Map EndorseBlockId (Set InputBlockId)))
123123
, votesForEBVar :: !(TVar m (Map EndorseBlockId CertificateProgress))
124-
-- ^ TODO: prune of EBs that won't make it into chain anymore.
125124
}
126125

127126
type CertificatesProgress = Map EndorseBlockId CertificateProgress
@@ -478,8 +477,6 @@ leiosNode tracer cfg followers peers = do
478477

479478
let computeLedgerStateThreads = [computeLedgerStateThread tracer cfg leiosState]
480479

481-
-- TODO: expiration times to be decided. At least need EB/IBs to be
482-
-- around long enough to compute ledger state if they end in RB.
483480
let pruningThreads =
484481
concat
485482
[ [ pruneExpiredVotes tracer cfg leiosState

0 commit comments

Comments
 (0)