final class TransactionTreeFactoryImplV2 extends TransactionTreeFactoryImpl

Generate transaction trees as used up to protocol version com.digitalasset.canton.version.ProtocolVersion.v2_0_0

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionTreeFactoryImplV2
  2. TransactionTreeFactoryImpl
  3. NamedLogging
  4. TransactionTreeFactory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TransactionTreeFactoryImplV2(submitterParticipant: ParticipantId, domainId: DomainId, protocolVersion: ProtocolVersion, contractSerializer: (LfContractInst) => SerializableRawContractInstance, packageInfoService: PackageInfoService, cryptoOps: HashOps with HmacOps, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

Type Members

  1. class State extends TransactionTreeFactoryImpl.State
    Attributes
    protected[submission]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def createActionDescription(actionNode: LfActionNode, seed: Option[LfHash]): ActionDescription
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImpl
  7. def createTransactionTree(transaction: WellFormedTransaction[WithoutSuffixes], submitterInfo: SubmitterInfo, confirmationPolicy: ConfirmationPolicy, workflowId: Option[WorkflowId], mediatorId: MediatorId, transactionSeed: SaltSeed, transactionUuid: UUID, topologySnapshot: TopologySnapshot, contractOfId: SerializableContractOfId, keyResolver: LfKeyResolver)(implicit traceContext: TraceContext): EitherT[Future, 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. Ignored for protocol version com.digitalasset.canton.version.ProtocolVersion.v2_0_0.

    Definition Classes
    TransactionTreeFactoryImplTransactionTreeFactory
    See also

    TransactionTreeConversionError for error cases

  8. def createView(view: NewView, viewPosition: ViewPosition, state: State, contractOfId: SerializableContractOfId)(implicit traceContext: TraceContext): EitherT[Future, TransactionTreeConversionError, TransactionView]
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV2TransactionTreeFactoryImpl
  9. def createViewCommonData(rootView: NewView, salt: Salt): ViewCommonData
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImpl
  10. def createViewParticipantData(coreCreatedNodes: List[(LfNodeCreate, RollbackScope)], coreOtherNodes: List[(LfActionNode, RollbackScope)], childViews: Seq[TransactionView], createdContractInfo: Map[LfContractId, SerializableContract], resolvedKeys: Map[LfGlobalKey, SerializableKeyResolution], actionDescription: ActionDescription, salt: Salt, contractOfId: SerializableContractOfId, rbContextCore: RollbackContext): EitherT[Future, TransactionTreeConversionError, ViewParticipantData]
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImpl
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV2TransactionTreeFactoryImplNamedLogging
  18. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def saltsFromView(view: TransactionViewTree): 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.

    Definition Classes
    TransactionTreeFactoryImplTransactionTreeFactory
  24. def stateForSubmission(transactionSeed: SaltSeed, mediatorId: MediatorId, transactionUUID: UUID, ledgerTime: CantonTimestamp, nextSaltIndex: Int, keyResolver: LfKeyResolver): State
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV2TransactionTreeFactoryImpl
  25. def stateForValidation(mediatorId: MediatorId, transactionUUID: UUID, ledgerTime: CantonTimestamp, salts: Iterable[Salt], keyResolver: LfKeyResolver): State
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV2TransactionTreeFactoryImpl
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def tryReconstruct(subaction: WellFormedTransaction[WithoutSuffixes], rootPosition: ViewPosition, confirmationPolicy: ConfirmationPolicy, mediatorId: MediatorId, viewSalts: 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. Ignored for protocol version com.digitalasset.canton.version.ProtocolVersion.v2_0_0.

    Definition Classes
    TransactionTreeFactoryImplTransactionTreeFactory
    Annotations
    @SuppressWarnings()
    Exceptions thrown

    java.lang.IllegalArgumentException if subaction does not contain exactly one root node

  29. def trySuffixNode(state: State)(idAndNode: (LfNodeId, LfActionNode)): LfActionNode
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImpl
  30. def updateStateWithContractCreation(nodeId: LfNodeId, createNode: LfNodeCreate, viewParticipantDataSalt: Salt, viewPosition: ViewPosition, createIndex: Int, state: State)(implicit traceContext: TraceContext): LfNodeCreate
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImpl
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NamedLogging

Inherited from TransactionTreeFactory

Inherited from AnyRef

Inherited from Any

Ungrouped