-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RealPoint to the StartedPushingBlockToTheLedgerDb
Also remove PushedBlockToTheLedgerDb
- Loading branch information
1 parent
f50db87
commit d76ef34
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
ouroboros-consensus/src/Ouroboros/Consensus/Storage/LedgerDB/Types.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{-# LANGUAGE DeriveGeneric #-} | ||
module Ouroboros.Consensus.Storage.LedgerDB.Types (UpdateLedgerDbTraceEvent (..)) where | ||
|
||
|
||
import GHC.Generics (Generic) | ||
import Ouroboros.Consensus.Block.RealPoint (RealPoint) | ||
|
||
{------------------------------------------------------------------------------- | ||
Trace events | ||
-------------------------------------------------------------------------------} | ||
data UpdateLedgerDbTraceEvent blk = | ||
-- | Event fired when we are about to push a block to the LedgerDB | ||
StartedPushingBlockToTheLedgerDb | ||
-- | Event fired when we successfully pushed a block to the LedgerDB | ||
| PushedBlockToTheLedgerDb | ||
StartedPushingBlockToTheLedgerDb !(RealPoint blk) | ||
deriving (Show, Eq, Generic) |