ouroboros-consensus-cardano-0.12.1.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Synopsis

Type family instances

data family GenTx blk #

Instances

Instances details
Show (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Show (GenTx ByronSpecBlock) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Generic (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Associated Types

type Rep (Validated (GenTx ByronSpecBlock)) :: Type -> Type Source #

Generic (GenTx ByronSpecBlock) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Associated Types

type Rep (GenTx ByronSpecBlock) :: Type -> Type Source #

NoThunks (Validated (GenTx ByronSpecBlock)) 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Methods

noThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (Validated (GenTx ByronSpecBlock)) -> String

NoThunks (GenTx ByronSpecBlock) 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Methods

noThunks :: Context -> GenTx ByronSpecBlock -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> GenTx ByronSpecBlock -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (GenTx ByronSpecBlock) -> String

Serialise (GenTx ByronSpecBlock) 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Methods

encode :: GenTx ByronSpecBlock -> Encoding

decode :: Decoder s (GenTx ByronSpecBlock)

encodeList :: [GenTx ByronSpecBlock] -> Encoding

decodeList :: Decoder s [GenTx ByronSpecBlock]

newtype GenTx ByronSpecBlock Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

type Rep (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

type Rep (Validated (GenTx ByronSpecBlock)) = D1 ('MetaData "Validated" "Ouroboros.Consensus.ByronSpec.Ledger.Mempool" "ouroboros-consensus-cardano-0.12.1.0-KACBrYFmMp37TTIWGQmkTD-unstable-byronspec" 'True) (C1 ('MetaCons "ValidatedByronSpecGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "forgetValidatedByronSpecGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (GenTx ByronSpecBlock))))
type Rep (GenTx ByronSpecBlock) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

type Rep (GenTx ByronSpecBlock) = D1 ('MetaData "GenTx" "Ouroboros.Consensus.ByronSpec.Ledger.Mempool" "ouroboros-consensus-cardano-0.12.1.0-KACBrYFmMp37TTIWGQmkTD-unstable-byronspec" 'True) (C1 ('MetaCons "ByronSpecGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unByronSpecGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByronSpecGenTx)))
newtype Validated (GenTx ByronSpecBlock) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

data family Validated x #

Instances

Instances details
Show (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Generic (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Associated Types

type Rep (Validated (GenTx ByronSpecBlock)) :: Type -> Type Source #

NoThunks (Validated (GenTx ByronSpecBlock)) 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Methods

noThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (Validated (GenTx ByronSpecBlock)) -> String

type Rep (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

type Rep (Validated (GenTx ByronSpecBlock)) = D1 ('MetaData "Validated" "Ouroboros.Consensus.ByronSpec.Ledger.Mempool" "ouroboros-consensus-cardano-0.12.1.0-KACBrYFmMp37TTIWGQmkTD-unstable-byronspec" 'True) (C1 ('MetaCons "ValidatedByronSpecGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "forgetValidatedByronSpecGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (GenTx ByronSpecBlock))))
newtype Validated (GenTx ByronSpecBlock) Source # 
Instance details

Defined in Ouroboros.Consensus.ByronSpec.Ledger.Mempool

Orphan instances

LedgerSupportsMempool ByronSpecBlock Source # 
Instance details

Methods

txInvariant :: GenTx ByronSpecBlock -> Bool

applyTx :: LedgerConfig ByronSpecBlock -> WhetherToIntervene -> SlotNo -> GenTx ByronSpecBlock -> TickedLedgerState ByronSpecBlock -> Except (ApplyTxErr ByronSpecBlock) (TickedLedgerState ByronSpecBlock, Validated (GenTx ByronSpecBlock))

reapplyTx :: LedgerConfig ByronSpecBlock -> SlotNo -> Validated (GenTx ByronSpecBlock) -> TickedLedgerState ByronSpecBlock -> Except (ApplyTxErr ByronSpecBlock) (TickedLedgerState ByronSpecBlock)

txsMaxBytes :: TickedLedgerState ByronSpecBlock -> Word32

txInBlockSize :: GenTx ByronSpecBlock -> Word32

txForgetValidated :: Validated (GenTx ByronSpecBlock) -> GenTx ByronSpecBlock

Show (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Show (GenTx ByronSpecBlock) Source # 
Instance details

Generic (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Associated Types

type Rep (Validated (GenTx ByronSpecBlock)) :: Type -> Type Source #

Generic (GenTx ByronSpecBlock) Source # 
Instance details

Associated Types

type Rep (GenTx ByronSpecBlock) :: Type -> Type Source #

NoThunks (Validated (GenTx ByronSpecBlock)) Source # 
Instance details

Methods

noThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> Validated (GenTx ByronSpecBlock) -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (Validated (GenTx ByronSpecBlock)) -> String

NoThunks (GenTx ByronSpecBlock) Source # 
Instance details

Methods

noThunks :: Context -> GenTx ByronSpecBlock -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> GenTx ByronSpecBlock -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (GenTx ByronSpecBlock) -> String

Serialise (GenTx ByronSpecBlock) Source # 
Instance details

Methods

encode :: GenTx ByronSpecBlock -> Encoding

decode :: Decoder s (GenTx ByronSpecBlock)

encodeList :: [GenTx ByronSpecBlock] -> Encoding

decodeList :: Decoder s [GenTx ByronSpecBlock]