Deprecated. Use applyTxWithFullValidation instead.
Modulecardano-ledger-shelley-1.19.0.1
Cardano.Ledger.Shelley.API.Mempool
- 4 types
- 1 class
- 19 values
- Packagecardano-ledger-shelley-1.19.0.1
- Exports26
- LicenceApache-2.0
Deprecated. Validated is deprecated; switch to ValidatedTx.
Deprecated. Use extractValidatedTx
Deprecated. Use reapplyValidatedTx instead.
Deprecated. Translation of Validated does not make sense. It must be fully re-validated in a new era
Deprecated. Use unsafeMakeValidatedTx instead.
class
class (EraTx era, EraUTxO era, Eq (ApplyTxError era), Show (ApplyTxError era), Typeable (ApplyTxError era), Semigroup (ApplyTxError era), EncCBOR (ApplyTxError era), DecCBOR (ApplyTxError era)) => ApplyTx era whereAssociated types
data family ApplyTxError era
Methods
mkStAnnTx :: EpochInfo (Either Text) -> SystemStart -> PParams era -> UTxO era -> StAnnTxCache era -> Tx TopTx era -> StAnnTx TopTx erainternalApplyTxWithValidation :: ValidationPolicy -> Globals -> MempoolEnv era -> MempoolState era -> Tx TopTx era -> Either (ApplyTxError era) (MempoolState era, ValidatedTx era)internalReapplyValidatedTx :: Globals -> MempoolEnv era -> MempoolState era -> ValidatedTx era -> Either (ApplyTxError era) (MempoolState era)applyTxValidation :: ValidationPolicy -> Globals -> MempoolEnv era -> MempoolState era -> StAnnTx TopTx era -> Either (ApplyTxError era) (MempoolState era, Validated (Tx TopTx era))
Instances1ApplyTx
ApplyTx ShelleyEraDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempool
Instances8Eq, Show, Generic, Semigroup, DecCBOR, EncCBOR, …
Eq (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolShow (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolGeneric (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolSemigroup (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolDecCBOR (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolEncCBOR (ApplyTxError ShelleyEra)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempooltype Rep (ApplyTxError ShelleyEra) = Rep (NonEmpty (ShelleyLedgerPredFailure ShelleyEra))Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempooldata ApplyTxError ShelleyEraDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempool
Deprecated. Use ValidatedTx instead.
Instances4Eq, Show, NFData, NoThunks
Eq tx => Eq (Validated tx)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolShow tx => Show (Validated tx)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolNFData tx => NFData (Validated tx)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolNoThunks tx => NoThunks (Validated tx)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempool
Instances6Eq, Show, Generic, NFData, NoThunks, Rep
Eq (StAnnTx TopTx era) => Eq (ValidatedTx era)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolShow (StAnnTx TopTx era) => Show (ValidatedTx era)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolGeneric (ValidatedTx era)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolNFData (StAnnTx TopTx era) => NFData (ValidatedTx era)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.MempoolNoThunks (StAnnTx TopTx era) => NoThunks (ValidatedTx era)Defined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempooltype Rep (ValidatedTx era) = D1 ('MetaDataDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.API.Mempool"ValidatedTx"
"Cardano.Ledger.Shelley.API.Mempool"
"cardano-ledger-shelley-1.19.0.1-FBmICzj0TLXDG7I9pVlx3P"
'False) (C1 ('MetaCons"ValidatedTx"
'PrefixI 'True) (S1 ('MetaSel ('Just"vtStAnnTx"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StAnnTx TopTx era)) :*: (S1 ('MetaSel ('Just"vtProtocolVersion"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ProtVer) :*: S1 ('MetaSel ('Just"vtSlotNo"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 SlotNo))))