package configuration
- Alphabetic
- By Inheritance
- configuration
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- type LedgerId = String
Identifier for the ledger, MUST match regexp [a-zA-Z0-9-].
- 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
- object Configuration extends Serializable
- object LedgerTimeModel extends Serializable