object UsableDomain
- Alphabetic
- By Inheritance
- UsableDomain
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait DomainNotUsedReason extends AnyRef
- final case class MissingActiveParticipant(domainId: DomainId, parties: Set[LfPartyId]) extends DomainNotUsedReason with Product with Serializable
- final case class UnknownPackage(domainId: DomainId, unknownTo: List[PackageUnknownTo]) extends DomainNotUsedReason with Product with Serializable
- final case class UnsupportedMinimumProtocolVersion(domainId: DomainId, currentPV: ProtocolVersion, requiredPV: ProtocolVersion, lfVersion: TransactionVersion) extends DomainNotUsedReason 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(domainId: DomainId, protocolVersion: ProtocolVersion, snapshot: TopologySnapshot, requiredPackagesByParty: Map[LfPartyId, Set[LfPackageId]], transactionVersion: TransactionVersion)(implicit ec: ExecutionContext): EitherT[Future, DomainNotUsedReason, Unit]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def resolveParticipantsAndCheckPackagesVetted(domainId: DomainId, snapshot: TopologySnapshot, requiredPackagesByParty: Map[LfPartyId, Set[LfPackageId]])(implicit ec: ExecutionContext): 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 domaindomainId
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.
- 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])