abstract class TransactionTreeFactoryImpl extends TransactionTreeFactory with NamedLogging

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

Instance Constructors

  1. new TransactionTreeFactoryImpl(participantId: ParticipantId, domainId: DomainId, protocolVersion: ProtocolVersion, contractSerializer: (LfContractInst, AgreementText) => SerializableRawContractInstance, cryptoOps: HashOps with HmacOps, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

    contractSerializer

    used to serialize contract instances for contract ids Will only be used to serialize contract instances contained in well-formed transactions.

    cryptoOps

    is used to derive Merkle hashes and contract ids com.digitalasset.canton.crypto.HashOps as well as salts and contract ids com.digitalasset.canton.crypto.HmacOps

Type Members

  1. abstract type State <: TransactionTreeFactoryImpl.State
    Attributes
    protected

Abstract Value Members

  1. abstract def createView(view: NewView, viewPosition: ViewPosition, state: State, contractOfId: SerializableContractOfId)(implicit traceContext: TraceContext): EitherT[Future, TransactionTreeConversionError, TransactionView]
    Attributes
    protected
  2. abstract def stateForSubmission(transactionSeed: SaltSeed, mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, keyResolver: LfKeyResolver, nextSaltIndex: Int): State
    Attributes
    protected
  3. abstract def stateForValidation(mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, salts: Iterable[Salt], keyResolver: LfKeyResolver): State
    Attributes
    protected

Concrete 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
  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 createViewCommonData(rootView: NewView, salt: Salt): ViewCommonData
    Attributes
    protected
  9. 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
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  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
    TransactionTreeFactoryImplNamedLogging
  18. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    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: 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
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. 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

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

Inherited from NamedLogging

Inherited from TransactionTreeFactory

Inherited from AnyRef

Inherited from Any

Ungrouped