final case class ParticipantNodeConfig(init: ParticipantInitConfig = ParticipantInitConfig(), crypto: CryptoConfig = CryptoConfig(), ledgerApi: LedgerApiServerConfig = LedgerApiServerConfig(), httpLedgerApi: Option[JsonApiConfig] = None, adminApi: AdminServerConfig = AdminServerConfig(), storage: StorageConfig = StorageConfig.Memory(), testingTime: Option[TestingTimeServiceConfig] = None, parameters: ParticipantNodeParameterConfig = ParticipantNodeParameterConfig(), sequencerClient: SequencerClientConfig = SequencerClientConfig(), replication: Option[ReplicationConfig] = None, features: EnterpriseParticipantFeaturesConfig = EnterpriseParticipantFeaturesConfig.default, monitoring: NodeMonitoringConfig = NodeMonitoringConfig(), topology: TopologyConfig = TopologyConfig(), alphaDynamic: DeclarativeParticipantConfig = DeclarativeParticipantConfig()) extends LocalNodeConfig with BaseParticipantConfig with ConfigDefaults[DefaultPorts, ParticipantNodeConfig] with UniformCantonConfigValidation with Product with Serializable

Configuration parameters for a single participant

Please note that any client connecting to the ledger-api of the respective participant must set his GRPC max inbound message size to 2x the value defined here, as we assume that a Canton transaction of N bytes will not be bigger than 2x N on the ledger-api. Though this is just an assumption. Please also note that the participant will refuse to connect to a synchronizer where its max inbound message size is not sufficient to guarantee the processing of all transactions.

init

determines how this node is initialized

crypto

determines the algorithms used for signing, hashing, and encryption

ledgerApi

parameters of the interfaces that applications use to change and query the ledger

httpLedgerApi

parameters for configuring the interaction with ledger via the HTTP JSON API. Configuring this key will enable the HTTP JSON API server.

adminApi

parameters of the interface used to administrate the participant

storage

determines how the participant stores the ledger

testingTime

determines whether and how to support the ledger API time service

parameters

general participant node parameters

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParticipantNodeConfig
  2. UniformCantonConfigValidation
  3. CustomCantonConfigValidation
  4. CantonConfigValidation
  5. ConfigDefaults
  6. BaseParticipantConfig
  7. Serializable
  8. Product
  9. Equals
  10. LocalNodeConfig
  11. NodeConfig
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParticipantNodeConfig(init: ParticipantInitConfig = ParticipantInitConfig(), crypto: CryptoConfig = CryptoConfig(), ledgerApi: LedgerApiServerConfig = LedgerApiServerConfig(), httpLedgerApi: Option[JsonApiConfig] = None, adminApi: AdminServerConfig = AdminServerConfig(), storage: StorageConfig = StorageConfig.Memory(), testingTime: Option[TestingTimeServiceConfig] = None, parameters: ParticipantNodeParameterConfig = ParticipantNodeParameterConfig(), sequencerClient: SequencerClientConfig = SequencerClientConfig(), replication: Option[ReplicationConfig] = None, features: EnterpriseParticipantFeaturesConfig = EnterpriseParticipantFeaturesConfig.default, monitoring: NodeMonitoringConfig = NodeMonitoringConfig(), topology: TopologyConfig = TopologyConfig(), alphaDynamic: DeclarativeParticipantConfig = DeclarativeParticipantConfig())

    init

    determines how this node is initialized

    crypto

    determines the algorithms used for signing, hashing, and encryption

    ledgerApi

    parameters of the interfaces that applications use to change and query the ledger

    httpLedgerApi

    parameters for configuring the interaction with ledger via the HTTP JSON API. Configuring this key will enable the HTTP JSON API server.

    adminApi

    parameters of the interface used to administrate the participant

    storage

    determines how the participant stores the ledger

    testingTime

    determines whether and how to support the ledger API time service

    parameters

    general participant node parameters

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val adminApi: AdminServerConfig
  5. val alphaDynamic: DeclarativeParticipantConfig
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clientAdminApi: ClientConfig
    Definition Classes
    ParticipantNodeConfigNodeConfig
  8. def clientLedgerApi: ClientConfig
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. val crypto: CryptoConfig
  11. final def doValidate(edition: CantonEdition): Seq[CantonConfigValidationError]

    Returns all validation errors that are specific to this Canton configuration class.

    Returns all validation errors that are specific to this Canton configuration class. Successful validation should return an empty sequence.

    Validation errors of subconfigurations should not be reported by this method, but via the type class derivation.

    Attributes
    protected
    Definition Classes
    UniformCantonConfigValidationCustomCantonConfigValidation
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val features: EnterpriseParticipantFeaturesConfig
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. val httpLedgerApi: Option[JsonApiConfig]
  16. val init: ParticipantInitConfig
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val ledgerApi: LedgerApiServerConfig
  19. val monitoring: NodeMonitoringConfig
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def nodeTypeName: String

    Human readable name for the type of node used for displaying config error messages

    Human readable name for the type of node used for displaying config error messages

    Definition Classes
    ParticipantNodeConfigLocalNodeConfig
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. val parameters: ParticipantNodeParameterConfig
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val replication: Option[ReplicationConfig]
  27. val sequencerClient: SequencerClientConfig
  28. val storage: StorageConfig
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val testingTime: Option[TestingTimeServiceConfig]
  31. def toRemoteConfig: RemoteParticipantConfig
  32. val topology: TopologyConfig
  33. final def validate[T >: ParticipantNodeConfig.this.type](edition: CantonEdition)(implicit validator: CantonConfigValidator[T]): Either[NonEmpty[Seq[CantonConfigValidationError]], Unit]
    Definition Classes
    CantonConfigValidation
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. def withDefaults(ports: DefaultPorts, edition: CantonEdition): ParticipantNodeConfig

    Returns this configuration with defaults set for the given edition if necessary.

    Returns this configuration with defaults set for the given edition if necessary.

    Definition Classes
    ParticipantNodeConfigConfigDefaults

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from CantonConfigValidation

Inherited from BaseParticipantConfig

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LocalNodeConfig

Inherited from NodeConfig

Inherited from AnyRef

Inherited from Any

Ungrouped