object TransactionViewDecomposition extends Serializable
- Alphabetic
- By Inheritance
- TransactionViewDecomposition
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class NewView(rootNode: LfActionNode, informees: Set[Informee], threshold: NonNegativeInt, rootSeed: Option[LfHash], nodeId: LfNodeId, tailNodes: Seq[TransactionViewDecomposition], rbContext: RollbackContext) extends TransactionViewDecomposition with Product with Serializable
Encapsulates a new view.
Encapsulates a new view.
- rootNode
the node constituting the view
- informees
the informees of rootNode
- threshold
the threshold of rootNode
- rootSeed
the seed of the rootNode
- tailNodes
all core nodes except
rootNode
and all child views, sorted in pre-order traversal order
- Exceptions thrown
java.lang.IllegalArgumentException
if a subview has the sameinformees
andthreshold
- case class SameView(lfNode: LfActionNode, nodeId: LfNodeId, rbContext: RollbackContext) extends TransactionViewDecomposition with Product with Serializable
Encapsulates a node that belongs to core of some com.digitalasset.canton.data.TransactionViewDecomposition.NewView.
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() @HotSpotIntrinsicCandidate()
- def createWithConfirmationPolicy(confirmationPolicy: ConfirmationPolicy, topologySnapshot: TopologySnapshot, rootNode: LfActionNode, rootSeed: Option[LfHash], rootNodeId: LfNodeId, tailNodes: Seq[TransactionViewDecomposition])(implicit ec: ExecutionContext): Future[NewView]
Convenience method to create a TransactionViewDecomposition with a com.digitalasset.canton.protocol.ConfirmationPolicy.
Convenience method to create a TransactionViewDecomposition with a com.digitalasset.canton.protocol.ConfirmationPolicy.
- Exceptions thrown
java.lang.IllegalArgumentException
ifrootNode
has a different informees or thresholds as one of the SameViews intailNodes
, or ifrootNode
has the same informees and threshold as one of the NewViews intailNodes
.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromTransaction(confirmationPolicy: ConfirmationPolicy, topologySnapshot: TopologySnapshot, transaction: WellFormedTransaction[WithoutSuffixes], viewRbContext: RollbackContext)(implicit ec: ExecutionContext): Future[Seq[NewView]]
Converts
transaction: Transaction
into the correspondingViewDecomposition
s. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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])