class TransactionTreeFactoryImplV3 extends TransactionTreeFactoryImpl
Generate transaction trees as used from protocol version com.digitalasset.canton.version.ProtocolVersion.v3 on
- Alphabetic
- By Inheritance
- TransactionTreeFactoryImplV3
- TransactionTreeFactoryImpl
- NamedLogging
- TransactionTreeFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- class State extends TransactionTreeFactoryImpl.State
- Attributes
- protected[submission]
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 createActionDescription(actionNode: LfActionNode, seed: Option[LfHash]): ActionDescription
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImpl
- 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
- TransactionTreeFactoryImpl → TransactionTreeFactory
- See also
TransactionTreeConversionError for error cases
- def createView(view: NewView, viewPosition: ViewPosition, state: State, contractOfId: SerializableContractOfId)(implicit traceContext: TraceContext): EitherT[Future, TransactionTreeConversionError, TransactionView]
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImplV3 → TransactionTreeFactoryImpl
- def createViewCommonData(rootView: NewView, salt: Salt): ViewCommonData
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImpl
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- 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
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImplV3 → TransactionTreeFactoryImpl → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- TransactionTreeFactoryImpl → TransactionTreeFactory
- def stateForSubmission(transactionSeed: SaltSeed, mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, keyResolver: LfKeyResolver, nextSaltIndex: Int): State
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImplV3 → TransactionTreeFactoryImpl
- def stateForValidation(mediator: MediatorRef, transactionUUID: UUID, ledgerTime: CantonTimestamp, salts: Iterable[Salt], keyResolver: LfKeyResolver): State
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImplV3 → TransactionTreeFactoryImpl
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- TransactionTreeFactoryImpl → TransactionTreeFactory
- Annotations
- @SuppressWarnings()
- Exceptions thrown
java.lang.IllegalArgumentException
ifsubaction
does not contain exactly one root node
- def trySuffixNode(state: State)(idAndNode: (LfNodeId, LfActionNode)): LfActionNode
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImpl
- def updateStateWithContractCreation(nodeId: LfNodeId, createNode: LfNodeCreate, viewParticipantDataSalt: Salt, viewPosition: ViewPosition, createIndex: Int, state: State)(implicit traceContext: TraceContext): LfNodeCreate
- Attributes
- protected
- Definition Classes
- TransactionTreeFactoryImpl
- 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])