object UsableSynchronizers
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UsableSynchronizers
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class MissingActiveParticipant(synchronizerId: SynchronizerId, parties: Set[LfPartyId]) extends SynchronizerNotUsedReason with Product with Serializable
- sealed trait SynchronizerNotUsedReason extends AnyRef
- final case class UnknownPackage(synchronizerId: SynchronizerId, unknownTo: List[PackageUnknownTo]) extends SynchronizerNotUsedReason with Product with Serializable
- final case class UnsupportedMinimumProtocolVersion(synchronizerId: SynchronizerId, currentPV: ProtocolVersion, requiredPV: ProtocolVersion, lfVersion: LfLanguageVersion) extends SynchronizerNotUsedReason with Product with Serializable
- final case class UnsupportedMinimumProtocolVersionForInteractiveSubmission(synchronizerId: SynchronizerId, currentPV: ProtocolVersion, requiredPV: Option[ProtocolVersion], isVersion: HashingSchemeVersion) extends SynchronizerNotUsedReason with Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def check(synchronizerId: SynchronizerId, protocolVersion: ProtocolVersion, snapshot: TopologySnapshot, transaction: LfVersionedTransaction, ledgerTime: CantonTimestamp, interactiveSubmissionVersionO: Option[HashingSchemeVersion])(implicit ec: ExecutionContext, tc: TraceContext): EitherT[FutureUnlessShutdown, SynchronizerNotUsedReason, Unit]
- def check(synchronizers: List[(SynchronizerId, ProtocolVersion, TopologySnapshot)], transaction: LfVersionedTransaction, ledgerTime: CantonTimestamp)(implicit ec: ExecutionContext, traceContext: TraceContext): FutureUnlessShutdown[(List[SynchronizerNotUsedReason], List[SynchronizerId])]
Split the synchronizers in two categories:
Split the synchronizers in two categories:
- Synchronizers that cannot be used
- synchronizer that can be used
- def checkPackagesVetted(synchronizerId: SynchronizerId, snapshot: TopologySnapshot, requiredPackagesByParty: Map[LfPartyId, Set[LfPackageId]], ledgerTime: CantonTimestamp)(implicit ec: ExecutionContext, tc: TraceContext): EitherT[FutureUnlessShutdown, UnknownPackage, Unit]
The following is checked:
The following is checked:
- For every (
party
,pkgs
) inrequiredPackagesByParty
- For every participant
P
hostingparty
- All packages
pkgs
are vetted byP
on synchronizersynchronizerId
Note: in order to avoid false errors, it is important that the set of packages needed for the parties hosted locally covers the set of packages needed for all the parties.
This is guaranteed in the following situations:
- Phase 1: Because the submitting participant hosts one of the authorizers, which sees the whole transaction. Hence, they need all the packages necessary for the transaction.
- Phase 3: The participant receives a projection for the parties it hosts. Hence, the packages needed for these parties will be sufficient to re-interpret the whole projection.
- For every (
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])