final case class ParticipantNodeParameterConfig(adminWorkflow: AdminWorkflowConfig = AdminWorkflowConfig(), partyChangeNotification: PartyNotificationConfig = PartyNotificationConfig.ViaDomain, maxUnzippedDarSize: Int = 1024 * 1024 * 1024, batching: BatchingConfig = BatchingConfig(), stores: ParticipantStoreConfig = ParticipantStoreConfig(), transferTimeProofFreshnessProportion: NonNegativeInt = NonNegativeInt.tryCreate(3), minimumProtocolVersion: Option[ParticipantProtocolVersion] = Some( ParticipantProtocolVersion( ProtocolVersion.v5 ) ), initialProtocolVersion: ParticipantProtocolVersion = ParticipantProtocolVersion( ProtocolVersion.latestStable ), devVersionSupport: Boolean = false, betaVersionSupport: Boolean = false, dontWarnOnDeprecatedPV: Boolean = false, warnIfOverloadedFor: Option[NonNegativeFiniteDuration] = Some( config.NonNegativeFiniteDuration.ofSeconds(20) ), ledgerApiServerParameters: LedgerApiServerParametersConfig = LedgerApiServerParametersConfig(), excludeInfrastructureTransactions: Boolean = true, engine: CantonEngineConfig = CantonEngineConfig(), allowForUnauthenticatedContractIds: Boolean = false, disableUpgradeValidation: Boolean = false, watchdog: Option[WatchdogConfig] = None, commandProgressTracker: CommandProgressTrackerConfig = CommandProgressTrackerConfig()) extends LocalNodeParametersConfig with Product with Serializable
General participant node parameters
- adminWorkflow
Configuration options for Canton admin workflows
- partyChangeNotification
Determines how eagerly the participant nodes notify the ledger api of party changes. By default ensure that parties are added via at least one domain before ACKing party creation to ledger api server indexer. This not only avoids flakiness in tests, but reflects that a party is not actually usable in canton until it's available through at least one domain.
- maxUnzippedDarSize
maximum allowed size of unzipped DAR files (in bytes) the participant can accept for uploading. Defaults to 1GB.
- batching
Various parameters that control batching related behavior
- transferTimeProofFreshnessProportion
Proportion of the target domain exclusivity timeout that is used as a freshness bound when requesting a time proof. Setting to 3 means we'll take a 1/3 of the target domain exclusivity timeout and potentially we reuse a recent timeout if one exists within that bound, otherwise a new time proof will be requested. Setting to zero will disable reusing recent time proofs and will instead always fetch a new proof.
- minimumProtocolVersion
The minimum protocol version that this participant will speak when connecting to a domain
- initialProtocolVersion
The initial protocol version used by the participant (default latest), e.g., used to create the initial topology transactions.
- devVersionSupport
If set to true, will allow the participant to connect to a domain with dev protocol version and will turn on unsafe Daml LF versions.
- dontWarnOnDeprecatedPV
If true, then this participant will not emit a warning when connecting to a sequencer using a deprecated protocol version (such as 2.0.0).
- warnIfOverloadedFor
If all incoming commands have been rejected due to PARTICIPANT_BACKPRESSURE during this interval, the participant will log a warning.
- ledgerApiServerParameters
ledger api server parameters The following specialized participant node performance tuning parameters may be grouped once a more final set of configs emerges.
- excludeInfrastructureTransactions
If set, infrastructure transactions (i.e. ping, bong and dar distribution) will be excluded from participant metering.
- allowForUnauthenticatedContractIds
Skip contract id authentication check, if the contract id scheme does not support authentication. You should enable this only if all participants on a domain mutually trust each other. Otherwise, an attacker may compromise integrity of the ledger.
- disableUpgradeValidation
Disable the package upgrade verification on DAR upload
- Alphabetic
- By Inheritance
- ParticipantNodeParameterConfig
- Serializable
- Product
- Equals
- LocalNodeParametersConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ParticipantNodeParameterConfig(adminWorkflow: AdminWorkflowConfig = AdminWorkflowConfig(), partyChangeNotification: PartyNotificationConfig = PartyNotificationConfig.ViaDomain, maxUnzippedDarSize: Int = 1024 * 1024 * 1024, batching: BatchingConfig = BatchingConfig(), stores: ParticipantStoreConfig = ParticipantStoreConfig(), transferTimeProofFreshnessProportion: NonNegativeInt = NonNegativeInt.tryCreate(3), minimumProtocolVersion: Option[ParticipantProtocolVersion] = Some(
ParticipantProtocolVersion(
ProtocolVersion.v5
)
), initialProtocolVersion: ParticipantProtocolVersion = ParticipantProtocolVersion(
ProtocolVersion.latestStable
), devVersionSupport: Boolean = false, betaVersionSupport: Boolean = false, dontWarnOnDeprecatedPV: Boolean = false, warnIfOverloadedFor: Option[NonNegativeFiniteDuration] = Some(
config.NonNegativeFiniteDuration.ofSeconds(20)
), ledgerApiServerParameters: LedgerApiServerParametersConfig = LedgerApiServerParametersConfig(), excludeInfrastructureTransactions: Boolean = true, engine: CantonEngineConfig = CantonEngineConfig(), allowForUnauthenticatedContractIds: Boolean = false, disableUpgradeValidation: Boolean = false, watchdog: Option[WatchdogConfig] = None, commandProgressTracker: CommandProgressTrackerConfig = CommandProgressTrackerConfig())
- adminWorkflow
Configuration options for Canton admin workflows
- partyChangeNotification
Determines how eagerly the participant nodes notify the ledger api of party changes. By default ensure that parties are added via at least one domain before ACKing party creation to ledger api server indexer. This not only avoids flakiness in tests, but reflects that a party is not actually usable in canton until it's available through at least one domain.
- maxUnzippedDarSize
maximum allowed size of unzipped DAR files (in bytes) the participant can accept for uploading. Defaults to 1GB.
- batching
Various parameters that control batching related behavior
- transferTimeProofFreshnessProportion
Proportion of the target domain exclusivity timeout that is used as a freshness bound when requesting a time proof. Setting to 3 means we'll take a 1/3 of the target domain exclusivity timeout and potentially we reuse a recent timeout if one exists within that bound, otherwise a new time proof will be requested. Setting to zero will disable reusing recent time proofs and will instead always fetch a new proof.
- minimumProtocolVersion
The minimum protocol version that this participant will speak when connecting to a domain
- initialProtocolVersion
The initial protocol version used by the participant (default latest), e.g., used to create the initial topology transactions.
- devVersionSupport
If set to true, will allow the participant to connect to a domain with dev protocol version and will turn on unsafe Daml LF versions.
- dontWarnOnDeprecatedPV
If true, then this participant will not emit a warning when connecting to a sequencer using a deprecated protocol version (such as 2.0.0).
- warnIfOverloadedFor
If all incoming commands have been rejected due to PARTICIPANT_BACKPRESSURE during this interval, the participant will log a warning.
- ledgerApiServerParameters
ledger api server parameters The following specialized participant node performance tuning parameters may be grouped once a more final set of configs emerges.
- excludeInfrastructureTransactions
If set, infrastructure transactions (i.e. ping, bong and dar distribution) will be excluded from participant metering.
- allowForUnauthenticatedContractIds
Skip contract id authentication check, if the contract id scheme does not support authentication. You should enable this only if all participants on a domain mutually trust each other. Otherwise, an attacker may compromise integrity of the ledger.
- disableUpgradeValidation
Disable the package upgrade verification on DAR upload
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
- val adminWorkflow: AdminWorkflowConfig
- val allowForUnauthenticatedContractIds: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val batching: BatchingConfig
- Definition Classes
- ParticipantNodeParameterConfig → LocalNodeParametersConfig
- val betaVersionSupport: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val commandProgressTracker: CommandProgressTrackerConfig
- val devVersionSupport: Boolean
- val disableUpgradeValidation: Boolean
- val dontWarnOnDeprecatedPV: Boolean
- val engine: CantonEngineConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludeInfrastructureTransactions: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val initialProtocolVersion: ParticipantProtocolVersion
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ledgerApiServerParameters: LedgerApiServerParametersConfig
- val maxUnzippedDarSize: Int
- val minimumProtocolVersion: Option[ParticipantProtocolVersion]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val partyChangeNotification: PartyNotificationConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val stores: ParticipantStoreConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val transferTimeProofFreshnessProportion: NonNegativeInt
- 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])
- val warnIfOverloadedFor: Option[NonNegativeFiniteDuration]
- val watchdog: Option[WatchdogConfig]
- Definition Classes
- ParticipantNodeParameterConfig → LocalNodeParametersConfig