ouroboros-consensus-0.3.1.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Storage.LedgerDB.Types

Description

Deprecated: Use Ouroboros.Consensus.Storage.LedgerDB instead

Documentation

newtype PushGoal blk Source #

Constructors

PushGoal 

Fields

Instances

Instances details
StandardHash blk ⇒ Eq (PushGoal blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

(==)PushGoal blk → PushGoal blk → Bool Source #

(/=)PushGoal blk → PushGoal blk → Bool Source #

StandardHash blk ⇒ Show (PushGoal blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

showsPrecIntPushGoal blk → ShowS Source #

showPushGoal blk → String Source #

showList ∷ [PushGoal blk] → ShowS Source #

newtype PushStart blk Source #

Constructors

PushStart 

Fields

Instances

Instances details
StandardHash blk ⇒ Eq (PushStart blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

(==)PushStart blk → PushStart blk → Bool Source #

(/=)PushStart blk → PushStart blk → Bool Source #

StandardHash blk ⇒ Show (PushStart blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

showsPrecIntPushStart blk → ShowS Source #

showPushStart blk → String Source #

showList ∷ [PushStart blk] → ShowS Source #

newtype Pushing blk Source #

Constructors

Pushing 

Fields

Instances

Instances details
StandardHash blk ⇒ Eq (Pushing blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

(==)Pushing blk → Pushing blk → Bool Source #

(/=)Pushing blk → Pushing blk → Bool Source #

StandardHash blk ⇒ Show (Pushing blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Methods

showsPrecIntPushing blk → ShowS Source #

showPushing blk → String Source #

showList ∷ [Pushing blk] → ShowS Source #

data UpdateLedgerDbTraceEvent blk Source #

Constructors

StartedPushingBlockToTheLedgerDb

Event fired when we are about to push a block to the LedgerDB

Fields

  • !(PushStart blk)

    Point from which we started pushing new blocks

  • (PushGoal blk)

    Point to which we are updating the ledger, the last event StartedPushingBlockToTheLedgerDb will have Pushing and PushGoal wrapping over the same RealPoint

  • !(Pushing blk)

    Point which block we are about to push

Instances

Instances details
StandardHash blk ⇒ Eq (UpdateLedgerDbTraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

StandardHash blk ⇒ Show (UpdateLedgerDbTraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Generic (UpdateLedgerDbTraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Associated Types

type Rep (UpdateLedgerDbTraceEvent blk) ∷ TypeType Source #

type Rep (UpdateLedgerDbTraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

type Rep (UpdateLedgerDbTraceEvent blk) = D1 ('MetaData "UpdateLedgerDbTraceEvent" "Ouroboros.Consensus.Storage.LedgerDB.Update" "ouroboros-consensus-0.3.1.0-inplace" 'False) (C1 ('MetaCons "StartedPushingBlockToTheLedgerDb" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PushStart blk)) :*: (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PushGoal blk)) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Pushing blk)))))