consensus-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Consensus.Mempool.Fairness.TestBlock

Synopsis

Documentation

data Tx Source #

The fairness test for transaction sizes only cares about said aspect.

We do need to keep track of the transaction id.

All transactions will be accepted by the mempool.

Instances

Instances details
Generic Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep TxTypeType #

Methods

fromTxRep Tx x #

toRep Tx x → Tx #

Show Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Methods

showsPrecIntTxShowS #

showTxString #

showList ∷ [Tx] → ShowS #

NFData Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Methods

rnfTx → () #

Eq Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Methods

(==)TxTxBool #

(/=)TxTxBool #

Ord Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Methods

compareTxTxOrdering #

(<)TxTxBool #

(<=)TxTxBool #

(>)TxTxBool #

(>=)TxTxBool #

maxTxTxTx #

minTxTxTx #

NoThunks Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

LedgerSupportsMempool TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

TxLimits TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type TxMeasure TestBlock Source #

PayloadSemantics Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Generic (CodecConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep (CodecConfig TestBlock) ∷ TypeType #

Generic (StorageConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep (StorageConfig TestBlock) ∷ TypeType #

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

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep (Validated (GenTx TestBlock)) ∷ TypeType #

Generic (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep (GenTx TestBlock) ∷ TypeType #

Generic (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Associated Types

type Rep (TxId (GenTx TestBlock)) ∷ TypeType #

Show (CodecConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Show (StorageConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

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

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Show (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Show (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

NFData (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Methods

rnfGenTx TestBlock → () #

Eq (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Eq (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Ord (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

Ord (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

NoThunks (CodecConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

NoThunks (StorageConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

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

Defined in Test.Consensus.Mempool.Fairness.TestBlock

NoThunks (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

NoThunks (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

HasTxId (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep Tx = D1 ('MetaData "Tx" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "Tx" 'PrefixI 'True) (S1 ('MetaSel ('Just "txNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "txSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteSize32)))
data CodecConfig TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

data StorageConfig TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type ApplyTxErr TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

newtype GenTx TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type TxMeasure TestBlock Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type PayloadDependentError Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type PayloadDependentState Tx Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (CodecConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (CodecConfig TestBlock) = D1 ('MetaData "CodecConfig" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "TestBlockCodecConfig" 'PrefixI 'False) (U1TypeType))
type Rep (StorageConfig TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (StorageConfig TestBlock) = D1 ('MetaData "StorageConfig" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "TestBlockStorageConfig" 'PrefixI 'False) (U1TypeType))
type Rep (Validated (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (Validated (GenTx TestBlock)) = D1 ('MetaData "Validated" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'True) (C1 ('MetaCons "ValidatedGenTx" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (GenTx TestBlock))))
type Rep (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (GenTx TestBlock) = D1 ('MetaData "GenTx" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'True) (C1 ('MetaCons "TestBlockGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx)))
type Rep (TxId (GenTx TestBlock)) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

type Rep (TxId (GenTx TestBlock)) = D1 ('MetaData "TxId" "Test.Consensus.Mempool.Fairness.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-consensus-test" 'True) (C1 ('MetaCons "TestBlockTxId" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx)))
newtype Validated (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock

newtype TxId (GenTx TestBlock) Source # 
Instance details

Defined in Test.Consensus.Mempool.Fairness.TestBlock