Moduleouroboros-consensus-4.2.1.0
Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq
- 4 types
- 23 values
- Packageouroboros-consensus-4.2.1.0
- Exports27
- LicenceApache-2.0
Constructors
LedgerSeqgetLedgerSeq :: AnchoredSeq (WithOrigin SlotNo) (StateRef m l blk) (StateRef m l blk)
Instances5Eq, Show, Generic, NoThunks, Rep
Eq (l blk EmptyMK) => Eq (LedgerSeq m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqShow (l blk EmptyMK) => Show (LedgerSeq m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqGeneric (LedgerSeq m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq(IOLike m, NoThunks (l blk EmptyMK)) => NoThunks (LedgerSeq m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqtype Rep (LedgerSeq m l blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq"LedgerSeq"
"Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"LedgerSeq"
'PrefixI 'True) (S1 ('MetaSel ('Just"getLedgerSeq"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnchoredSeq (WithOrigin SlotNo) (StateRef m l blk) (StateRef m l blk)))))
Constructors
LedgerTablesHandleclose :: !m ()duplicateWithDiffs :: !l blk EmptyMK -> l blk DiffMK -> m (LedgerTablesHandle m l blk)duplicate :: !m (LedgerTablesHandle m l blk)read :: !l blk EmptyMK -> LedgerTables blk KeysMK -> m (LedgerTables blk ValuesMK)readRange :: !l blk EmptyMK -> (Maybe (TxIn blk), Int) -> m (LedgerTables blk ValuesMK, Maybe (TxIn blk))readAll :: !l blk EmptyMK -> m (LedgerTables blk ValuesMK)takeHandleSnapshot :: !l blk EmptyMK -> String -> m (Maybe CRC)tablesSize :: !Int
Instances1NoThunks
NoThunks (LedgerTablesHandle m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq
Constructors
StateRefstate :: !l blk EmptyMKtables :: !LedgerTablesHandle m l blk
Instances6Anchorable, Eq, Show, Generic, NoThunks, Rep
GetTip (l blk) => Anchorable (WithOrigin SlotNo) (StateRef m l blk) (StateRef m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqEq (l blk EmptyMK) => Eq (StateRef m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqShow (l blk EmptyMK) => Show (StateRef m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqGeneric (StateRef m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq(IOLike m, NoThunks (l blk EmptyMK)) => NoThunks (StateRef m l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeqtype Rep (StateRef m l blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq"StateRef"
"Ouroboros.Consensus.Storage.LedgerDB.V2.LedgerSeq"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"StateRef"
'PrefixI 'True) (S1 ('MetaSel ('Just"state"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (l blk EmptyMK)) :*: S1 ('MetaSel ('Just"tables"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (LedgerTablesHandle m l blk))))