final case class CantonParameters(clock: ClockConfig = ClockConfig.WallClock(), enableAdditionalConsistencyChecks: Boolean = false, manualStart: Boolean = false, startupParallelism: Option[PositiveInt] = None, nonStandardConfig: Boolean = false, devVersionSupport: Boolean = false, betaVersionSupport: Boolean = false, portsFile: Option[String] = None, timeouts: TimeoutSettings = TimeoutSettings(), retentionPeriodDefaults: RetentionPeriodDefaults = RetentionPeriodDefaults(), console: AmmoniteConsoleConfig = AmmoniteConsoleConfig(), exitOnFatalFailures: Boolean = true) extends Product with Serializable
Parameters for testing Canton. Use default values in a production environment.
- enableAdditionalConsistencyChecks
if true, run additional consistency checks. This will degrade performance.
- manualStart
If set to true, the nodes have to be manually started via console (default false)
- startupParallelism
Start up to N nodes in parallel (default is num-threads)
- nonStandardConfig
don't fail config validation on non-standard configuration settings
- devVersionSupport
If true, allow domain nodes to use unstable protocol versions and participant nodes to connect to such domains
- betaVersionSupport
If true, allow domain nodes to use beta protocol versions and participant nodes to connect to such domains
- portsFile
A ports file name, where the ports of all participants will be written to after startup
- timeouts
Sets the timeouts used for processing and console
- exitOnFatalFailures
If true the node will exit/stop the process in case of fatal failures
- Alphabetic
- By Inheritance
- CantonParameters
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CantonParameters(clock: ClockConfig = ClockConfig.WallClock(), enableAdditionalConsistencyChecks: Boolean = false, manualStart: Boolean = false, startupParallelism: Option[PositiveInt] = None, nonStandardConfig: Boolean = false, devVersionSupport: Boolean = false, betaVersionSupport: Boolean = false, portsFile: Option[String] = None, timeouts: TimeoutSettings = TimeoutSettings(), retentionPeriodDefaults: RetentionPeriodDefaults = RetentionPeriodDefaults(), console: AmmoniteConsoleConfig = AmmoniteConsoleConfig(), exitOnFatalFailures: Boolean = true)
- enableAdditionalConsistencyChecks
if true, run additional consistency checks. This will degrade performance.
- manualStart
If set to true, the nodes have to be manually started via console (default false)
- startupParallelism
Start up to N nodes in parallel (default is num-threads)
- nonStandardConfig
don't fail config validation on non-standard configuration settings
- devVersionSupport
If true, allow domain nodes to use unstable protocol versions and participant nodes to connect to such domains
- betaVersionSupport
If true, allow domain nodes to use beta protocol versions and participant nodes to connect to such domains
- portsFile
A ports file name, where the ports of all participants will be written to after startup
- timeouts
Sets the timeouts used for processing and console
- exitOnFatalFailures
If true the node will exit/stop the process in case of fatal failures
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val betaVersionSupport: Boolean
- val clock: ClockConfig
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val console: AmmoniteConsoleConfig
- val devVersionSupport: Boolean
- val enableAdditionalConsistencyChecks: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exitOnFatalFailures: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getStartupParallelism(numThreads: Int): Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val manualStart: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonStandardConfig: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val portsFile: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val retentionPeriodDefaults: RetentionPeriodDefaults
- val startupParallelism: Option[PositiveInt]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeouts: TimeoutSettings
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])