c
com.digitalasset.canton.participant.protocol.submission
ConfirmationRequestFactory
Companion object ConfirmationRequestFactory
class ConfirmationRequestFactory extends NamedLogging
Factory class for creating confirmation requests from Daml-LF transactions.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConfirmationRequestFactory
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ConfirmationRequestFactory(submitterNode: ParticipantId, domain: DomainId, loggingConfig: LoggingConfig, loggerFactory: NamedLoggerFactory)(transactionTreeFactory: TransactionTreeFactory, seedGenerator: SeedGenerator)(implicit executionContext: ExecutionContext)
- transactionTreeFactory
used to create the payload
- seedGenerator
used to derive the transaction seed
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 createConfirmationRequest(wfTransaction: WellFormedTransaction[WithoutSuffixes], confirmationPolicy: ConfirmationPolicy, submitterInfo: SubmitterInfo, ledgerTime: CantonTimestamp, workflowId: Option[WorkflowId], mediatorId: MediatorId, cryptoSnapshot: DomainSnapshotSyncCryptoApi, contractInstanceOfId: SerializableContractOfId, optKeySeed: Option[SecureRandomness], version: ProtocolVersion)(implicit traceContext: TraceContext): EitherT[Future, ConfirmationRequestCreationError, ConfirmationRequest]
Creates a confirmation request from a wellformed transaction.
Creates a confirmation request from a wellformed transaction.
- cryptoSnapshot
used to determine participants of parties and for signing and encryption
- returns
the confirmation request and the transaction root hash (aka transaction id) or an error. See the documentation of com.digitalasset.canton.participant.protocol.submission.ConfirmationRequestFactory.ConfirmationRequestCreationError for more information on error cases.
- 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() @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
- Definition Classes
- ConfirmationRequestFactory → NamedLogging
- implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val transactionTreeFactory: TransactionTreeFactory
- 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])