object AcsCommitmentProcessor extends HasLoggerName

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

Type Members

  1. final case class CommitmentSnapshot(recordTime: RecordTime, active: Map[SortedSet[LfPartyId], CommitmentType], delta: Map[SortedSet[LfPartyId], CommitmentType], deleted: Set[SortedSet[LfPartyId]]) extends PrettyPrinting with Product with Serializable

    A snapshot of ACS commitments per set of stakeholders

    A snapshot of ACS commitments per set of stakeholders

    recordTime

    The timestamp and tie-breaker of the snapshot

    active

    Maps stakeholders to the commitment to their shared ACS, if the shared ACS is not empty

    delta

    A sub-map of active with those stakeholders whose commitments have changed since the last snapshot

    deleted

    Stakeholder sets whose ACS has gone to empty since the last snapshot (no longer active)

  2. sealed trait CommitmentsPruningBound extends Product with Serializable
  3. type ProcessorType = (CantonTimestamp, Traced[Seq[OpenEnvelope[SignedProtocolMessage[AcsCommitment]]]]) => HandlerResult
  4. sealed trait PublishTickData extends AnyRef
  5. sealed trait ReceivedCmtState extends AnyRef
  6. sealed trait SentCmtState extends AnyRef

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. def addContractToCommitmentDigest(h: LtHash16, cid: LfContractId, rc: ReassignmentCounter): Unit
  5. def apply(participantId: ParticipantId, sequencerClient: SequencerClientSend, synchronizerCrypto: SyncCryptoClient[SyncCryptoApi], sortedReconciliationIntervalsProvider: SortedReconciliationIntervalsProvider, store: AcsCommitmentStore, pruningObserver: (TraceContext) => Unit, metrics: CommitmentMetrics, timeouts: ProcessingTimeout, futureSupervisor: FutureSupervisor, activeContractStore: ActiveContractStore, acsCounterParticipantConfigStore: AcsCounterParticipantConfigStore, contractStore: ContractStore, enableAdditionalConsistencyChecks: Boolean, loggerFactory: NamedLoggerFactory, testingConfig: TestingConfigInternal, clock: Clock, exitOnFatalFailures: Boolean, batchingConfig: BatchingConfig, maxCommitmentSendDelayMillis: Option[CommitmentSendDelay] = None, increasePerceivedComputationTimeForCommitments: Option[Duration] = None, doNotAwaitOnCheckingIncomingCommitments: Boolean, commitmentCheckpointInterval: PositiveDurationSeconds)(implicit ec: ExecutionContext, traceContext: TraceContext): FutureUnlessShutdown[AcsCommitmentProcessor]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkCommitmentMatchesContracts(commitment: HashedCommitmentType, timestamp: CantonTimestamp, contractsAndReassignmentCounter: Set[(ContractInstance, ReassignmentCounter)], counterParticipant: ParticipantId)(implicit namedLoggingContext: NamedLoggingContext): Boolean

    Checks that the given commitment matches the given contracts and reassignment counters.

    Checks that the given commitment matches the given contracts and reassignment counters.

    commitment

    The commitment to check

    timestamp

    The timestamp of the commitment

    contractsAndReassignmentCounter

    The set of contracts and their reassignment counters that should constitute the commitment

    counterParticipant

    The participant for which the commitment is computed

    returns

    true if the commitment matches the contracts and reassignment counters, false otherwise

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def computeRunningCommitmentsFromAcs(activeContractStore: ActiveContractStore, contractStore: ContractStore, acsTimestamp: TimeOfChange, batchingConfig: BatchingConfig)(implicit ec: ExecutionContext, namedLoggingContext: NamedLoggingContext): FutureUnlessShutdown[RunningCommitments]
  10. val emptyCommitment: CommitmentType
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. implicit def errorLoggingContextFromNamedLoggingContext(implicit loggingContext: NamedLoggingContext): ErrorLoggingContext

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Attributes
    protected
    Definition Classes
    HasLoggerName
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val hashedEmptyCommitment: HashedCommitmentType
  17. val healthName: String
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. implicit def loggerNameFromThisClass: LoggerNameFromClass
    Attributes
    protected
    Definition Classes
    HasLoggerName
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def removeContractFromCommitmentDigest(h: LtHash16, cid: LfContractId, rc: ReassignmentCounter): Unit
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. object CommitmentsPruningBound extends Serializable
  30. object Errors extends AcsCommitmentErrorGroup
  31. object PublishTickData
  32. object ReceivedCmtState
  33. object SentCmtState

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 HasLoggerName

Inherited from AnyRef

Inherited from Any

Ungrouped