ouroboros-consensus-shelley-0.1.0.1: Shelley ledger integration in the Ouroboros consensus layer
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Shelley.Ledger.Mempool

Description

Shelley mempool integration

Synopsis

Documentation

data family GenTx blk Source #

Generalized transaction

The mempool (and, accordingly, blocks) consist of "generalized transactions"; this could be "proper" transactions (transferring funds) but also other kinds of things such as update proposals, delegations, etc.

Instances

Instances details
( Typeable era, Typeable proto) => ShowProxy ( GenTx ( ShelleyBlock proto era) :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Typeable era, Typeable proto) => ShowProxy ( TxId ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Typeable era, Typeable proto) => ShowProxy ( Validated ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( ShelleyBasedEra era, TranslateEra era WrapTx ) => TranslateEra era ( GenTx :.: ShelleyBlock proto) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.ShelleyHFC

ShelleyBasedEra era => Eq ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Eq ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Eq ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Ord ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Show ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Show ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Show ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Generic ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep ( GenTx ( ShelleyBlock proto era)) :: Type -> Type Source #

Generic ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) :: Type -> Type Source #

ShelleyCompatible proto era => ToCBOR ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => ToCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyCompatible proto era => FromCBOR ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => FromCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => NoThunks ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

NoThunks ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => NoThunks ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => HasTxId ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Condense ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Condense ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( GenTx ( ShelleyBlock proto era)) Source #

The To/FromCBOR instances defined in cardano-ledger-specs use CBOR-in-CBOR to get the annotation.

Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) ( GenTx ( ShelleyBlock proto era)) Source #

Uses CBOR-in-CBOR in the To/FromCBOR instances to get the annotation.

Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

type TranslationError era ( GenTx :.: ShelleyBlock proto) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.ShelleyHFC

type Rep ( GenTx ( HardForkBlock xs))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep ( GenTx ( HardForkBlock xs)) = D1 (' MetaData "GenTx" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "HardForkGenTx" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getHardForkGenTx") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( OneEraGenTx xs))))
type Rep ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( GenTx ( ShelleyBlock proto era)) = D1 (' MetaData "GenTx" "Ouroboros.Consensus.Shelley.Ledger.Mempool" "ouroboros-consensus-shelley-0.1.0.1-Kwox0dapAHUG8fY5XKE0pO" ' False ) ( C1 (' MetaCons "ShelleyTx" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( TxId ( EraCrypto era))) :*: S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Tx era))))
type Rep ( TxId ( GenTx ( HardForkBlock xs)))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep ( TxId ( GenTx ( HardForkBlock xs))) = D1 (' MetaData "TxId" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "HardForkGenTxId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getHardForkGenTxId") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( OneEraGenTxId xs))))
type Rep ( Validated ( GenTx ( HardForkBlock xs)))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep ( Validated ( GenTx ( HardForkBlock xs))) = D1 (' MetaData "Validated" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "HardForkValidatedGenTx" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getHardForkValidatedGenTx") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( OneEraValidatedGenTx xs))))
type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) = D1 (' MetaData "Validated" "Ouroboros.Consensus.Shelley.Ledger.Mempool" "ouroboros-consensus-shelley-0.1.0.1-Kwox0dapAHUG8fY5XKE0pO" ' False ) ( C1 (' MetaCons "ShelleyValidatedTx" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( TxId ( EraCrypto era))) :*: S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Validated ( Tx era)))))
newtype GenTx ( HardForkBlock xs)
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId ( GenTx ( HardForkBlock xs))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

newtype Validated ( GenTx ( HardForkBlock xs))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

data Validated ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

data GenTx ( ShelleyBlock proto era) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

newtype ApplyTxError era Source #

Constructors

ApplyTxError [ PredicateFailure ( EraRule "LEDGER" era)]

Instances

Instances details
Eq ( PredicateFailure ( EraRule "LEDGER" era)) => Eq ( ApplyTxError era)
Instance details

Defined in Cardano.Ledger.Shelley.API.Mempool

Show ( PredicateFailure ( EraRule "LEDGER" era)) => Show ( ApplyTxError era)
Instance details

Defined in Cardano.Ledger.Shelley.API.Mempool

( Era era, ToCBOR ( PredicateFailure ( EraRule "LEDGER" era))) => ToCBOR ( ApplyTxError era)
Instance details

Defined in Cardano.Ledger.Shelley.API.Mempool

( Era era, FromCBOR ( PredicateFailure ( EraRule "LEDGER" era))) => FromCBOR ( ApplyTxError era)
Instance details

Defined in Cardano.Ledger.Shelley.API.Mempool

Typeable era => ShowProxy ( ApplyTxError era :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => SerialiseNodeToClient ( ShelleyBlock proto era) ( ApplyTxError era) Source #
ApplyTxErr '(ShelleyBlock era)'
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

data family TxId tx Source #

A generalized transaction, GenTx , identifier.

Instances

Instances details
( Typeable era, Typeable proto) => ShowProxy ( TxId ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Eq ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Ord ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Show ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => ToCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => FromCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

NoThunks ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Condense ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

type Rep ( TxId ( GenTx ( HardForkBlock xs)))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep ( TxId ( GenTx ( HardForkBlock xs))) = D1 (' MetaData "TxId" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "HardForkGenTxId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getHardForkGenTxId") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( OneEraGenTxId xs))))
newtype TxId ( GenTx ( HardForkBlock xs))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

data family Validated x Source #

" Validated " transaction or block

The ledger defines how to validate transactions and blocks. It's possible the type before and after validation may be distinct (eg Alonzo transactions), which originally motivated this family.

We also gain the related benefit that certain interface functions, such as those that reapply blocks, can have a more precise type now. TODO

Similarly, the Node-to-Client mini protocols can explicitly indicate that the client trusts the blocks from the local server, by having the server send Validated blocks to the client. TODO

Note that validation has different implications for a transaction than for a block. In particular, a validated transaction can be " reapplied " to different ledger states, whereas a validated block must only be " reapplied " to the exact same ledger state (eg as part of rebuilding from an on-disk ledger snapshot).

Since the ledger defines validation, see the ledger details for concrete examples of what determines the validity (wrt to a LedgerState ) of a transaction and/or block. Example properties include: a transaction's claimed inputs exist and are still unspent, a block carries a sufficient cryptographic signature, etc.

Instances

Instances details
( Typeable era, Typeable proto) => ShowProxy ( Validated ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Eq ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

ShelleyBasedEra era => Show ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Generic ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) :: Type -> Type Source #

ShelleyBasedEra era => NoThunks ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( Validated ( GenTx ( HardForkBlock xs)))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep ( Validated ( GenTx ( HardForkBlock xs))) = D1 (' MetaData "Validated" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "HardForkValidatedGenTx" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getHardForkValidatedGenTx") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( OneEraValidatedGenTx xs))))
type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) = D1 (' MetaData "Validated" "Ouroboros.Consensus.Shelley.Ledger.Mempool" "ouroboros-consensus-shelley-0.1.0.1-Kwox0dapAHUG8fY5XKE0pO" ' False ) ( C1 (' MetaCons "ShelleyValidatedTx" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( TxId ( EraCrypto era))) :*: S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Validated ( Tx era)))))
newtype Validated ( GenTx ( HardForkBlock xs))
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

data Validated ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

data WithTop a Source #

Add a unique top element to a lattice.

TODO This should be relocated to `cardano-base:Data.Measure'.

Constructors

NotTop a
Top

Instances

Instances details
Eq a => Eq ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Ord a => Ord ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Show a => Show ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Generic ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep ( WithTop a) :: Type -> Type Source #

Measure a => BoundedMeasure ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Measure a => Measure ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( WithTop a) Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep ( WithTop a) = D1 (' MetaData "WithTop" "Ouroboros.Consensus.Shelley.Ledger.Mempool" "ouroboros-consensus-shelley-0.1.0.1-Kwox0dapAHUG8fY5XKE0pO" ' False ) ( C1 (' MetaCons "NotTop" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 a)) :+: C1 (' MetaCons "Top" ' PrefixI ' False ) ( U1 :: Type -> Type ))

fixedBlockBodyOverhead :: Num a => a Source #

txInBlockSize is used to estimate how many transactions we can grab from the Mempool to put into the block we are going to forge without exceeding the maximum block body size according to the ledger. If we exceed that limit, we will have forged a block that is invalid according to the ledger. We ourselves won't even adopt it, causing us to lose our slot, something we must try to avoid.

For this reason it is better to overestimate the size of a transaction than to underestimate. The only downside is that we maybe could have put one (or more?) transactions extra in that block.

As the sum of the serialised transaction sizes is not equal to the size of the serialised block body ( TxSeq ) consisting of those transactions (see cardano-node#1545 for an example), we account for some extra overhead per transaction as a safety margin.

Also see perTxOverhead .

Exported for tests

data AlonzoMeasure Source #

Instances

Instances details
Eq AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Show AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Generic AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

BoundedMeasure AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Measure AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep AlonzoMeasure Source #
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

type Rep AlonzoMeasure = D1 (' MetaData "AlonzoMeasure" "Ouroboros.Consensus.Shelley.Ledger.Mempool" "ouroboros-consensus-shelley-0.1.0.1-Kwox0dapAHUG8fY5XKE0pO" ' False ) ( C1 (' MetaCons "AlonzoMeasure" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "byteSize") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ByteSize ) :*: S1 (' MetaSel (' Just "exUnits") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ExUnits' ( WithTop Natural )))))

Orphan instances

( Typeable era, Typeable proto) => ShowProxy ( GenTx ( ShelleyBlock proto era) :: Type ) Source #
Instance details

( Typeable era, Typeable proto) => ShowProxy ( TxId ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

( Typeable era, Typeable proto) => ShowProxy ( Validated ( GenTx ( ShelleyBlock proto era)) :: Type ) Source #
Instance details

ShelleyBasedEra era => Eq ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Eq ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyBasedEra era => Eq ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Ord ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyBasedEra era => Show ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Show ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

ShelleyBasedEra era => Show ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Generic ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Associated Types

type Rep ( GenTx ( ShelleyBlock proto era)) :: Type -> Type Source #

Generic ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

Associated Types

type Rep ( Validated ( GenTx ( ShelleyBlock proto era))) :: Type -> Type Source #

ShelleyCompatible proto era => ToCBOR ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => ToCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyCompatible proto era => FromCBOR ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

( Crypto ( EraCrypto era), Typeable era, Typeable proto) => FromCBOR ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyBasedEra era => NoThunks ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

NoThunks ( TxId ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyBasedEra era => NoThunks ( Validated ( GenTx ( ShelleyBlock proto era))) Source #
Instance details

ShelleyBasedEra era => HasTxId ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

ShelleyBasedEra era => Condense ( GenTx ( ShelleyBlock proto era)) Source #
Instance details

Condense ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

Typeable era => ShowProxy ( ApplyTxError era :: Type ) Source #
Instance details

ShelleyCompatible p ( BabbageEra c) => TxLimits ( ShelleyBlock p ( BabbageEra c)) Source #
Instance details

ShelleyCompatible p ( AlonzoEra c) => TxLimits ( ShelleyBlock p ( AlonzoEra c)) Source #
Instance details

ShelleyCompatible p ( MaryEra c) => TxLimits ( ShelleyBlock p ( MaryEra c)) Source #
Instance details

ShelleyCompatible p ( AllegraEra c) => TxLimits ( ShelleyBlock p ( AllegraEra c)) Source #
Instance details

ShelleyCompatible p ( ShelleyEra c) => TxLimits ( ShelleyBlock p ( ShelleyEra c)) Source #
Instance details

ShelleyCompatible proto era => LedgerSupportsMempool ( ShelleyBlock proto era) Source #
Instance details

ShelleyBasedEra era => HasTxs ( ShelleyBlock proto era) Source #
Instance details