Module

Ctl.Internal.Testnet.Types

#CardanoTestnetStartupParams

type CardanoTestnetStartupParams :: Row Type -> Row Typetype CardanoTestnetStartupParams r = (testnetMagic :: Int | OptionalStartupParams r)

Command line params for the cardano-testnet executable

#LoggingFormat

#TestnetPaths

type TestnetPaths = { genesisKeys :: Array GenesisUtxoKeyLocation, nodeConfigPath :: FilePath, nodeDirs :: Array NodeLocation, nodeSocketPath :: FilePath, testnetDirectory :: FilePath }

#NodeLocation

type NodeLocation = { idx :: Int, workdir :: FilePath }

#Node

type Node = { location :: NodeLocation, port :: UInt, socket :: FilePath }

#GenesisUtxoKeyLocation

type GenesisUtxoKeyLocation = { idx :: Int, path :: FilePath }

#OptionalStartupParams

type OptionalStartupParams :: Row Type -> Row Typetype OptionalStartupParams r = (activeSlotsCoeff :: Maybe Number, enableP2p :: Maybe Boolean, epochLength :: Maybe Milliseconds, era :: Maybe Era, nodeLoggingFormat :: Maybe LoggingFormat, numPoolNodes :: Maybe Int, slotLength :: Maybe Seconds | r)

#TestnetRuntime

type TestnetRuntime = { nodes :: Array Node, paths :: TestnetPaths }

#TestnetClusterConfig

type TestnetClusterConfig = { epochSize :: Maybe UInt, era :: Era, slotLength :: Seconds, testnetMagic :: Int }

#TestnetConfig

type TestnetConfig = { clusterConfig :: TestnetClusterConfig, customLogger :: Maybe (LogLevel -> Message -> Aff Unit), hooks :: Hooks, kupoConfig :: ServerConfig, logLevel :: LogLevel, ogmiosConfig :: ServerConfig, suppressLogs :: Boolean }

#LogParams

type LogParams :: Row Type -> Row Typetype LogParams r = (customLogger :: Maybe (LogLevel -> Message -> Aff Unit), logLevel :: LogLevel, suppressLogs :: Boolean | r)

#defaultOptionalStartupParams

#defaultStartupParams

Modules