class TransactionTreeFactoryImplV3 extends TransactionTreeFactoryImpl

Generate transaction trees as used from protocol version com.digitalasset.canton.version.ProtocolVersion.v3 on

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionTreeFactoryImplV3
  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 TransactionTreeFactoryImplV3(submitterParticipant: ParticipantId, domainId: DomainId, protocolVersion: ProtocolVersion, contractSerializer: (LfContractInst, AgreementText) => SerializableRawContractInstance, cryptoOps: HashOps with HmacOps, uniqueContractKeys: Boolean, 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], mediator: MediatorRef, transactionSeed: SaltSeed, transactionUuid: UUID, topologySnapshot: TopologySnapshot, contractOfId: SerializableContractOfId, keyResolver: LfKeyResolver, maxSequencingTime: CantonTimestamp, validatePackageVettings: Boolean)(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.

    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
    TransactionTreeFactoryImplV3TransactionTreeFactoryImpl
  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. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV3TransactionTreeFactoryImplNamedLogging
  19. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. 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.

    Definition Classes
    TransactionTreeFactoryImplTransactionTreeFactory
  25. def stateForSubmission(transactionSeed: SaltSeed, mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, keyResolver: LfKeyResolver, nextSaltIndex: Int): State
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV3TransactionTreeFactoryImpl
  26. def stateForValidation(mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, salts: Iterable[Salt], keyResolver: LfKeyResolver): State
    Attributes
    protected
    Definition Classes
    TransactionTreeFactoryImplV3TransactionTreeFactoryImpl
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def tryReconstruct(subaction: WellFormedTransaction[WithoutSuffixes], rootPosition: ViewPosition, confirmationPolicy: ConfirmationPolicy, mediator: MediatorRef, submittingParticipantO: Option[ParticipantId], 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.

    Definition Classes
    TransactionTreeFactoryImplTransactionTreeFactory
    Annotations
    @SuppressWarnings()
    Exceptions thrown

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

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