tx-generator-2.11: A transaction workload generator for Cardano clusters
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.TxGenerator.Types

Description

 

Documentation

type TxGenerator era = [Fund] -> [TxOut CtxTx era] -> Either TxGenError (Tx era, TxId) Source #

type FundToStore m = Fund -> m () Source #

type FundToStoreList m = [Fund] -> m () Source #

data TxGenTxParams Source #

Constructors

TxGenTxParams 

Fields

Instances

Instances details
FromJSON TxGenTxParams Source # 
Instance details

Defined in Cardano.Benchmarking.Script.Aeson

ToJSON TxGenTxParams Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

ToJSON TxGenTxParams Source # 
Instance details

Defined in Cardano.Benchmarking.Script.Aeson

Generic TxGenTxParams Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

Associated Types

type Rep TxGenTxParams :: Type -> Type Source #

Generic TxGenTxParams Source # 
Instance details

Defined in Cardano.Benchmarking.Script.Aeson

Associated Types

type Rep TxGenTxParams :: Type -> Type Source #

Show TxGenTxParams Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Eq TxGenTxParams Source # 
Instance details

Defined in Cardano.TxGenerator.Types

type Rep TxGenTxParams Source # 
Instance details

Defined in Cardano.TxGenerator.Script.Types

type Rep TxGenTxParams = D1 ('MetaData "TxGenTxParams" "Cardano.TxGenerator.Types" "tx-generator-2.11-inplace" 'False) (C1 ('MetaCons "TxGenTxParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "txParamFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Lovelace) :*: (S1 ('MetaSel ('Just "txParamAddTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "txParamTTL") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo))))
type Rep TxGenTxParams Source # 
Instance details

Defined in Cardano.Benchmarking.Script.Aeson

type Rep TxGenTxParams = D1 ('MetaData "TxGenTxParams" "Cardano.TxGenerator.Types" "tx-generator-2.11-inplace" 'False) (C1 ('MetaCons "TxGenTxParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "txParamFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Lovelace) :*: (S1 ('MetaSel ('Just "txParamAddTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "txParamTTL") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo))))

data TxGenConfig Source #

Constructors

TxGenConfig 

Fields

data TxGenPlutusType Source #

Constructors

LimitSaturationLoop

Generate Txs for a Plutus loop script, choosing settings to max out per Tx script budget

LimitTxPerBlock_8

Generate Txs for a Plutus loop script, choosing settings to best fit 8 Txs into block script budget

BenchCustomCall

Built-in script for benchmarking various complexity of data passed via Plutus API

CustomScript 

Instances

Instances details
FromJSON TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

ToJSON TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Enum TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Generic TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Associated Types

type Rep TxGenPlutusType :: Type -> Type Source #

Show TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Eq TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

type Rep TxGenPlutusType Source # 
Instance details

Defined in Cardano.TxGenerator.Types

type Rep TxGenPlutusType = D1 ('MetaData "TxGenPlutusType" "Cardano.TxGenerator.Types" "tx-generator-2.11-inplace" 'False) ((C1 ('MetaCons "LimitSaturationLoop" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LimitTxPerBlock_8" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BenchCustomCall" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CustomScript" 'PrefixI 'False) (U1 :: Type -> Type)))

data TxGenPlutusParams Source #

Constructors

PlutusOn

Generate Plutus Txs for given script

Fields

PlutusOff

Do not generate Plutus Txs

Instances

Instances details
FromJSON TxGenPlutusParams Source #

This deserialization is not a general one for that type, but custom-tailored to the service definition in: nixnixostx-generator-service.nix

Instance details

Defined in Cardano.TxGenerator.Setup.NixService

Show TxGenPlutusParams Source # 
Instance details

Defined in Cardano.TxGenerator.Types

Eq TxGenPlutusParams Source # 
Instance details

Defined in Cardano.TxGenerator.Types

data PlutusAutoBudget Source #

Constructors

PlutusAutoBudget

Specifies a budget and parameters for a PlutusAuto loop script

Fields