com.digitalasset.canton.participant.protocol.submission
TransactionTreeFactory
Companion object TransactionTreeFactory
trait TransactionTreeFactory extends AnyRef
- Alphabetic
- By Inheritance
- TransactionTreeFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def createTransactionTree(transaction: WellFormedTransaction[WithoutSuffixes], submitterInfo: SubmitterInfo, confirmationPolicy: ConfirmationPolicy, workflowId: Option[WorkflowId], mediator: MediatorRef, transactionSeed: SaltSeed, transactionUuid: UUID, topologySnapshot: TopologySnapshot, contractOfId: SerializableContractOfId, keyResolver: LfKeyResolver, maxSequencingTime: CantonTimestamp, validatePackageVettings: Boolean)(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, TransactionTreeConversionError, GenTransactionTree]
Converts a
transaction: LfTransaction
to the corresponding transaction tree, if possible.Converts a
transaction: LfTransaction
to the corresponding transaction tree, if possible.- keyResolver
The key resolutions recorded while interpreting the transaction.
- See also
TransactionTreeConversionError for error cases
- abstract def saltsFromView(view: TransactionView): Iterable[Salt]
Extracts the salts for the view from a transaction view tree.
Extracts the salts for the view from a transaction view tree. The salts appear in the same order as they are needed by tryReconstruct.
- abstract def tryReconstruct(subaction: WellFormedTransaction[WithoutSuffixes], rootPosition: ViewPosition, confirmationPolicy: ConfirmationPolicy, mediator: MediatorRef, submittingParticipantO: Option[ParticipantId], salts: Iterable[Salt], transactionUuid: UUID, topologySnapshot: TopologySnapshot, contractOfId: SerializableContractOfId, rbContext: RollbackContext, keyResolver: LfKeyResolver)(implicit traceContext: TraceContext): EitherT[Future, TransactionTreeConversionError, (TransactionView, WellFormedTransaction[WithSuffixes])]
Reconstructs a transaction view from a reinterpreted action description, using the supplied salts.
Reconstructs a transaction view from a reinterpreted action description, using the supplied salts.
- keyResolver
The key resolutions recorded while re-interpreting the subaction.
- Exceptions thrown
java.lang.IllegalArgumentException
ifsubaction
does not contain exactly one root node
Concrete 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()
- 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
- 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])