object ViewConfirmationParameters extends Serializable
- Alphabetic
- By Inheritance
- ViewConfirmationParameters
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class InvalidViewConfirmationParameters(message: String) extends RuntimeException with Product with Serializable
Indicates an attempt to create an invalid ViewConfirmationParameters.
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def confirmBySender(canConfirm: Boolean, topologySnapshot: TopologySnapshot, sender: ParticipantId, confirmers: Set[ConfirmingParty])(implicit ec: ExecutionContext): Future[Set[LfPartyId]]
- def confirmersIdsFromQuorums(quorums: Seq[Quorum]): Set[LfPartyId]
Extracts all confirming parties' distinct IDs from the list of quorums
- def create(informees: Map[LfPartyId, TrustLevel], quorums: Seq[Quorum]): Either[InvariantViolation, ViewConfirmationParameters]
Starting from protocol version com.digitalasset.canton.version.ProtocolVersion.v6 there can be multiple quorums/threshold.
Starting from protocol version com.digitalasset.canton.version.ProtocolVersion.v6 there can be multiple quorums/threshold. Therefore, we need to make sure those quorums confirmers are present in the list of informees.
- def create(informees: Set[Informee], threshold: NonNegativeInt): ViewConfirmationParameters
Until protocol version com.digitalasset.canton.version.ProtocolVersion.v5 there is ONLY ONE QUORUM containing all confirming parties from the list of informees and a threshold.
Until protocol version com.digitalasset.canton.version.ProtocolVersion.v5 there is ONLY ONE QUORUM containing all confirming parties from the list of informees and a threshold. We need to make sure the same informee does not have different trust levels.
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCreate(informees: Map[LfPartyId, TrustLevel], quorums: Seq[Quorum]): ViewConfirmationParameters
- 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])