com.digitalasset.canton.participant.protocol.submission
ConfirmationRequestFactory
Companion object ConfirmationRequestFactory
class ConfirmationRequestFactory extends NamedLogging
Factory class for creating confirmation requests from Daml-LF transactions.
- Alphabetic
- By Inheritance
- ConfirmationRequestFactory
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ConfirmationRequestFactory(submitterNode: ParticipantId, loggingConfig: LoggingConfig, loggerFactory: NamedLoggerFactory, parallel: Boolean = true)(transactionTreeFactory: TransactionTreeFactory, seedGenerator: SeedGenerator)(implicit executionContext: ExecutionContext)
- parallel
to flag if view processing is done in parallel or sequentially. Intended to be set only during tests to enforce determinism, otherwise it is always set to true.
- 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() @IntrinsicCandidate()
- def createConfirmationRequest(transactionTree: GenTransactionTree, cryptoSnapshot: DomainSnapshotSyncCryptoApi, sessionKeyStore: SessionKeyStore, keySeed: SecureRandomness, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext): EitherT[Future, ConfirmationRequestCreationError, ConfirmationRequest]
- def createConfirmationRequest(wfTransaction: WellFormedTransaction[WithoutSuffixes], confirmationPolicy: ConfirmationPolicy, submitterInfo: SubmitterInfo, workflowId: Option[WorkflowId], keyResolver: LfKeyResolver, mediator: MediatorRef, cryptoSnapshot: DomainSnapshotSyncCryptoApi, sessionKeyStore: SessionKeyStore, contractInstanceOfId: SerializableContractOfId, optKeySeed: Option[SecureRandomness], maxSequencingTime: CantonTimestamp, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, 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.
- def createDefaultSeed(pureCrypto: CryptoPureApi): SecureRandomness
- 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() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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])