Packages

package configuration

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. configuration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package protobuf

Type Members

  1. final case class Configuration(generation: Long, timeModel: LedgerTimeModel, maxDeduplicationDuration: Duration) extends Product with Serializable

    Ledger configuration describing the ledger's time model.

    Ledger configuration describing the ledger's time model. Emitted in com.digitalasset.canton.ledger.participant.state.v2.Update.ConfigurationChanged.

    generation

    The configuration generation. Monotonically increasing.

    timeModel

    The time model of the ledger. Specifying the time-to-live bounds for Ledger API commands.

    maxDeduplicationDuration

    The maximum time window during which commands can be deduplicated.

  2. type LedgerId = String

    Identifier for the ledger, MUST match regexp [a-zA-Z0-9-].

  3. final case class LedgerTimeModel(avgTransactionLatency: Duration, minSkew: Duration, maxSkew: Duration) extends Product with Serializable

    The ledger time model and associated validations.

    The ledger time model and associated validations. Some values are given by constructor args; others are derived.

    avgTransactionLatency

    The expected average latency of a transaction, i.e., the average time from submitting the transaction to a write service and the transaction being assigned a record time.

    minSkew

    The minimum skew between ledger time and record time: lt_TX >= rt_TX - minSkew

    maxSkew

    The maximum skew between ledger time and record time: lt_TX <= rt_TX + maxSkew

    Exceptions thrown

    java.lang.IllegalArgumentException if the parameters aren't valid

Value Members

  1. object Configuration extends Serializable
  2. object LedgerTimeModel extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped