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 (Record (GenesisUtxoKeyLocation ())), nodeConfigPath :: FilePath, nodeDirs :: Array (Record (NodeLocation ())), nodeSocketPath :: FilePath, testnetDirectory :: FilePath }

#NodeLocation

type NodeLocation :: Row Type -> Row Typetype NodeLocation r = (idx :: Int, name :: String, workdir :: FilePath | r)

#Node

type Node :: Row Type -> Row Typetype Node r = (port :: UInt, socket :: FilePath | NodeLocation r)

#GenesisUtxoKeyLocation

type GenesisUtxoKeyLocation :: Row Type -> Row Typetype GenesisUtxoKeyLocation r = (idx :: Int, path :: FilePath | r)

#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 :: Row Type -> Row Typetype TestnetRuntime r = (nodes :: Array (Record (Node ())) | r)

r

#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)

KupmiosConfig (LogParams r)

#defaultOptionalStartupParams

#defaultStartupParams

Modules