Moduleouroboros-consensus-4.2.1.0
Ouroboros.Consensus.Storage.ChainDB
- 42 types
- 1 class
- 24 values
- Packageouroboros-consensus-4.2.1.0
- Exports67
- LicenceApache-2.0
value
defaultArgs :: (IOLike m, LedgerDbSerialiseConstraints blk, LedgerSupportsProtocol blk, CanUpgradeLedgerTables LedgerState blk) => Incomplete ChainDbArgs m blkInstances8Eq, Show, Generic, NFData, Serialise, NoThunks, …
Eq IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBShow IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBGeneric IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBNFData IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBSerialise IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBNoThunks IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBCondense IsEBBDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBBtype Rep IsEBB = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.EBB"IsEBB"
"Ouroboros.Consensus.Block.EBB"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"IsEBB"
'PrefixI 'False) U1 :+: C1 ('MetaCons"IsNotEBB"
'PrefixI 'False) U1)
Constructors
AddBlockPromiseblockWrittenToDisk :: STM m BoolblockProcessed :: STM m (AddBlockResult blk)
Constructors
Instances2Eq, Show
StandardHash blk => Eq (AddBlockResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIStandardHash blk => Show (AddBlockResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Instances6Eq, Ord, Show, Generic, NoThunks, Rep
Eq AddPerasCertChainSelOutcomeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIOrd AddPerasCertChainSelOutcomeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIShow AddPerasCertChainSelOutcomeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIGeneric AddPerasCertChainSelOutcomeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APINoThunks AddPerasCertChainSelOutcomeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype Rep AddPerasCertChainSelOutcome = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API"AddPerasCertChainSelOutcome"
"Ouroboros.Consensus.Storage.ChainDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"PerasCertIgnoredTooOld"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"PerasCertNotProcessedClosing"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PerasCertProcessed"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AddPerasCertResult))))
Constructors
Constructors
ChainDBaddBlockAsync :: InvalidBlockPunishment m -> blk -> m (AddBlockPromise m blk)chainSelAsync :: m (ChainSelectionPromise m)getCurrentChain :: STM m (AnchoredFragment (Header blk))getCurrentChainWithTime :: STM m (AnchoredFragment (HeaderWithTime blk))getCurrentLedger :: STM m (ExtLedgerState blk EmptyMK)getImmutableLedger :: STM m (ExtLedgerState blk EmptyMK)getPastLedger :: Point blk -> STM m (Maybe (ExtLedgerState blk EmptyMK))getHeaderStateHistory :: STM m (HeaderStateHistory blk)allocInRegistryReadOnlyForkerAtPoint :: Target (Point blk) -> ResourceRegistry m -> m (Either GetForkerError (ResourceKey m, ReadOnlyForker' m blk))openReadOnlyForkerAtPoint :: Target (Point blk) -> m (Either GetForkerError (ReadOnlyForker' m blk))withReadOnlyForkerAtPoint :: forall r. Target (Point blk) -> (Either GetForkerError (ReadOnlyForker' m blk) -> WithEarlyExit m r) -> WithEarlyExit m rgetTipBlock :: m (Maybe blk)getTipHeader :: m (Maybe (Header blk))getTipPoint :: STM m (Point blk)getBlockComponent :: forall b. BlockComponent blk b -> RealPoint blk -> m (Maybe b)getIsFetched :: STM m (Point blk -> Bool)getIsValid :: STM m (RealPoint blk -> Maybe Bool)getMaxSlotNo :: STM m MaxSlotNostream :: forall b. ResourceRegistry m -> BlockComponent blk b -> StreamFrom blk -> StreamTo blk -> m (Either (UnknownRange blk) (Iterator m blk b))newFollower :: forall b. ResourceRegistry m -> ChainType -> BlockComponent blk b -> m (Follower m blk b)getIsInvalidBlock :: STM m (WithFingerprint (HeaderHash blk -> Maybe (ExtValidationError blk)))getChainSelStarvation :: STM m ChainSelStarvationgetStatistics :: m StatisticsgetPerasWeightSnapshot :: STM m (WithFingerprint (PerasWeightSnapshot blk))getLatestPerasCertSeen :: STM m (Maybe (WithArrivalTime (ValidatedPerasCert blk)))getLatestPerasCertOnChainRound :: STM m (Maybe PerasRoundNo)addPerasCertAsync :: WithArrivalTime (ValidatedPerasCert blk) -> m (AddPerasCertPromise m)getPerasCertsAfter :: PerasCertTicketNo -> STM m (Map PerasCertTicketNo (m (WithArrivalTime (ValidatedPerasCert blk))))getPerasCertIds :: STM m (Set PerasRoundNo)addPerasVoteWithAsyncCertHandling :: WithArrivalTime (ValidatedPerasVote blk) -> m (AddPerasVoteResult blk, Maybe (AddPerasCertPromise m))getPerasVotesAfter :: PerasVoteTicketNo -> STM m (Map PerasVoteTicketNo (WithArrivalTime (ValidatedPerasVote blk)))getPerasVoteIds :: STM m (Set (PerasVoteId blk))waitForImmutableBlock :: RealPoint blk -> m (Either SeekBlockError (RealPoint blk))closeDB :: m ()isOpen :: STM m Bool
Constructors
Instances2Show, Exception
(Typeable blk, StandardHash blk) => Show (ChainDbError blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API(Typeable blk, StandardHash blk) => Exception (ChainDbError blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
Instances2Show, Exception
StandardHash blk => Show (ChainDbFailure blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API(Typeable blk, StandardHash blk) => Exception (ChainDbFailure blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
Instances4Eq, Show, Generic, Rep
Eq ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIShow ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIGeneric ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype Rep ChainType = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API"ChainType"
"Ouroboros.Consensus.Storage.ChainDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"SelectedChain"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TentativeChain"
'PrefixI 'False) U1)
Constructors
FollowerfollowerInstruction :: m (Maybe (ChainUpdate blk a))followerInstructionBlocking :: m (ChainUpdate blk a)followerForward :: [Point blk] -> m (Maybe (Point blk))followerClose :: m ()
Constructors
IteratoriteratorNext :: m (IteratorResult blk b)iteratorClose :: m ()
Instances3Functor, Foldable, Traversable
Functor m => Functor (Iterator m blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIFoldable m => Foldable (Iterator m blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APITraversable m => Traversable (Iterator m blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
Instances5Functor, Foldable, Traversable, Eq, Show
Functor (IteratorResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIFoldable (IteratorResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APITraversable (IteratorResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API(Eq blk, Eq b, StandardHash blk) => Eq (IteratorResult blk b)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API(Show blk, Show b, StandardHash blk) => Show (IteratorResult blk b)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
Instances8Functor, Foldable, Traversable, Eq, Show, Generic, …
Functor LoEDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIFoldable LoEDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APITraversable LoEDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIEq a => Eq (LoE a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIShow a => Show (LoE a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIGeneric (LoE a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APINoThunks a => NoThunks (LoE a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype Rep (LoE a) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API"LoE"
"Ouroboros.Consensus.Storage.ChainDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"LoEDisabled"
'PrefixI 'False) U1 :+: C1 ('MetaCons"LoEEnabled"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))
Constructors
MissingBlock (RealPoint blk)ForkTooOld (StreamFrom blk)
Instances2Eq, Show
StandardHash blk => Eq (UnknownRange blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIStandardHash blk => Show (UnknownRange blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
WithPointwithoutPoint :: !bpoint :: !Point blk
Instances2StandardHash, HeaderHash
StandardHash blk => StandardHash (WithPoint blk b)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype HeaderHash (WithPoint blk b) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API
Constructors
ChainDbArgscdbImmDbArgs :: ImmutableDbArgs f m blkcdbVolDbArgs :: VolatileDbArgs f m blkcdbLgrDbArgs :: LedgerDbArgs f m blkcdbPerasCertDbArgs :: PerasCertDbArgs f m blkcdbPerasVoteDbArgs :: PerasVoteDbArgs f m blkcdbsArgs :: ChainDbSpecificArgs f m blk
Constructors
Constructors
InternalintCopyToImmutableDB :: m (WithOrigin SlotNo)intGarbageCollect :: SlotNo -> m ()intTryTakeSnapshot :: m ()intAddBlockRunner :: m VoidintKillBgThreads :: StrictTVar m (m ())
Constructors
Instances4Eq, Show, Generic, Rep
(Eq (TiebreakerView (BlockProtocol blk)), StandardHash blk) => Eq (SelectionChangedInfo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types(Show (TiebreakerView (BlockProtocol blk)), StandardHash blk) => Show (SelectionChangedInfo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (SelectionChangedInfo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (SelectionChangedInfo blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"SelectionChangedInfo"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"SelectionChangedInfo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"newTipPoint"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)) :*: (S1 ('MetaSel ('Just"newTipEpoch"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just"newTipSlotInEpoch"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) :*: (S1 ('MetaSel ('Just"newTipTrigger"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RealPoint blk))) :*: (S1 ('MetaSel ('Just"newSuffixSelectView"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WeightedSelectView (BlockProtocol blk))) :*: S1 ('MetaSel ('Just"oldSuffixSelectView"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (WeightedSelectView (BlockProtocol blk))))))))
class
class (ImmutableDbSerialiseConstraints blk, LedgerDbSerialiseConstraints blk, VolatileDbSerialiseConstraints blk, EncodeDiskDep (NestedCtxt Header) blk) => SerialiseDiskConstraints blkInstances1SerialiseDiskConstraints
SerialiseHFC xs => SerialiseDiskConstraints (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphan
Constructors
IgnoreBlockOlderThanImmTip (RealPoint blk)IgnoreBlockAlreadyInVolatileDB (RealPoint blk)IgnoreInvalidBlock (RealPoint blk) (ExtValidationError blk)AddedBlockToQueue (RealPoint blk) (Enclosing' Word)PoppingFromQueuePoppedBlockFromQueue (RealPoint blk)AddedReprocessLoEBlocksToQueue (Enclosing' Word)PoppedReprocessLoEBlocksFromQueueAddedBlockToVolatileDB (RealPoint blk) BlockNo IsEBB EnclosingTryAddToCurrentChain (RealPoint blk)TrySwitchToAFork (RealPoint blk) (ChainDiff (HeaderFields blk))StoreButDontChange (RealPoint blk)ChainSelectionLoEDebug (AnchoredFragment (Header blk)) (LoE (AnchoredFragment (Header blk)))AddedToCurrentChain [LedgerEvent blk] (SelectionChangedInfo blk) (AnchoredFragment (Header blk)) (AnchoredFragment (Header blk)) (ReasonForSwitch' blk)SwitchedToAFork [LedgerEvent blk] (SelectionChangedInfo blk) (AnchoredFragment (Header blk)) (AnchoredFragment (Header blk)) (ReasonForSwitch' blk)AddBlockValidation (TraceValidationEvent blk)PipeliningEvent (TracePipeliningEvent blk)ChangingSelection (Point blk)
Instances4Eq, Show, Generic, Rep
(Eq (Header blk), LedgerSupportsProtocol blk, InspectLedger blk, Eq (ReasonForSwitch (WithEmptyFragment (WeightedSelectView (BlockProtocol blk)))), Eq (ReasonForSwitch (SelectView (BlockProtocol blk)))) => Eq (TraceAddBlockEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types(Show (Header blk), LedgerSupportsProtocol blk, InspectLedger blk, Show (ReasonForSwitch (WithEmptyFragment (WeightedSelectView (BlockProtocol blk)))), Show (ReasonForSwitch (SelectView (BlockProtocol blk)))) => Show (TraceAddBlockEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceAddBlockEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceAddBlockEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceAddBlockEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) ((((C1 ('MetaCons"IgnoreBlockOlderThanImmTip"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"IgnoreBlockAlreadyInVolatileDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)))) :+: (C1 ('MetaCons"IgnoreInvalidBlock"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ExtValidationError blk))) :+: C1 ('MetaCons"AddedBlockToQueue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Enclosing' Word))))) :+: ((C1 ('MetaCons"PoppingFromQueue"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PoppedBlockFromQueue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)))) :+: (C1 ('MetaCons"AddedReprocessLoEBlocksToQueue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Enclosing' Word))) :+: (C1 ('MetaCons"PoppedReprocessLoEBlocksFromQueue"
'PrefixI 'False) U1 :+: C1 ('MetaCons"AddedBlockToVolatileDB"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockNo)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsEBB) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Enclosing))))))) :+: (((C1 ('MetaCons"TryAddToCurrentChain"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"TrySwitchToAFork"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ChainDiff (HeaderFields blk))))) :+: (C1 ('MetaCons"StoreButDontChange"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"ChainSelectionLoEDebug"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk))) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (LoE (AnchoredFragment (Header blk))))))) :+: ((C1 ('MetaCons"AddedToCurrentChain"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LedgerEvent blk]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SelectionChangedInfo blk))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk))) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ReasonForSwitch' blk))))) :+: C1 ('MetaCons"SwitchedToAFork"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LedgerEvent blk]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SelectionChangedInfo blk))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk))) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ReasonForSwitch' blk)))))) :+: (C1 ('MetaCons"AddBlockValidation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceValidationEvent blk))) :+: (C1 ('MetaCons"PipeliningEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TracePipeliningEvent blk))) :+: C1 ('MetaCons"ChangingSelection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))))))))
Constructors
AddedPerasCertToQueue PerasRoundNo (Point blk) (Enclosing' Word)PoppedPerasCertFromQueue PerasRoundNo (Point blk)IgnorePerasCertTooOld PerasRoundNo (Point blk) (Anchor blk)PerasCertBoostsCurrentChain PerasRoundNo (Point blk)PerasCertBoostsGenesis PerasRoundNoPerasCertBoostsBlockNotYetReceived PerasRoundNo (Point blk)ChainSelectionForBoostedBlock PerasRoundNo (Point blk)
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceAddPerasCertEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceAddPerasCertEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceAddPerasCertEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceAddPerasCertEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceAddPerasCertEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) ((C1 ('MetaCons"AddedPerasCertToQueue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Enclosing' Word)))) :+: (C1 ('MetaCons"PoppedPerasCertFromQueue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons"IgnorePerasCertTooOld"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Anchor blk)))))) :+: ((C1 ('MetaCons"PerasCertBoostsCurrentChain"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons"PerasCertBoostsGenesis"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo))) :+: (C1 ('MetaCons"PerasCertBoostsBlockNotYetReceived"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons"ChainSelectionForBoostedBlock"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))))))
Constructors
ChainSelStarvation (Enclosing' (RealPoint blk))
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceChainSelStarvationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceChainSelStarvationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceChainSelStarvationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceChainSelStarvationEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceChainSelStarvationEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"ChainSelStarvation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Enclosing' (RealPoint blk)))))
Constructors
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceCopyToImmutableDBEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceCopyToImmutableDBEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceCopyToImmutableDBEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceCopyToImmutableDBEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceCopyToImmutableDBEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"CopiedBlockToImmutableDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons"NoBlocksToCopyToImmutableDB"
'PrefixI 'False) U1)
Constructors
TraceAddBlockEvent (TraceAddBlockEvent blk)TraceFollowerEvent (TraceFollowerEvent blk)TraceCopyToImmutableDBEvent (TraceCopyToImmutableDBEvent blk)TraceGCEvent (TraceGCEvent blk)TraceInitChainSelEvent (TraceInitChainSelEvent blk)TraceOpenEvent (TraceOpenEvent blk)TraceIteratorEvent (TraceIteratorEvent blk)TraceLedgerDBEvent (TraceEvent blk)TraceImmutableDBEvent (TraceEvent blk)TraceVolatileDBEvent (TraceEvent blk)TracePerasCertDbEvent (TraceEvent blk)TracePerasVoteDbEvent (TraceEvent blk)TraceLastShutdownUncleanTraceChainSelStarvationEvent (TraceChainSelStarvationEvent blk)TraceAddPerasCertEvent (TraceAddPerasCertEvent blk)
Instances3Show, Generic, Rep
(Show (Header blk), LedgerSupportsProtocol blk, InspectLedger blk, Show (TraceAddBlockEvent blk)) => Show (TraceEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (((C1 ('MetaCons"TraceAddBlockEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceAddBlockEvent blk))) :+: (C1 ('MetaCons"TraceFollowerEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceFollowerEvent blk))) :+: C1 ('MetaCons"TraceCopyToImmutableDBEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceCopyToImmutableDBEvent blk))))) :+: ((C1 ('MetaCons"TraceGCEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceGCEvent blk))) :+: C1 ('MetaCons"TraceInitChainSelEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceInitChainSelEvent blk)))) :+: (C1 ('MetaCons"TraceOpenEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceOpenEvent blk))) :+: C1 ('MetaCons"TraceIteratorEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceIteratorEvent blk)))))) :+: (((C1 ('MetaCons"TraceLedgerDBEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceEvent blk))) :+: C1 ('MetaCons"TraceImmutableDBEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceEvent blk)))) :+: (C1 ('MetaCons"TraceVolatileDBEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceEvent blk))) :+: C1 ('MetaCons"TracePerasCertDbEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceEvent blk))))) :+: ((C1 ('MetaCons"TracePerasVoteDbEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceEvent blk))) :+: C1 ('MetaCons"TraceLastShutdownUnclean"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"TraceChainSelStarvationEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceChainSelStarvationEvent blk))) :+: C1 ('MetaCons"TraceAddPerasCertEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceAddPerasCertEvent blk)))))))
Constructors
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceFollowerEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceFollowerEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceFollowerEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceFollowerEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceFollowerEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) ((C1 ('MetaCons"NewFollower"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FollowerNoLongerInMem"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FollowerRollState blk)))) :+: (C1 ('MetaCons"FollowerSwitchToMem"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithOrigin SlotNo))) :+: C1 ('MetaCons"FollowerNewImmIterator"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithOrigin SlotNo)))))
Constructors
Instances4Eq, Show, Generic, Rep
Eq (TraceGCEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesShow (TraceGCEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceGCEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceGCEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceGCEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"ScheduledGC"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SlotNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Time)) :+: C1 ('MetaCons"PerformedGC"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SlotNo)))
Instances4Eq, Show, Generic, Rep
(Eq (Header blk), LedgerSupportsProtocol blk) => Eq (TraceInitChainSelEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types(Show (Header blk), LedgerSupportsProtocol blk) => Show (TraceInitChainSelEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceInitChainSelEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceInitChainSelEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceInitChainSelEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"StartedInitChainSelection"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"InitialChainSelected"
'PrefixI 'False) U1 :+: C1 ('MetaCons"InitChainSelValidation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceValidationEvent blk)))))
Constructors
UnknownRangeRequested (UnknownRange blk)StreamFromVolatileDB (StreamFrom blk) (StreamTo blk) [RealPoint blk]StreamFromImmutableDB (StreamFrom blk) (StreamTo blk)StreamFromBoth (StreamFrom blk) (StreamTo blk) [RealPoint blk]BlockMissingFromVolatileDB (RealPoint blk)BlockWasCopiedToImmutableDB (RealPoint blk)BlockGCedFromVolatileDB (RealPoint blk)SwitchBackToVolatileDB
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceIteratorEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceIteratorEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceIteratorEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceIteratorEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceIteratorEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (((C1 ('MetaCons"UnknownRangeRequested"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (UnknownRange blk))) :+: C1 ('MetaCons"StreamFromVolatileDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamFrom blk)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamTo blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RealPoint blk])))) :+: (C1 ('MetaCons"StreamFromImmutableDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamFrom blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamTo blk))) :+: C1 ('MetaCons"StreamFromBoth"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamFrom blk)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StreamTo blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RealPoint blk]))))) :+: ((C1 ('MetaCons"BlockMissingFromVolatileDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"BlockWasCopiedToImmutableDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk)))) :+: (C1 ('MetaCons"BlockGCedFromVolatileDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"SwitchBackToVolatileDB"
'PrefixI 'False) U1)))
Constructors
StartedOpeningDBOpenedDB (Point blk) (Point blk)ClosedDB (Point blk) (Point blk)StartedOpeningImmutableDBOpenedImmutableDB (Point blk) ChunkNoStartedOpeningVolatileDBOpenedVolatileDB MaxSlotNoStartedOpeningLgrDBOpenedLgrDB
Instances4Eq, Show, Generic, Rep
StandardHash blk => Eq (TraceOpenEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesStandardHash blk => Show (TraceOpenEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceOpenEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceOpenEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceOpenEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (((C1 ('MetaCons"StartedOpeningDB"
'PrefixI 'False) U1 :+: C1 ('MetaCons"OpenedDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)))) :+: (C1 ('MetaCons"ClosedDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons"StartedOpeningImmutableDB"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"OpenedImmutableDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChunkNo)) :+: C1 ('MetaCons"StartedOpeningVolatileDB"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"OpenedVolatileDB"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MaxSlotNo)) :+: (C1 ('MetaCons"StartedOpeningLgrDB"
'PrefixI 'False) U1 :+: C1 ('MetaCons"OpenedLgrDB"
'PrefixI 'False) U1))))
Constructors
SetTentativeHeader (Header blk) EnclosingTrapTentativeHeader (Header blk)OutdatedTentativeHeader (Header blk)
Instances2Eq, Show
Eq (Header blk) => Eq (TracePipeliningEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesShow (Header blk) => Show (TracePipeliningEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types
Constructors
InvalidBlock (ExtValidationError blk) (RealPoint blk)ValidCandidate (AnchoredFragment (Header blk))UpdateLedgerDbTraceEvent (TraceValidateEvent blk)
Instances4Eq, Show, Generic, Rep
(Eq (Header blk), LedgerSupportsProtocol blk) => Eq (TraceValidationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types(Show (Header blk), LedgerSupportsProtocol blk) => Show (TraceValidationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.TypesGeneric (TraceValidationEvent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Typestype Rep (TraceValidationEvent blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.Impl.Types"TraceValidationEvent"
"Ouroboros.Consensus.Storage.ChainDB.Impl.Types"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"InvalidBlock"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ExtValidationError blk)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))) :+: (C1 ('MetaCons"ValidCandidate"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredFragment (Header blk)))) :+: C1 ('MetaCons"UpdateLedgerDbTraceEvent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TraceValidateEvent blk)))))
Constructors
GetVerifiedBlock :: BlockComponent blk blkGetBlock :: BlockComponent blk blkGetRawBlock :: BlockComponent blk ByteStringGetHeader :: BlockComponent blk (Header blk)GetRawHeader :: BlockComponent blk ByteStringGetHash :: BlockComponent blk (HeaderHash blk)GetSlot :: BlockComponent blk SlotNoGetIsEBB :: BlockComponent blk IsEBBGetBlockSize :: BlockComponent blk SizeInBytesGetHeaderSize :: BlockComponent blk Word16GetNestedCtxt :: BlockComponent blk (SomeSecond (NestedCtxt Header) blk)GetPure :: a -> BlockComponent blk aGetApply :: BlockComponent blk (a1 -> a) -> BlockComponent blk a1 -> BlockComponent blk a
Instances2Functor, Applicative
Functor (BlockComponent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonApplicative (BlockComponent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common
Constructors
StreamFromInclusive !(RealPoint blk)StreamFromExclusive !(Point blk)
Instances5Eq, Show, Generic, NoThunks, Rep
StandardHash blk => Eq (StreamFrom blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonStandardHash blk => Show (StreamFrom blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonGeneric (StreamFrom blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common(StandardHash blk, Typeable blk) => NoThunks (StreamFrom blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Commontype Rep (StreamFrom blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common"StreamFrom"
"Ouroboros.Consensus.Storage.Common"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"StreamFromInclusive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (RealPoint blk))) :+: C1 ('MetaCons"StreamFromExclusive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Point blk))))
Constructors
StreamToInclusive (RealPoint blk)
Instances5Eq, Show, Generic, NoThunks, Rep
StandardHash blk => Eq (StreamTo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonStandardHash blk => Show (StreamTo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonGeneric (StreamTo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common(StandardHash blk, Typeable blk) => NoThunks (StreamTo blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Commontype Rep (StreamTo blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common"StreamTo"
"Ouroboros.Consensus.Storage.Common"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"StreamToInclusive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RealPoint blk))))
Instances2Eq, Show
Eq SeekBlockErrorDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ImmutableDB.APIShow SeekBlockErrorDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ImmutableDB.API
type
type ImmutableDbSerialiseConstraints blk = (EncodeDisk blk blk, DecodeDisk blk (ByteString -> Either DecoderError blk), DecodeDiskDep (NestedCtxt Header) blk, ReconstructNestedCtxt Header blk, HasBinaryBlockInfo blk)type
type LedgerDbSerialiseConstraints blk = (Serialise (HeaderHash blk), EncodeDisk blk (LedgerState blk EmptyMK), DecodeDisk blk (LedgerState blk EmptyMK), EncodeDisk blk (AnnTip blk), DecodeDisk blk (AnnTip blk), EncodeDisk blk (ChainDepState (BlockProtocol blk)), DecodeDisk blk (ChainDepState (BlockProtocol blk)), IndexedMemPack LedgerState blk (TxOut blk), MemPack (TxIn blk), SerializeTablesWithHint LedgerState blk)Instances6Eq, Ord, Show, Generic, NoThunks, Rep
Eq AddPerasCertResultDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.APIOrd AddPerasCertResultDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.APIShow AddPerasCertResultDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.APIGeneric AddPerasCertResultDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.APINoThunks AddPerasCertResultDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.APItype Rep AddPerasCertResult = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasCertDB.API"AddPerasCertResult"
"Ouroboros.Consensus.Storage.PerasCertDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"AddedPerasCertToDB"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PerasCertAlreadyInDB"
'PrefixI 'False) U1)
Instances6Eq, Ord, Show, Generic, NoThunks, Rep
StandardHash blk => Eq (AddPerasVoteResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.APIStandardHash blk => Ord (AddPerasVoteResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.APIStandardHash blk => Show (AddPerasVoteResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.APIGeneric (AddPerasVoteResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.APIStandardHash blk => NoThunks (AddPerasVoteResult blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.APItype Rep (AddPerasVoteResult blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.PerasVoteDB.API"AddPerasVoteResult"
"Ouroboros.Consensus.Storage.PerasVoteDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"PerasVoteAlreadyInDB"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"AddedPerasVoteButDidntGenerateNewCert"
'PrefixI 'False) U1 :+: C1 ('MetaCons"AddedPerasVoteAndGeneratedNewCert"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ValidatedPerasCert blk)))))
type
type VolatileDbSerialiseConstraints blk = (EncodeDisk blk blk, DecodeDisk blk (ByteString -> Either DecoderError blk), DecodeDiskDep (NestedCtxt Header) blk, HasNestedContent Header blk, HasBinaryBlockInfo blk)